<?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: jQuery-Based Popout Ad: Part 2</title> <atom:link href="http://www.cssnewbie.com/jquery-popout-ad-part-2/feed/" rel="self" type="application/rss+xml" /><link>http://www.cssnewbie.com/jquery-popout-ad-part-2/</link> <description>Web Development Tutorials, Tips &#38; Techniques</description> <lastBuildDate>Tue, 07 Feb 2012 11:23:26 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>By: Mart</title><link>http://www.cssnewbie.com/jquery-popout-ad-part-2/comment-page-1/#comment-13480</link> <dc:creator>Mart</dc:creator> <pubDate>Tue, 28 Jun 2011 14:49:53 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=225#comment-13480</guid> <description>Seems to have broken in FF5 :(</description> <content:encoded><![CDATA[<p>Seems to have broken in FF5 :(</p> ]]></content:encoded> </item> <item><title>By: Andy</title><link>http://www.cssnewbie.com/jquery-popout-ad-part-2/comment-page-1/#comment-13041</link> <dc:creator>Andy</dc:creator> <pubDate>Fri, 22 Oct 2010 11:02:27 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=225#comment-13041</guid> <description>#popout #cap {position:relative}should be#popout #cap {position:absolute}Otherwise IE7 doesn&#039;t work properly.</description> <content:encoded><![CDATA[<p>#popout #cap {position:relative}</p><p>should be</p><p>#popout #cap {position:absolute}</p><p>Otherwise IE7 doesn&#8217;t work properly.</p> ]]></content:encoded> </item> <item><title>By: Bill</title><link>http://www.cssnewbie.com/jquery-popout-ad-part-2/comment-page-1/#comment-12656</link> <dc:creator>Bill</dc:creator> <pubDate>Sat, 01 May 2010 04:59:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=225#comment-12656</guid> <description>Rob,
Many thanks for this tutorial. It is very good. I have a question that I am not sure about. It opens fine, the image is full, but if
I move the mouse, it looks like about 20PX disappears from the right
side of the image. I am using IE 7 and Firefox 3.10, it is the same.</description> <content:encoded><![CDATA[<p>Rob,<br
/> Many thanks for this tutorial. It is very good. I have a question that I am not sure about. It opens fine, the image is full, but if<br
/> I move the mouse, it looks like about 20PX disappears from the right<br
/> side of the image. I am using IE 7 and Firefox 3.10, it is the same.</p> ]]></content:encoded> </item> <item><title>By: Andrew</title><link>http://www.cssnewbie.com/jquery-popout-ad-part-2/comment-page-1/#comment-9643</link> <dc:creator>Andrew</dc:creator> <pubDate>Fri, 24 Apr 2009 10:03:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=225#comment-9643</guid> <description>Mrmrmr.... Doesnt work in Firefox 3.09</description> <content:encoded><![CDATA[<p>Mrmrmr&#8230;. Doesnt work in Firefox 3.09</p> ]]></content:encoded> </item> <item><title>By: Mark</title><link>http://www.cssnewbie.com/jquery-popout-ad-part-2/comment-page-1/#comment-9633</link> <dc:creator>Mark</dc:creator> <pubDate>Wed, 22 Apr 2009 19:22:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=225#comment-9633</guid> <description>Nevermind, I fixed it.  CSS issue with the close button positioning :)</description> <content:encoded><![CDATA[<p>Nevermind, I fixed it.  CSS issue with the close button positioning :)</p> ]]></content:encoded> </item> <item><title>By: Mark</title><link>http://www.cssnewbie.com/jquery-popout-ad-part-2/comment-page-1/#comment-9632</link> <dc:creator>Mark</dc:creator> <pubDate>Wed, 22 Apr 2009 19:15:55 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=225#comment-9632</guid> <description>it&#039;s not working with chrome so well.  it closes then gets stuck closed.  all other browsers ok.</description> <content:encoded><![CDATA[<p>it&#8217;s not working with chrome so well.  it closes then gets stuck closed.  all other browsers ok.</p> ]]></content:encoded> </item> <item><title>By: Rob</title><link>http://www.cssnewbie.com/jquery-popout-ad-part-2/comment-page-1/#comment-8641</link> <dc:creator>Rob</dc:creator> <pubDate>Fri, 24 Oct 2008 21:15:47 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=225#comment-8641</guid> <description>Yep! This works pretty well for forms. I&#039;ve used it for signup forms on more than one website now.</description> <content:encoded><![CDATA[<p>Yep! This works pretty well for forms. I&#8217;ve used it for signup forms on more than one website now.</p> ]]></content:encoded> </item> <item><title>By: Carlos @ VPSmedia</title><link>http://www.cssnewbie.com/jquery-popout-ad-part-2/comment-page-1/#comment-8639</link> <dc:creator>Carlos @ VPSmedia</dc:creator> <pubDate>Fri, 24 Oct 2008 21:07:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=225#comment-8639</guid> <description>Wow really cool. Can this be done with say a form? being able to use it to display a login form would be interesting.</description> <content:encoded><![CDATA[<p>Wow really cool. Can this be done with say a form? being able to use it to display a login form would be interesting.</p> ]]></content:encoded> </item> <item><title>By: Rob Glazebrook</title><link>http://www.cssnewbie.com/jquery-popout-ad-part-2/comment-page-1/#comment-8440</link> <dc:creator>Rob Glazebrook</dc:creator> <pubDate>Thu, 25 Sep 2008 21:23:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=225#comment-8440</guid> <description>...and now that I&#039;ve said that, I&#039;ve come up with a third, better, option.Instead of using a background color, use a background image instead. It turns out that a repeated background image works just as well to give the anchor its proper size. So I&#039;ve created a 1x1 transparent gif and set that as the anchor&#039;s background in my CSS. The close button now works. I&#039;ll get the example updated right away, and then update the tutorial soon.</description> <content:encoded><![CDATA[<p>&#8230;and now that I&#8217;ve said that, I&#8217;ve come up with a third, better, option.</p><p>Instead of using a background color, use a background image instead. It turns out that a repeated background image works just as well to give the anchor its proper size. So I&#8217;ve created a 1&#215;1 transparent gif and set that as the anchor&#8217;s background in my CSS. The close button now works. I&#8217;ll get the example updated right away, and then update the tutorial soon.</p> ]]></content:encoded> </item> <item><title>By: Rob Glazebrook</title><link>http://www.cssnewbie.com/jquery-popout-ad-part-2/comment-page-1/#comment-8439</link> <dc:creator>Rob Glazebrook</dc:creator> <pubDate>Thu, 25 Sep 2008 21:03:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/?p=225#comment-8439</guid> <description>Wow, Tom... you&#039;re right. There&#039;s a pretty major IE7 bug in there. And setting the background color does seem to fix it.The problem is, IE7 ignores the size you specify on a link if the content (text, image, whatever) doesn&#039;t take up all the space you&#039;ve given it. And because we&#039;ve set a &quot;display: none&quot; on the content, IE7 can&#039;t find anything to click on. Never mind the fact we&#039;re in &quot;display: block&quot; mode with a specified width and height.However, as you pointed out, setting a background color makes it respect the size of our box. Of course, that also obscures our close button.We have two options: first, we could just cut the close button out of our ad design, create it as a separate image, and put that in our close anchor. The anchor would be clickable, because it was filled with the image.Or two, you can set a background color on the anchor tag, and then HIDE that color by setting its opacity to zero. IE7 still respects our size for whatever reason. Unfortunately, there seems to be an opacity bug in IE6 wherein the opacity filter doesn&#039;t take into account positioned elements: the close button becomes transparent all the way down to the document underneath. So if you need IE6 support, this isn&#039;t the best option. But it works elsewhere.</description> <content:encoded><![CDATA[<p>Wow, Tom&#8230; you&#8217;re right. There&#8217;s a pretty major IE7 bug in there. And setting the background color does seem to fix it.</p><p>The problem is, IE7 ignores the size you specify on a link if the content (text, image, whatever) doesn&#8217;t take up all the space you&#8217;ve given it. And because we&#8217;ve set a &#8220;display: none&#8221; on the content, IE7 can&#8217;t find anything to click on. Never mind the fact we&#8217;re in &#8220;display: block&#8221; mode with a specified width and height.</p><p>However, as you pointed out, setting a background color makes it respect the size of our box. Of course, that also obscures our close button.</p><p>We have two options: first, we could just cut the close button out of our ad design, create it as a separate image, and put that in our close anchor. The anchor would be clickable, because it was filled with the image.</p><p>Or two, you can set a background color on the anchor tag, and then HIDE that color by setting its opacity to zero. IE7 still respects our size for whatever reason. Unfortunately, there seems to be an opacity bug in IE6 wherein the opacity filter doesn&#8217;t take into account positioned elements: the close button becomes transparent all the way down to the document underneath. So if you need IE6 support, this isn&#8217;t the best option. But it works elsewhere.</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)

Served from: www.cssnewbie.com @ 2012-02-08 02:53:15 -->
