<?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"
	>
<channel>
	<title>Comments on: Modalbox &#038; Lightbox conflicts</title>
	<atom:link href="http://www.wildbit.com/blog/2007/05/22/modalbox-lightbox-conflicts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wildbit.com/blog/2007/05/22/modalbox-lightbox-conflicts/</link>
	<description>Wildbit builds subscriber-based services and social software for the web. We focus on innovation and effective interface design to drive results.</description>
	<pubDate>Sun, 23 Nov 2008 14:21:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Jeffrey Warren</title>
		<link>http://www.wildbit.com/blog/2007/05/22/modalbox-lightbox-conflicts/#comment-1648</link>
		<dc:creator>Jeffrey Warren</dc:creator>
		<pubDate>Wed, 02 Jul 2008 00:23:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.wildbit.com/blog/2007/05/22/modalbox-lightbox-conflicts/#comment-1648</guid>
		<description>Hey, i found on line 412 of modalbox.js:

Element.setStyle(this.MBwindow, {left: Math.round((Element.getWidth(document.body) - Element.getWidth(this.MBwindow)) / 2 ) + "px"});

But I and i'm sure others often give the XHTML body a CSS style of width, and "margin:0 auto;" which makes the page horizontally centered but with a body of fixed width. By changing line 412 to:

Element.setStyle(this.MBwindow, {left: Math.round((Element.getWidth(document.viewport) - Element.getWidth(this.MBwindow)) / 2 ) + "px"});

I got it to center correctly.</description>
		<content:encoded><![CDATA[<p>Hey, i found on line 412 of modalbox.js:</p>
<p>Element.setStyle(this.MBwindow, {left: Math.round((Element.getWidth(document.body) - Element.getWidth(this.MBwindow)) / 2 ) + &#8220;px&#8221;});</p>
<p>But I and i&#8217;m sure others often give the XHTML body a CSS style of width, and &#8220;margin:0 auto;&#8221; which makes the page horizontally centered but with a body of fixed width. By changing line 412 to:</p>
<p>Element.setStyle(this.MBwindow, {left: Math.round((Element.getWidth(document.viewport) - Element.getWidth(this.MBwindow)) / 2 ) + &#8220;px&#8221;});</p>
<p>I got it to center correctly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://www.wildbit.com/blog/2007/05/22/modalbox-lightbox-conflicts/#comment-1271</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Fri, 01 Feb 2008 14:56:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.wildbit.com/blog/2007/05/22/modalbox-lightbox-conflicts/#comment-1271</guid>
		<description>I actually discovered this same issue and resolved it before reading this article (but the article could have saved me a lot of time). I fixed the issue by removing lines 100-103 from lightbox.js and both Lightbox and Modalbox seem to work fine. I also sent an e-mail to the author documenting the issue.</description>
		<content:encoded><![CDATA[<p>I actually discovered this same issue and resolved it before reading this article (but the article could have saved me a lot of time). I fixed the issue by removing lines 100-103 from lightbox.js and both Lightbox and Modalbox seem to work fine. I also sent an e-mail to the author documenting the issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seandy</title>
		<link>http://www.wildbit.com/blog/2007/05/22/modalbox-lightbox-conflicts/#comment-1244</link>
		<dc:creator>Seandy</dc:creator>
		<pubDate>Tue, 22 Jan 2008 16:44:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.wildbit.com/blog/2007/05/22/modalbox-lightbox-conflicts/#comment-1244</guid>
		<description>God job Andrew, i got the problem too, 
So what do i have to fix that?

Do i have to ask that developer to rewrite his code?</description>
		<content:encoded><![CDATA[<p>God job Andrew, i got the problem too,<br />
So what do i have to fix that?</p>
<p>Do i have to ask that developer to rewrite his code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.wildbit.com/blog/2007/05/22/modalbox-lightbox-conflicts/#comment-1031</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Thu, 10 Jan 2008 00:54:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.wildbit.com/blog/2007/05/22/modalbox-lightbox-conflicts/#comment-1031</guid>
		<description>How do you resolve the problem?</description>
		<content:encoded><![CDATA[<p>How do you resolve the problem?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry Sabanin</title>
		<link>http://www.wildbit.com/blog/2007/05/22/modalbox-lightbox-conflicts/#comment-65</link>
		<dc:creator>Dmitry Sabanin</dc:creator>
		<pubDate>Wed, 23 May 2007 23:58:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.wildbit.com/blog/2007/05/22/modalbox-lightbox-conflicts/#comment-65</guid>
		<description>Nice catch.</description>
		<content:encoded><![CDATA[<p>Nice catch.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
