<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Display a special message to your visitors with an easy-to-code jQuery modal window</title>
	<atom:link href="/blog/2010/07/27/display-a-special-message-to-your-visitors-with-an-easy-to-code-jquery-modal-window/feed/" rel="self" type="application/rss+xml" />
	<link>https://shoogledesigns.com/blog/2010/07/27/display-a-special-message-to-your-visitors-with-an-easy-to-code-jquery-modal-window/</link>
	<description>Grow yourself to a bigger fish... or not</description>
	<lastBuildDate>Wed, 08 Jun 2011 06:01:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: shoogledesigns</title>
		<link>https://shoogledesigns.com/blog/2010/07/27/display-a-special-message-to-your-visitors-with-an-easy-to-code-jquery-modal-window/comment-page-1/#comment-1292</link>
		<dc:creator>shoogledesigns</dc:creator>
		<pubDate>Thu, 03 Feb 2011 13:32:28 +0000</pubDate>
		<guid isPermaLink="false">https://shoogledesigns.com/blog/?p=326#comment-1292</guid>
		<description>Hi Ben,

thanks for your comments.
Apart from the round corners (didnt bother to look at that side for IE), everything works.
Ive tested it myself in IE8 and it&#039;s all looking ok to me.

rgds,
shoogle designs</description>
		<content:encoded><![CDATA[<p>Hi Ben,</p>
<p>thanks for your comments.<br />
Apart from the round corners (didnt bother to look at that side for IE), everything works.<br />
Ive tested it myself in IE8 and it&#8217;s all looking ok to me.</p>
<p>rgds,<br />
shoogle designs</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>https://shoogledesigns.com/blog/2010/07/27/display-a-special-message-to-your-visitors-with-an-easy-to-code-jquery-modal-window/comment-page-1/#comment-1291</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 02 Feb 2011 17:53:00 +0000</pubDate>
		<guid isPermaLink="false">https://shoogledesigns.com/blog/?p=326#comment-1291</guid>
		<description>well the codes are being chunked 

	  
	  

	  


      
	  
      
      


		
		
		</description>
		<content:encoded><![CDATA[<p>well the codes are being chunked</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>https://shoogledesigns.com/blog/2010/07/27/display-a-special-message-to-your-visitors-with-an-easy-to-code-jquery-modal-window/comment-page-1/#comment-1290</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 02 Feb 2011 17:51:30 +0000</pubDate>
		<guid isPermaLink="false">https://shoogledesigns.com/blog/?p=326#comment-1290</guid>
		<description>
	  

	  


      
	  
      
      


		
		
		


these also are being loaded</description>
		<content:encoded><![CDATA[<p>these also are being loaded</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>https://shoogledesigns.com/blog/2010/07/27/display-a-special-message-to-your-visitors-with-an-easy-to-code-jquery-modal-window/comment-page-1/#comment-1289</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 02 Feb 2011 17:50:20 +0000</pubDate>
		<guid isPermaLink="false">https://shoogledesigns.com/blog/?p=326#comment-1289</guid>
		<description>The black overlay effect has disappeared? Am loading these js on my page:



	  


      
	  
      
      


		
		
		


$(document).ready(function(){
 
$(&quot;img.a, img.c, img.e, img.g&quot;).hover(
function() {
$(this).stop().animate({&quot;opacity&quot;: &quot;0&quot;}, &quot;slow&quot;);
},
function() {
$(this).stop().animate({&quot;opacity&quot;: &quot;1&quot;}, &quot;slow&quot;);
});
 
});




      
      


  curvyCorners.addEvent(window, &#039;load&#039;, initCorners);

  function initCorners() {
    var settings = {
      tl: { radius: 10 },
      tr: { radius: 10 },
      bl: { radius: 10 },
      br: { radius: 10 },
      antiAlias: true
    }

    /*
    Usage:

    curvyCorners(settingsObj, selectorStr);
    curvyCorners(settingsObj, Obj1[, Obj2[, Obj3[, . . . [, ObjN]]]]);

    selectorStr ::= complexSelector [, complexSelector]...
    complexSelector ::= singleSelector[ singleSelector]
    singleSelector ::= idType &#124; classType
    idType ::= #id
    classType ::= [tagName].className
    tagName ::= div&#124;p&#124;form&#124;blockquote&#124;frameset // others may work
    className : .name
    selector examples:
      #mydiv p.rounded
      #mypara
      .rounded
    */
    curvyCorners(settings, &quot;#accordion-1&quot;);
  }




		
			$(function() {
				/*
				fancybox init on each cloud-zoom element
				 */
				$(&quot;#content .cloud-zoom&quot;).fancybox({
					&#039;transitionIn&#039;	:	&#039;elastic&#039;,
					&#039;transitionOut&#039;	:	&#039;none&#039;,
					&#039;speedIn&#039;		:	400,
					&#039;speedOut&#039;		:	200,
					&#039;overlayShow&#039;	:	true,
					&#039;overlayColor&#039;	:	&#039;#000&#039;,
					&#039;cyclic&#039;		:	true,
					&#039;easingIn&#039;		:	&#039;easeInOutExpo&#039;
				});

				/*
				because the cloud zoom plugin draws a mousetrap
				div on top of the image, the fancybox click needs
				to be changed. What we do here is to trigger the click
				the fancybox expects, when we click the mousetrap div.
				We know the mousetrap div is inserted after
				the &lt;a&gt; we want to click:
				 */
				$(&quot;#content .mousetrap&quot;).live(&#039;click&#039;,function(){
					$(this).prev().trigger(&#039;click&#039;);
				});

				/*
				the content element;
				each list item / group with several images
				 */
				var $content	= $(&#039;#content&#039;),
				$thumb_list = $content.find(&#039;#thumb &gt; ul&#039;);
				/*
				we need to set the width of each ul (sum of the children width);
				we are also defining the click events on the right and left arrows
				of each item.
				 */
				$thumb_list.each(function(){
					var $this_list	= $(this),
					total_w		= 0,
					loaded		= 0,
					//preload all the images first
					$images		= $this_list.find(&#039;img&#039;),
					total_images= $images.length;
					$images.each(function(){
						var $img	= $(this);
						$(&#039;&#039;).load(function(){
							++loaded;
							if (loaded == total_images){
								$this_list.data(&#039;current&#039;,0).children().each(function(){
									total_w	+= $(this).width();
								});
								$this_list.css(&#039;width&#039;, total_w + &#039;px&#039;);

								//next / prev events

								$this_list.parent()
								.siblings(&#039;.next&#039;)
								.bind(&#039;click&#039;,function(e){
									var current = $this_list.data(&#039;current&#039;);
									if(current == $this_list.children().length -1) return false;
									var	next	= ++current,
									ml		= -next * $this_list.children(&#039;:first&#039;).width();

									$this_list.data(&#039;current&#039;,next)
									.stop()
									.animate({
										&#039;marginLeft&#039;	: ml + &#039;px&#039;
									},400);
									e.preventDefault();
								})
								.end()
								.siblings(&#039;.prev&#039;)
								.bind(&#039;click&#039;,function(e){
									var current = $this_list.data(&#039;current&#039;);
									if(current == 0) return false;
									var	prev	= --current,
									ml		= -prev * $this_list.children(&#039;:first&#039;).width();

									$this_list.data(&#039;current&#039;,prev)
									.stop()
									.animate({
										&#039;marginLeft&#039;	: ml + &#039;px&#039;
									},400);
									e.preventDefault();
								});
							}
						}).attr(&#039;src&#039;,$img.attr(&#039;src&#039;));
					});
				});
			});
        



The script works well (except for background overlay) in Firefox and IE7 but not in IE8?

Any idea to correct this?</description>
		<content:encoded><![CDATA[<p>The black overlay effect has disappeared? Am loading these js on my page:</p>
<p>$(document).ready(function(){</p>
<p>$(&#8220;img.a, img.c, img.e, img.g&#8221;).hover(<br />
function() {<br />
$(this).stop().animate({&#8220;opacity&#8221;: &#8220;0&#8243;}, &#8220;slow&#8221;);<br />
},<br />
function() {<br />
$(this).stop().animate({&#8220;opacity&#8221;: &#8220;1&#8243;}, &#8220;slow&#8221;);<br />
});</p>
<p>});</p>
<p>  curvyCorners.addEvent(window, &#8216;load&#8217;, initCorners);</p>
<p>  function initCorners() {<br />
    var settings = {<br />
      tl: { radius: 10 },<br />
      tr: { radius: 10 },<br />
      bl: { radius: 10 },<br />
      br: { radius: 10 },<br />
      antiAlias: true<br />
    }</p>
<p>    /*<br />
    Usage:</p>
<p>    curvyCorners(settingsObj, selectorStr);<br />
    curvyCorners(settingsObj, Obj1[, Obj2[, Obj3[, . . . [, ObjN]]]]);</p>
<p>    selectorStr ::= complexSelector [, complexSelector]&#8230;<br />
    complexSelector ::= singleSelector[ singleSelector]<br />
    singleSelector ::= idType | classType<br />
    idType ::= #id<br />
    classType ::= [tagName].className<br />
    tagName ::= div|p|form|blockquote|frameset // others may work<br />
    className : .name<br />
    selector examples:<br />
      #mydiv p.rounded<br />
      #mypara<br />
      .rounded<br />
    */<br />
    curvyCorners(settings, &#8220;#accordion-1&#8243;);<br />
  }</p>
<p>			$(function() {<br />
				/*<br />
				fancybox init on each cloud-zoom element<br />
				 */<br />
				$(&#8220;#content .cloud-zoom&#8221;).fancybox({<br />
					&#8216;transitionIn&#8217;	:	&#8216;elastic&#8217;,<br />
					&#8216;transitionOut&#8217;	:	&#8216;none&#8217;,<br />
					&#8216;speedIn&#8217;		:	400,<br />
					&#8216;speedOut&#8217;		:	200,<br />
					&#8216;overlayShow&#8217;	:	true,<br />
					&#8216;overlayColor&#8217;	:	&#8216;#000&#8242;,<br />
					&#8216;cyclic&#8217;		:	true,<br />
					&#8216;easingIn&#8217;		:	&#8216;easeInOutExpo&#8217;<br />
				});</p>
<p>				/*<br />
				because the cloud zoom plugin draws a mousetrap<br />
				div on top of the image, the fancybox click needs<br />
				to be changed. What we do here is to trigger the click<br />
				the fancybox expects, when we click the mousetrap div.<br />
				We know the mousetrap div is inserted after<br />
				the <a> we want to click:<br />
				 */<br />
				$(&#8220;#content .mousetrap&#8221;).live(&#8216;click&#8217;,function(){<br />
					$(this).prev().trigger(&#8216;click&#8217;);<br />
				});</p>
<p>				/*<br />
				the content element;<br />
				each list item / group with several images<br />
				 */<br />
				var $content	= $(&#8216;#content&#8217;),<br />
				$thumb_list = $content.find(&#8216;#thumb &gt; ul&#8217;);<br />
				/*<br />
				we need to set the width of each ul (sum of the children width);<br />
				we are also defining the click events on the right and left arrows<br />
				of each item.<br />
				 */<br />
				$thumb_list.each(function(){<br />
					var $this_list	= $(this),<br />
					total_w		= 0,<br />
					loaded		= 0,<br />
					//preload all the images first<br />
					$images		= $this_list.find(&#8216;img&#8217;),<br />
					total_images= $images.length;<br />
					$images.each(function(){<br />
						var $img	= $(this);<br />
						$(&#8221;).load(function(){<br />
							++loaded;<br />
							if (loaded == total_images){<br />
								$this_list.data(&#8216;current&#8217;,0).children().each(function(){<br />
									total_w	+= $(this).width();<br />
								});<br />
								$this_list.css(&#8216;width&#8217;, total_w + &#8216;px&#8217;);</p>
<p>								//next / prev events</p>
<p>								$this_list.parent()<br />
								.siblings(&#8216;.next&#8217;)<br />
								.bind(&#8216;click&#8217;,function(e){<br />
									var current = $this_list.data(&#8216;current&#8217;);<br />
									if(current == $this_list.children().length -1) return false;<br />
									var	next	= ++current,<br />
									ml		= -next * $this_list.children(&#8216;:first&#8217;).width();</p>
<p>									$this_list.data(&#8216;current&#8217;,next)<br />
									.stop()<br />
									.animate({<br />
										&#8216;marginLeft&#8217;	: ml + &#8216;px&#8217;<br />
									},400);<br />
									e.preventDefault();<br />
								})<br />
								.end()<br />
								.siblings(&#8216;.prev&#8217;)<br />
								.bind(&#8216;click&#8217;,function(e){<br />
									var current = $this_list.data(&#8216;current&#8217;);<br />
									if(current == 0) return false;<br />
									var	prev	= &#8211;current,<br />
									ml		= -prev * $this_list.children(&#8216;:first&#8217;).width();</p>
<p>									$this_list.data(&#8216;current&#8217;,prev)<br />
									.stop()<br />
									.animate({<br />
										&#8216;marginLeft&#8217;	: ml + &#8216;px&#8217;<br />
									},400);<br />
									e.preventDefault();<br />
								});<br />
							}<br />
						}).attr(&#8216;src&#8217;,$img.attr(&#8216;src&#8217;));<br />
					});<br />
				});<br />
			});</p>
<p>The script works well (except for background overlay) in Firefox and IE7 but not in IE8?</p>
<p>Any idea to correct this?</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>https://shoogledesigns.com/blog/2010/07/27/display-a-special-message-to-your-visitors-with-an-easy-to-code-jquery-modal-window/comment-page-1/#comment-1288</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 02 Feb 2011 17:15:17 +0000</pubDate>
		<guid isPermaLink="false">https://shoogledesigns.com/blog/?p=326#comment-1288</guid>
		<description>well huh, I download your script from another website and the close button is generated by js. I guess they modified your code!!!</description>
		<content:encoded><![CDATA[<p>well huh, I download your script from another website and the close button is generated by js. I guess they modified your code!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>https://shoogledesigns.com/blog/2010/07/27/display-a-special-message-to-your-visitors-with-an-easy-to-code-jquery-modal-window/comment-page-1/#comment-1287</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 02 Feb 2011 17:12:36 +0000</pubDate>
		<guid isPermaLink="false">https://shoogledesigns.com/blog/?p=326#comment-1287</guid>
		<description>Hey man

This is certainly very fantastic. But, always the &quot;but&quot; :), the window is a bit jerky in IE7 and 8! Is there a way to fix the rounded corners for IE7 and 8?

I was very excited bu this script but I was horrified when I looked at in the horrible IE, huh.

Can you fix it pls? The close button image also seems to be missing in IE!

Ben</description>
		<content:encoded><![CDATA[<p>Hey man</p>
<p>This is certainly very fantastic. But, always the &#8220;but&#8221; <img src='/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , the window is a bit jerky in IE7 and 8! Is there a way to fix the rounded corners for IE7 and 8?</p>
<p>I was very excited bu this script but I was horrified when I looked at in the horrible IE, huh.</p>
<p>Can you fix it pls? The close button image also seems to be missing in IE!</p>
<p>Ben</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: shoogledesigns</title>
		<link>https://shoogledesigns.com/blog/2010/07/27/display-a-special-message-to-your-visitors-with-an-easy-to-code-jquery-modal-window/comment-page-1/#comment-1143</link>
		<dc:creator>shoogledesigns</dc:creator>
		<pubDate>Sat, 25 Dec 2010 21:08:06 +0000</pubDate>
		<guid isPermaLink="false">https://shoogledesigns.com/blog/?p=326#comment-1143</guid>
		<description>Hi Tim,

first of all, thanks for the compliment.

here&#039;s some plugin that may be simpler for you to use/configure.
http://www.ericmmartin.com/projects/simplemodal-demos/

first example is the one you&#039;re looking for...</description>
		<content:encoded><![CDATA[<p>Hi Tim,</p>
<p>first of all, thanks for the compliment.</p>
<p>here&#8217;s some plugin that may be simpler for you to use/configure.<br />
<a href="http://www.ericmmartin.com/projects/simplemodal-demos/" rel="nofollow">http://www.ericmmartin.com/projects/simplemodal-demos/</a></p>
<p>first example is the one you&#8217;re looking for&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>https://shoogledesigns.com/blog/2010/07/27/display-a-special-message-to-your-visitors-with-an-easy-to-code-jquery-modal-window/comment-page-1/#comment-1133</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 24 Dec 2010 22:42:07 +0000</pubDate>
		<guid isPermaLink="false">https://shoogledesigns.com/blog/?p=326#comment-1133</guid>
		<description>Great tutorial!

How can I alter the code to make this pop up be activated in a link and onclick action in the page?

Thanks.</description>
		<content:encoded><![CDATA[<p>Great tutorial!</p>
<p>How can I alter the code to make this pop up be activated in a link and onclick action in the page?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Pehl</title>
		<link>https://shoogledesigns.com/blog/2010/07/27/display-a-special-message-to-your-visitors-with-an-easy-to-code-jquery-modal-window/comment-page-1/#comment-55</link>
		<dc:creator>Michael Pehl</dc:creator>
		<pubDate>Wed, 28 Jul 2010 08:10:15 +0000</pubDate>
		<guid isPermaLink="false">https://shoogledesigns.com/blog/?p=326#comment-55</guid>
		<description>Thanks for this tut, mate :-) Did a RT :-)</description>
		<content:encoded><![CDATA[<p>Thanks for this tut, mate <img src='/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Did a RT <img src='/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
