<?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: Create a Lightbox with jQuery and CSS</title>
	<atom:link href="http://kyleschaeffer.com/tutorials/lightbox-jquery-css/feed/" rel="self" type="application/rss+xml" />
	<link>http://kyleschaeffer.com/tutorials/lightbox-jquery-css/</link>
	<description>Web Design &#38; SharePoint Branding</description>
	<lastBuildDate>Sat, 04 Feb 2012 09:31:25 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Martin</title>
		<link>http://kyleschaeffer.com/tutorials/lightbox-jquery-css/#comment-3076</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Sun, 22 Jan 2012 15:47:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.kyleschaeffer.com/?p=488#comment-3076</guid>
		<description>Laetitia, had the same problem. I searched on jquery.com and found that: Due to browser security restrictions, most &quot;Ajax&quot; requests are subject to the &lt;a href=&quot;http://en.wikipedia.org/wiki/Same_origin_policy&quot; rel=&quot;nofollow&quot;&gt;same origin policy&lt;/a&gt;; the request can not successfully retrieve data from a different domain, subdomain, or protocol.
So, your data have to be on the same server.</description>
		<content:encoded><![CDATA[<p>Laetitia, had the same problem. I searched on jquery.com and found that: Due to browser security restrictions, most &#8220;Ajax&#8221; requests are subject to the <a href="http://en.wikipedia.org/wiki/Same_origin_policy" rel="nofollow">same origin policy</a>; the request can not successfully retrieve data from a different domain, subdomain, or protocol.<br />
So, your data have to be on the same server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Laetitia</title>
		<link>http://kyleschaeffer.com/tutorials/lightbox-jquery-css/#comment-3036</link>
		<dc:creator>Laetitia</dc:creator>
		<pubDate>Wed, 04 Jan 2012 22:19:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.kyleschaeffer.com/?p=488#comment-3036</guid>
		<description>I am using this script, however, I updated the jquery src to the latest, 1.7.1 (as of today). Whenever I try to load any external content into the lightbox I get the AJAX failure pop-up. Any thoughts? Help would be greatly appreciated...</description>
		<content:encoded><![CDATA[<p>I am using this script, however, I updated the jquery src to the latest, 1.7.1 (as of today). Whenever I try to load any external content into the lightbox I get the AJAX failure pop-up. Any thoughts? Help would be greatly appreciated&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon</title>
		<link>http://kyleschaeffer.com/tutorials/lightbox-jquery-css/#comment-3025</link>
		<dc:creator>Ramon</dc:creator>
		<pubDate>Tue, 27 Dec 2011 21:39:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.kyleschaeffer.com/?p=488#comment-3025</guid>
		<description>Hi its working great!, but the problem is i need to put some PHP inside, and then it crash :( how can i solve this.

thanks!</description>
		<content:encoded><![CDATA[<p>Hi its working great!, but the problem is i need to put some PHP inside, and then it crash :( how can i solve this.</p>
<p>thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://kyleschaeffer.com/tutorials/lightbox-jquery-css/#comment-2962</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Mon, 21 Nov 2011 04:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.kyleschaeffer.com/?p=488#comment-2962</guid>
		<description>I was able to get the closeLightbox function to work...but now I&#039;m struggling with another challenge.  I want to use the lightbox on the same site for 2 different applications, which are very different sizes.  I changed the height and width of the lightbox div to auto, which is working great...but I can&#039;t seem to get it to automatically center on the page.  I would like it to appear in the center whether I&#039;m displaying my 480px Login window, or my 720px Sign-Up screen.

Sorry if this is a basic question - I&#039;m pretty new to this!</description>
		<content:encoded><![CDATA[<p>I was able to get the closeLightbox function to work&#8230;but now I&#8217;m struggling with another challenge.  I want to use the lightbox on the same site for 2 different applications, which are very different sizes.  I changed the height and width of the lightbox div to auto, which is working great&#8230;but I can&#8217;t seem to get it to automatically center on the page.  I would like it to appear in the center whether I&#8217;m displaying my 480px Login window, or my 720px Sign-Up screen.</p>
<p>Sorry if this is a basic question &#8211; I&#8217;m pretty new to this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan</title>
		<link>http://kyleschaeffer.com/tutorials/lightbox-jquery-css/#comment-2961</link>
		<dc:creator>Alan</dc:creator>
		<pubDate>Sun, 20 Nov 2011 13:23:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.kyleschaeffer.com/?p=488#comment-2961</guid>
		<description>After some trial and error I was able to get the lightbox working, but I can&#039;t seem to connect the closeLightbox function to the lightbox-close DIV the way that you did on your portfolio page.  Any help would be greatly appreciated!</description>
		<content:encoded><![CDATA[<p>After some trial and error I was able to get the lightbox working, but I can&#8217;t seem to connect the closeLightbox function to the lightbox-close DIV the way that you did on your portfolio page.  Any help would be greatly appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle</title>
		<link>http://kyleschaeffer.com/tutorials/lightbox-jquery-css/#comment-2916</link>
		<dc:creator>Kyle</dc:creator>
		<pubDate>Fri, 11 Nov 2011 13:43:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.kyleschaeffer.com/?p=488#comment-2916</guid>
		<description>Kyle, transitioning between photos requires a bit more scripting to make it work.  Basically, you have to load the image in JavaScript, and get the size of the image before you can figure out how to animate the size of the lightbox.  Check out my portfolio (&quot;My Work&quot;) and &quot;view source&quot; to see how I did it there, if you&#039;re interested.</description>
		<content:encoded><![CDATA[<p>Kyle, transitioning between photos requires a bit more scripting to make it work.  Basically, you have to load the image in JavaScript, and get the size of the image before you can figure out how to animate the size of the lightbox.  Check out my portfolio (&#8220;My Work&#8221;) and &#8220;view source&#8221; to see how I did it there, if you&#8217;re interested.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyle</title>
		<link>http://kyleschaeffer.com/tutorials/lightbox-jquery-css/#comment-2915</link>
		<dc:creator>Kyle</dc:creator>
		<pubDate>Fri, 11 Nov 2011 00:46:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.kyleschaeffer.com/?p=488#comment-2915</guid>
		<description>This is really cool! How could I use it to show photos, and have them transition?</description>
		<content:encoded><![CDATA[<p>This is really cool! How could I use it to show photos, and have them transition?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yashcoder</title>
		<link>http://kyleschaeffer.com/tutorials/lightbox-jquery-css/#comment-2867</link>
		<dc:creator>yashcoder</dc:creator>
		<pubDate>Tue, 25 Oct 2011 22:33:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.kyleschaeffer.com/?p=488#comment-2867</guid>
		<description>Dude thanks! its a very simplified explaination :D</description>
		<content:encoded><![CDATA[<p>Dude thanks! its a very simplified explaination :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://kyleschaeffer.com/tutorials/lightbox-jquery-css/#comment-2787</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 11 Oct 2011 19:14:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.kyleschaeffer.com/?p=488#comment-2787</guid>
		<description>Thanks for the article, was very helpful and clear.</description>
		<content:encoded><![CDATA[<p>Thanks for the article, was very helpful and clear.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bruno</title>
		<link>http://kyleschaeffer.com/tutorials/lightbox-jquery-css/#comment-2752</link>
		<dc:creator>bruno</dc:creator>
		<pubDate>Thu, 06 Oct 2011 20:05:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.kyleschaeffer.com/?p=488#comment-2752</guid>
		<description>another solution would be to add this line right before the &quot;display lightbox&quot; lines (before lines 54-55):

// make shadow same height as document
$(&#039;#lightbox-shadow&#039;).css(&#039;height&#039;, $(document).height()+&#039;px&#039;);

This will get the document&#039;s height and adjust the shadow to fill it</description>
		<content:encoded><![CDATA[<p>another solution would be to add this line right before the &#8220;display lightbox&#8221; lines (before lines 54-55):</p>
<p>// make shadow same height as document<br />
$(&#8216;#lightbox-shadow&#8217;).css(&#8216;height&#8217;, $(document).height()+&#8217;px&#8217;);</p>
<p>This will get the document&#8217;s height and adjust the shadow to fill it</p>
]]></content:encoded>
	</item>
</channel>
</rss>

