<?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: Correcting Overlay Issues with jQuery Lightbox and Fixed Body Width</title>
	<atom:link href="http://cssquirrel.com/blog/2009/04/24/correcting-overlay-issues-with-jquery-lightbox-and-fixed-body-width/feed/" rel="self" type="application/rss+xml" />
	<link>http://cssquirrel.com/blog/2009/04/24/correcting-overlay-issues-with-jquery-lightbox-and-fixed-body-width/</link>
	<description>opinions and news on web design</description>
	<lastBuildDate>Thu, 17 May 2012 05:41:57 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Eric</title>
		<link>http://cssquirrel.com/blog/2009/04/24/correcting-overlay-issues-with-jquery-lightbox-and-fixed-body-width/comment-page-1/#comment-32207</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Wed, 27 Oct 2010 07:55:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=240#comment-32207</guid>
		<description>Fantastic~I&#039;m trying to fix another problem with lightbox and need your help. To IE, if the page height &gt; 32767px the opacity won&#039;t &quot;work&quot;, which means you would only see a picture with pure color background. I think we should change &quot;arrPageSizes[1]&quot; to another value, but not sure. If you are not busy could you please send me a mail? Have a nice day :)</description>
		<content:encoded><![CDATA[<p>Fantastic~I&#8217;m trying to fix another problem with lightbox and need your help. To IE, if the page height &gt; 32767px the opacity won&#8217;t &#8220;work&#8221;, which means you would only see a picture with pure color background. I think we should change &#8220;arrPageSizes[1]&#8221; to another value, but not sure. If you are not busy could you please send me a mail? Have a nice day :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nate</title>
		<link>http://cssquirrel.com/blog/2009/04/24/correcting-overlay-issues-with-jquery-lightbox-and-fixed-body-width/comment-page-1/#comment-31386</link>
		<dc:creator>Nate</dc:creator>
		<pubDate>Tue, 26 Jan 2010 17:29:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=240#comment-31386</guid>
		<description>I was looking all over for a fix for this. This looked like it would do it, but unfortunately the problem still exists on FireFox 3.5.7. Any help on this would be greatly appreciated. Thanks</description>
		<content:encoded><![CDATA[<p>I was looking all over for a fix for this. This looked like it would do it, but unfortunately the problem still exists on FireFox 3.5.7. Any help on this would be greatly appreciated. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://cssquirrel.com/blog/2009/04/24/correcting-overlay-issues-with-jquery-lightbox-and-fixed-body-width/comment-page-1/#comment-28910</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 29 Oct 2009 12:37:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=240#comment-28910</guid>
		<description>Thanks so much! Looked everywhere for this fix (for IE 8)!</description>
		<content:encoded><![CDATA[<p>Thanks so much! Looked everywhere for this fix (for IE 8)!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soja</title>
		<link>http://cssquirrel.com/blog/2009/04/24/correcting-overlay-issues-with-jquery-lightbox-and-fixed-body-width/comment-page-1/#comment-28518</link>
		<dc:creator>Soja</dc:creator>
		<pubDate>Fri, 23 Oct 2009 20:24:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=240#comment-28518</guid>
		<description>Hey Kyle thanks for the tutorial and Dorian thanks for the Height problem (i had the same en IE) but i had a question as well... i used your code for the height problem it works perfectly for IE and Firefox but it doesn&#039;t seem to work on Safari, the overlay is stuck on the top of the page and it&#039;s just about 10px of height... any suggestion ?

Help me please it&#039;s driving me crazy !

(click on a picture to see the problem (problem on SAFARI only) : http://www.luciole.com/travaux/aef/site-test/page/equipe.html)

Thanks !!!</description>
		<content:encoded><![CDATA[<p>Hey Kyle thanks for the tutorial and Dorian thanks for the Height problem (i had the same en IE) but i had a question as well&#8230; i used your code for the height problem it works perfectly for IE and Firefox but it doesn&#8217;t seem to work on Safari, the overlay is stuck on the top of the page and it&#8217;s just about 10px of height&#8230; any suggestion ?</p>
<p>Help me please it&#8217;s driving me crazy !</p>
<p>(click on a picture to see the problem (problem on SAFARI only) : <a href="http://www.luciole.com/travaux/aef/site-test/page/equipe.html" rel="nofollow">http://www.luciole.com/travaux/aef/site-test/page/equipe.html</a>)</p>
<p>Thanks !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Brindle</title>
		<link>http://cssquirrel.com/blog/2009/04/24/correcting-overlay-issues-with-jquery-lightbox-and-fixed-body-width/comment-page-1/#comment-28453</link>
		<dc:creator>Charles Brindle</dc:creator>
		<pubDate>Thu, 22 Oct 2009 09:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=240#comment-28453</guid>
		<description>This helped a million, I couldn&#039;t find any information on this bug and tried to change the overlay for the css to fixed positioning. That resulted in quite a nightmare</description>
		<content:encoded><![CDATA[<p>This helped a million, I couldn&#8217;t find any information on this bug and tried to change the overlay for the css to fixed positioning. That resulted in quite a nightmare</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Delazee</title>
		<link>http://cssquirrel.com/blog/2009/04/24/correcting-overlay-issues-with-jquery-lightbox-and-fixed-body-width/comment-page-1/#comment-27219</link>
		<dc:creator>Delazee</dc:creator>
		<pubDate>Fri, 18 Sep 2009 10:47:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=240#comment-27219</guid>
		<description>Thanks, added a bit on to the height to fix our problem
width: $(window).width(),
height: (arrPageSizes[1]) + 160</description>
		<content:encoded><![CDATA[<p>Thanks, added a bit on to the height to fix our problem<br />
width: $(window).width(),<br />
height: (arrPageSizes[1]) + 160</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dorian</title>
		<link>http://cssquirrel.com/blog/2009/04/24/correcting-overlay-issues-with-jquery-lightbox-and-fixed-body-width/comment-page-1/#comment-26110</link>
		<dc:creator>Dorian</dc:creator>
		<pubDate>Fri, 26 Jun 2009 02:50:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=240#comment-26110</guid>
		<description>For height issues in ie 6/7 try this....
Note, this was caused because of a bunch of positioned divs.

// get the full hieght of body
var docHeight = document.documentElement.scrollHeight ? document.documentElement.scrollHeight : document.body.scrollHeight; 

// Style overlay and show it
$(&#039;#jquery-overlay&#039;).css({
	backgroundColor:	settings.overlayBgColor,
	opacity:			settings.overlayOpacity,
	width:				arrPageSizes[0],
	height:				docHeight
	}).fadeIn();

Do it as well for resize function...

Tested in Chrome, FF, Safari &amp; IE 6-8.. Works like a charm</description>
		<content:encoded><![CDATA[<p>For height issues in ie 6/7 try this&#8230;.<br />
Note, this was caused because of a bunch of positioned divs.</p>
<p>// get the full hieght of body<br />
var docHeight = document.documentElement.scrollHeight ? document.documentElement.scrollHeight : document.body.scrollHeight; </p>
<p>// Style overlay and show it<br />
$(&#8216;#jquery-overlay&#8217;).css({<br />
	backgroundColor:	settings.overlayBgColor,<br />
	opacity:			settings.overlayOpacity,<br />
	width:				arrPageSizes[0],<br />
	height:				docHeight<br />
	}).fadeIn();</p>
<p>Do it as well for resize function&#8230;</p>
<p>Tested in Chrome, FF, Safari &amp; IE 6-8.. Works like a charm</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mojitopl</title>
		<link>http://cssquirrel.com/blog/2009/04/24/correcting-overlay-issues-with-jquery-lightbox-and-fixed-body-width/comment-page-1/#comment-25295</link>
		<dc:creator>mojitopl</dc:creator>
		<pubDate>Mon, 08 Jun 2009 23:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=240#comment-25295</guid>
		<description>YOU ARE SAVING MY BUTT! Thanks A LOT! 
 :D :D :D</description>
		<content:encoded><![CDATA[<p>YOU ARE SAVING MY BUTT! Thanks A LOT!<br />
 :D :D :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabriel</title>
		<link>http://cssquirrel.com/blog/2009/04/24/correcting-overlay-issues-with-jquery-lightbox-and-fixed-body-width/comment-page-1/#comment-24389</link>
		<dc:creator>Gabriel</dc:creator>
		<pubDate>Tue, 19 May 2009 09:24:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=240#comment-24389</guid>
		<description>Thank you! It gave me an advice because I had trouble with overlay&#039;s height only in IE 7. In order to fix it I tryed this in _set_interface function and it worked:


$(&#039;#jquery-overlay&#039;).css({
                backgroundColor: settings.overlayBgColor,
                opacity: settings.overlayOpacity,
                width: $(window).width(),
                height: (arrPageSizes[1]) * (1.9) // Custom to fix a bug in IE with a bad overlay height background
            }).fadeIn();



// instead of



$(&#039;#jquery-overlay&#039;).css({
                backgroundColor: settings.overlayBgColor,
                opacity: settings.overlayOpacity,
                width: $(window).width(),
                height: arrPageSizes[1]
            }).fadeIn();</description>
		<content:encoded><![CDATA[<p>Thank you! It gave me an advice because I had trouble with overlay&#8217;s height only in IE 7. In order to fix it I tryed this in _set_interface function and it worked:</p>
<p>$(&#8216;#jquery-overlay&#8217;).css({<br />
                backgroundColor: settings.overlayBgColor,<br />
                opacity: settings.overlayOpacity,<br />
                width: $(window).width(),<br />
                height: (arrPageSizes[1]) * (1.9) // Custom to fix a bug in IE with a bad overlay height background<br />
            }).fadeIn();</p>
<p>// instead of</p>
<p>$(&#8216;#jquery-overlay&#8217;).css({<br />
                backgroundColor: settings.overlayBgColor,<br />
                opacity: settings.overlayOpacity,<br />
                width: $(window).width(),<br />
                height: arrPageSizes[1]<br />
            }).fadeIn();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nz</title>
		<link>http://cssquirrel.com/blog/2009/04/24/correcting-overlay-issues-with-jquery-lightbox-and-fixed-body-width/comment-page-1/#comment-23952</link>
		<dc:creator>nz</dc:creator>
		<pubDate>Tue, 12 May 2009 17:35:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.cssquirrel.com/?p=240#comment-23952</guid>
		<description>thanks a lot...needed this fix</description>
		<content:encoded><![CDATA[<p>thanks a lot&#8230;needed this fix</p>
]]></content:encoded>
	</item>
</channel>
</rss>

