<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: How To Do a CSS PopUp Without Opening a New Window</title>
	<link>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/</link>
	<description>Patrick Burt</description>
	<pubDate>Mon, 08 Sep 2008 10:32:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: Viktor</title>
		<link>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-6450</link>
		<author>Viktor</author>
		<pubDate>Tue, 26 Aug 2008 13:28:55 +0000</pubDate>
		<guid>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-6450</guid>
		<description>No I didn't... but one question, in js file function

 popup(windowname) {
	blanket_size(windowname);
	window_pos(windowname);
	toggle('blanket');
	toggle(windowname);		

do I have to change this variable windowname?</description>
		<content:encoded><![CDATA[<p>No I didn&#8217;t&#8230; but one question, in js file function</p>
<p> popup(windowname) {<br />
	blanket_size(windowname);<br />
	window_pos(windowname);<br />
	toggle(&#8217;blanket&#8217;);<br />
	toggle(windowname);		</p>
<p>do I have to change this variable windowname?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Burt</title>
		<link>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-6449</link>
		<author>Patrick Burt</author>
		<pubDate>Tue, 26 Aug 2008 13:22:41 +0000</pubDate>
		<guid>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-6449</guid>
		<description>Hi Viktor, I'm not entirely sure, did you change any code?</description>
		<content:encoded><![CDATA[<p>Hi Viktor, I&#8217;m not entirely sure, did you change any code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Viktor</title>
		<link>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-6448</link>
		<author>Viktor</author>
		<pubDate>Tue, 26 Aug 2008 13:18:50 +0000</pubDate>
		<guid>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-6448</guid>
		<description>Hi, first script is really great... 
I have one problem with displaying blanket in IE7. Blanket covers only window height but not whole scroll height. In FF it is OK. This is link http://www.zlatni-kljuc.com/sl/index.php (you click on 'Rezultati')... 

Thank you, greetings from Croatia. :)</description>
		<content:encoded><![CDATA[<p>Hi, first script is really great&#8230;<br />
I have one problem with displaying blanket in IE7. Blanket covers only window height but not whole scroll height. In FF it is OK. This is link <a href="http://www.zlatni-kljuc.com/sl/index.php" rel="nofollow">http://www.zlatni-kljuc.com/sl/index.php</a> (you click on &#8216;Rezultati&#8217;)&#8230; </p>
<p>Thank you, greetings from Croatia. <img src='http://www.pat-burt.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andres</title>
		<link>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-6281</link>
		<author>Andres</author>
		<pubDate>Sat, 23 Aug 2008 02:15:37 +0000</pubDate>
		<guid>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-6281</guid>
		<description>I already found a bug on my correction code: window.innerHeight is not accepted by IE in sctrict mode.

To get the current browser window size, this function should be used: http://www.howtocreate.co.uk/tutorials/javascript/browserwindow</description>
		<content:encoded><![CDATA[<p>I already found a bug on my correction code: window.innerHeight is not accepted by IE in sctrict mode.</p>
<p>To get the current browser window size, this function should be used: <a href="http://www.howtocreate.co.uk/tutorials/javascript/browserwindow" rel="nofollow">http://www.howtocreate.co.uk/tutorials/javascript/browserwindow</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andres</title>
		<link>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-6280</link>
		<author>Andres</author>
		<pubDate>Sat, 23 Aug 2008 02:07:15 +0000</pubDate>
		<guid>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-6280</guid>
		<description>Well I can't believe I finally found what I wanted by typing the correct words on Goooogle!!! The script is EXACTLY what I need and I've tested it OK on Firefox 2+3, Netscape 9, IE6+7 and Safari.

Only thing I don't like is that the popup is shown in the middle of the entire page, not the middle of the page's visible area. When the link to show your pop is on the top of a large page, it will appear far below the current page area and the user shall have to scroll in order to locate the popup.

To fix this behaviour and open the popup in the [b]middle of the window[/b], popUpDiv_height should be set to this value: window.innerHeight/2-150; (where 150 is the popup height)

Also, those weird french quotes should be replaced by straight quotes, but that's simply a detail. Script is great, thanks!!</description>
		<content:encoded><![CDATA[<p>Well I can&#8217;t believe I finally found what I wanted by typing the correct words on Goooogle!!! The script is EXACTLY what I need and I&#8217;ve tested it OK on Firefox 2+3, Netscape 9, IE6+7 and Safari.</p>
<p>Only thing I don&#8217;t like is that the popup is shown in the middle of the entire page, not the middle of the page&#8217;s visible area. When the link to show your pop is on the top of a large page, it will appear far below the current page area and the user shall have to scroll in order to locate the popup.</p>
<p>To fix this behaviour and open the popup in the [b]middle of the window[/b], popUpDiv_height should be set to this value: window.innerHeight/2-150; (where 150 is the popup height)</p>
<p>Also, those weird french quotes should be replaced by straight quotes, but that&#8217;s simply a detail. Script is great, thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-6183</link>
		<author>Mike</author>
		<pubDate>Wed, 20 Aug 2008 13:01:01 +0000</pubDate>
		<guid>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-6183</guid>
		<description>Patrick, I have been using this script for months now on a few pages. I'm old and brain damaged, and slow, but once I figured out how to get in there and change stuff to do what I wanted people think I'm a bleeding genius... Thank you!

Example: Driving two separate iFrames at: http://chips.ourspecial.net/
and all the different Radar popups at http://ourspecial.net/test1/osnrss1.htm

I think I disregarded the blanket effects, don't remember off hand just how, but I pulled them in to eliminate the visible effect... anyway it presents a super display, and is very effective! 

Thanks again! And if you've got any suggestions I'd appreciate it.

Mike


___________</description>
		<content:encoded><![CDATA[<p>Patrick, I have been using this script for months now on a few pages. I&#8217;m old and brain damaged, and slow, but once I figured out how to get in there and change stuff to do what I wanted people think I&#8217;m a bleeding genius&#8230; Thank you!</p>
<p>Example: Driving two separate iFrames at: <a href="http://chips.ourspecial.net/" rel="nofollow">http://chips.ourspecial.net/</a><br />
and all the different Radar popups at <a href="http://ourspecial.net/test1/osnrss1.htm" rel="nofollow">http://ourspecial.net/test1/osnrss1.htm</a></p>
<p>I think I disregarded the blanket effects, don&#8217;t remember off hand just how, but I pulled them in to eliminate the visible effect&#8230; anyway it presents a super display, and is very effective! </p>
<p>Thanks again! And if you&#8217;ve got any suggestions I&#8217;d appreciate it.</p>
<p>Mike</p>
<p>___________</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dan</title>
		<link>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-5944</link>
		<author>dan</author>
		<pubDate>Tue, 12 Aug 2008 22:34:07 +0000</pubDate>
		<guid>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-5944</guid>
		<description>That is so freaken awesome!
Been looking for this!
Thanks and keep up the good work!</description>
		<content:encoded><![CDATA[<p>That is so freaken awesome!<br />
Been looking for this!<br />
Thanks and keep up the good work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-5922</link>
		<author>Peter</author>
		<pubDate>Mon, 11 Aug 2008 18:09:32 +0000</pubDate>
		<guid>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-5922</guid>
		<description>Hi Patrick,

Sorry, my mistake... I modified your JavaScript file so I could pass width and height of the image to both the blanket and popup, allowing me to center the image on the screen. I just forgot to pass the width and height to the first onClick! Thanks for your help, it's a wicked component.</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>Sorry, my mistake&#8230; I modified your JavaScript file so I could pass width and height of the image to both the blanket and popup, allowing me to center the image on the screen. I just forgot to pass the width and height to the first onClick! Thanks for your help, it&#8217;s a wicked component.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Burt</title>
		<link>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-5921</link>
		<author>Patrick Burt</author>
		<pubDate>Mon, 11 Aug 2008 17:41:18 +0000</pubDate>
		<guid>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-5921</guid>
		<description>div id="blanket" and div="popupX"... all that body.. should be right after BODY which starts right after HEAD ends. (I can't put greater than and smaller than's because it messes up comments)
I'm talking about HTML code.</description>
		<content:encoded><![CDATA[<p>div id=&#8221;blanket&#8221; and div=&#8221;popupX&#8221;&#8230; all that body.. should be right after BODY which starts right after HEAD ends. (I can&#8217;t put greater than and smaller than&#8217;s because it messes up comments)<br />
I&#8217;m talking about HTML code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-5920</link>
		<author>Peter</author>
		<pubDate>Mon, 11 Aug 2008 17:34:12 +0000</pubDate>
		<guid>http://www.pat-burt.com/web-development/how-to-do-a-css-popup-without-opening-a-new-window/#comment-5920</guid>
		<description>Thanks Patrick, sorry to be a pain, but could you elaborate on that.</description>
		<content:encoded><![CDATA[<p>Thanks Patrick, sorry to be a pain, but could you elaborate on that.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
