<?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: Creating a SitePoint-like sliding popup in jQuery</title>
	<atom:link href="http://karlagius.com/2009/02/08/creating-a-sitepoint-like-sliding-popup-in-jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://karlagius.com/2009/02/08/creating-a-sitepoint-like-sliding-popup-in-jquery/</link>
	<description>It&#039;s not rocket science</description>
	<lastBuildDate>Sun, 05 Feb 2012 20:23:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Karl</title>
		<link>http://karlagius.com/2009/02/08/creating-a-sitepoint-like-sliding-popup-in-jquery/comment-page-1/#comment-1475</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Thu, 19 Jan 2012 13:14:40 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.com/?p=159#comment-1475</guid>
		<description>Yes, it&#039;s the second method in sliding_popup.js:

function ShowPopup(description, lifetime, popup, duration) 
{ 
	popup.show().animate( { bottom: 0 }, duration);
	ReceivedPopup(description, lifetime);
}

replace the line &quot;popup.show().animate( { bottom: 0 }, duration);&quot; with a call to the lightbox and you should be set.</description>
		<content:encoded><![CDATA[<p>Yes, it&#8217;s the second method in sliding_popup.js:</p>
<p>function ShowPopup(description, lifetime, popup, duration)<br />
{<br />
	popup.show().animate( { bottom: 0 }, duration);<br />
	ReceivedPopup(description, lifetime);<br />
}</p>
<p>replace the line &#8220;popup.show().animate( { bottom: 0 }, duration);&#8221; with a call to the lightbox and you should be set.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://karlagius.com/2009/02/08/creating-a-sitepoint-like-sliding-popup-in-jquery/comment-page-1/#comment-1474</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Wed, 18 Jan 2012 11:41:15 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.com/?p=159#comment-1474</guid>
		<description>Hi Karl, thanks for the quick reply. ShowPopup, is that in the javascript file. Could you provide an example of where this would appear. Thanks again!</description>
		<content:encoded><![CDATA[<p>Hi Karl, thanks for the quick reply. ShowPopup, is that in the javascript file. Could you provide an example of where this would appear. Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://karlagius.com/2009/02/08/creating-a-sitepoint-like-sliding-popup-in-jquery/comment-page-1/#comment-1472</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Tue, 17 Jan 2012 19:20:04 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.com/?p=159#comment-1472</guid>
		<description>Hi Tom! Yes, it&#039;s certainly possible - what you&#039;d do is use the script as a trigger for the lightbox. Calling it from inside ShowPopup should do the trick.</description>
		<content:encoded><![CDATA[<p>Hi Tom! Yes, it&#8217;s certainly possible &#8211; what you&#8217;d do is use the script as a trigger for the lightbox. Calling it from inside ShowPopup should do the trick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://karlagius.com/2009/02/08/creating-a-sitepoint-like-sliding-popup-in-jquery/comment-page-1/#comment-1471</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Tue, 17 Jan 2012 16:40:48 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.com/?p=159#comment-1471</guid>
		<description>Hi Karl

I have been searching for something like this for a while. Is it possible to use it with a jquery lightbox, such as fancybox.net?

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Karl</p>
<p>I have been searching for something like this for a while. Is it possible to use it with a jquery lightbox, such as fancybox.net?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://karlagius.com/2009/02/08/creating-a-sitepoint-like-sliding-popup-in-jquery/comment-page-1/#comment-1470</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Mon, 21 Nov 2011 20:45:17 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.com/?p=159#comment-1470</guid>
		<description>Too kind :) But thank you!</description>
		<content:encoded><![CDATA[<p>Too kind <img src='http://karlagius.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  But thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anita</title>
		<link>http://karlagius.com/2009/02/08/creating-a-sitepoint-like-sliding-popup-in-jquery/comment-page-1/#comment-1469</link>
		<dc:creator>Anita</dc:creator>
		<pubDate>Sat, 19 Nov 2011 19:44:10 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.com/?p=159#comment-1469</guid>
		<description>Thanks Karl! You are a star!</description>
		<content:encoded><![CDATA[<p>Thanks Karl! You are a star!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://karlagius.com/2009/02/08/creating-a-sitepoint-like-sliding-popup-in-jquery/comment-page-1/#comment-1468</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Sat, 19 Nov 2011 10:15:55 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.com/?p=159#comment-1468</guid>
		<description>Hi Anita! Glad you found the script useful. Apart from altering the 5-day lifetime on the cookie, you could also do away with it entirely by removing the lines which create and check for the cookie :)
i.e. remove HasAlreadyReceivedPopup(description) from the check in CreatePopup, and ReceivedPopup(description, lifetime) from ShowPopup.

Cheers,
Karl</description>
		<content:encoded><![CDATA[<p>Hi Anita! Glad you found the script useful. Apart from altering the 5-day lifetime on the cookie, you could also do away with it entirely by removing the lines which create and check for the cookie <img src='http://karlagius.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
i.e. remove HasAlreadyReceivedPopup(description) from the check in CreatePopup, and ReceivedPopup(description, lifetime) from ShowPopup.</p>
<p>Cheers,<br />
Karl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anita</title>
		<link>http://karlagius.com/2009/02/08/creating-a-sitepoint-like-sliding-popup-in-jquery/comment-page-1/#comment-1467</link>
		<dc:creator>Anita</dc:creator>
		<pubDate>Sat, 19 Nov 2011 01:37:12 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.com/?p=159#comment-1467</guid>
		<description>Hi Karl again,
stupid me, I&#039;ve just noticed that there are 5 days and I need to change them... Thanks again for this code!
regards,
Anita</description>
		<content:encoded><![CDATA[<p>Hi Karl again,<br />
stupid me, I&#8217;ve just noticed that there are 5 days and I need to change them&#8230; Thanks again for this code!<br />
regards,<br />
Anita</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anita</title>
		<link>http://karlagius.com/2009/02/08/creating-a-sitepoint-like-sliding-popup-in-jquery/comment-page-1/#comment-1466</link>
		<dc:creator>Anita</dc:creator>
		<pubDate>Sat, 19 Nov 2011 01:34:40 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.com/?p=159#comment-1466</guid>
		<description>Hi Karl,
Thanks for sharing this code. I have been looking for something like that for my customer. Could you please tell me how to remove cookies and make possible to open this pop-up every time when user visit the page? I know that it is annoying but my customer decided to keep this message for temporary special offer. Thanks Karl!
regards,
Anita</description>
		<content:encoded><![CDATA[<p>Hi Karl,<br />
Thanks for sharing this code. I have been looking for something like that for my customer. Could you please tell me how to remove cookies and make possible to open this pop-up every time when user visit the page? I know that it is annoying but my customer decided to keep this message for temporary special offer. Thanks Karl!<br />
regards,<br />
Anita</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl</title>
		<link>http://karlagius.com/2009/02/08/creating-a-sitepoint-like-sliding-popup-in-jquery/comment-page-1/#comment-1465</link>
		<dc:creator>Karl</dc:creator>
		<pubDate>Tue, 20 Sep 2011 22:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://karlagius.com/?p=159#comment-1465</guid>
		<description>Thank you, Billy!

For the delay, just wrap the function call in a setInterval (http://www.w3schools.com/jsref/met_win_setinterval.asp) call, like so:

setInterval(function () { CreatePopup(&quot;popup.html&quot;, 200, 1500, &quot;testpopup&quot;, 5);  }, 10000);</description>
		<content:encoded><![CDATA[<p>Thank you, Billy!</p>
<p>For the delay, just wrap the function call in a setInterval (<a href="http://www.w3schools.com/jsref/met_win_setinterval.asp">http://www.w3schools.com/jsref/met_win_setinterval.asp</a>) call, like so:</p>
<p>setInterval(function () { CreatePopup(&#8220;popup.html&#8221;, 200, 1500, &#8220;testpopup&#8221;, 5);  }, 10000);</p>
]]></content:encoded>
	</item>
</channel>
</rss>

