<?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: TinyBox JavaScript Popup Box &#8211; 3.4KB</title>
	<atom:link href="http://www.leigeber.com/2009/05/javascript-popup-box/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.leigeber.com/2009/05/javascript-popup-box/</link>
	<description>This web development blog features fresh articles on JavaScript, AJAX, CSS, XHTML, PHP, Photoshop and more.</description>
	<lastBuildDate>Sun, 21 Mar 2010 05:47:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Rub</title>
		<link>http://www.leigeber.com/2009/05/javascript-popup-box/comment-page-5/#comment-11130</link>
		<dc:creator>Rub</dc:creator>
		<pubDate>Wed, 17 Mar 2010 07:26:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.leigeber.com/?p=174#comment-11130</guid>
		<description>Hi,

first of all: great script!!

I made a screen with Tinybox and when the user clicks the submit button in Tinybox, my php code processes the data from the form field. Now i want to add some code that when the processing of my data is done, the tinybox is closed. (iow, not linked to a button)

I tried with TINY.box.hide but doesn&#039;t work.

Can someone help me?
Thx in advance!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>first of all: great script!!</p>
<p>I made a screen with Tinybox and when the user clicks the submit button in Tinybox, my php code processes the data from the form field. Now i want to add some code that when the processing of my data is done, the tinybox is closed. (iow, not linked to a button)</p>
<p>I tried with TINY.box.hide but doesn&#39;t work.</p>
<p>Can someone help me?<br />
Thx in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: locojester</title>
		<link>http://www.leigeber.com/2009/05/javascript-popup-box/comment-page-5/#comment-11128</link>
		<dc:creator>locojester</dc:creator>
		<pubDate>Tue, 16 Mar 2010 18:18:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.leigeber.com/?p=174#comment-11128</guid>
		<description>Love the script. Amazing. 

However it looks to be locked into unique &quot;IDs&quot;. Does anyone have a solution so that it can be used with &quot;classnames&quot;?

Thanks.</description>
		<content:encoded><![CDATA[<p>Love the script. Amazing. </p>
<p>However it looks to be locked into unique &quot;IDs&quot;. Does anyone have a solution so that it can be used with &quot;classnames&quot;?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clotho</title>
		<link>http://www.leigeber.com/2009/05/javascript-popup-box/comment-page-5/#comment-11104</link>
		<dc:creator>Clotho</dc:creator>
		<pubDate>Fri, 12 Mar 2010 03:03:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.leigeber.com/?p=174#comment-11104</guid>
		<description>Closing Tinybox at IE8 is slow. I modify the code to remove the fading effect, so it can be faster.

--- tinybox.js  (version 919)
+++ tinybox.js  (working copy)
@@ -52,7 +52,7 @@
                        }
                },
                hide:function(){
-                       TINY.box.alpha(p,-1,0,3)
+                       TINY.box.alpha(p,-1,100,3)
                },</description>
		<content:encoded><![CDATA[<p>Closing Tinybox at IE8 is slow. I modify the code to remove the fading effect, so it can be faster.</p>
<p>&#8212; tinybox.js  (version 919)<br />
+++ tinybox.js  (working copy)<br />
@@ -52,7 +52,7 @@<br />
                        }<br />
                },<br />
                hide:function(){<br />
-                       TINY.box.alpha(p,-1,0,3)<br />
+                       TINY.box.alpha(p,-1,100,3)<br />
                },</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ooty</title>
		<link>http://www.leigeber.com/2009/05/javascript-popup-box/comment-page-5/#comment-11097</link>
		<dc:creator>ooty</dc:creator>
		<pubDate>Wed, 10 Mar 2010 09:10:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.leigeber.com/?p=174#comment-11097</guid>
		<description>Nice work keep it up</description>
		<content:encoded><![CDATA[<p>Nice work keep it up</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 一零八八</title>
		<link>http://www.leigeber.com/2009/05/javascript-popup-box/comment-page-5/#comment-11091</link>
		<dc:creator>一零八八</dc:creator>
		<pubDate>Tue, 09 Mar 2010 01:50:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.leigeber.com/?p=174#comment-11091</guid>
		<description>有中文说明文档么?</description>
		<content:encoded><![CDATA[<p>有中文说明文档么?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ironwarez</title>
		<link>http://www.leigeber.com/2009/05/javascript-popup-box/comment-page-5/#comment-11076</link>
		<dc:creator>Ironwarez</dc:creator>
		<pubDate>Fri, 05 Mar 2010 21:13:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.leigeber.com/?p=174#comment-11076</guid>
		<description>Fix For Width and Height (No Show The RightBar and Horizontal Bar)
twsize:function(e,w,wo,wd,h,ho,hd){
			var ow=e.offsetWidth-wo, oh=e.offsetHeight-ho;
			if(ow==w&amp;&amp;oh==h){
			// Fix Width and Height
			e.style.width=Math.ceil(ow+20)+&#039;px&#039;;
			e.style.height=Math.ceil(oh+60)+&#039;px&#039;;
			clearInterval(e.si); p.style.backgroundImage=&#039;none&#039;;   b.style.display=&#039;block&#039;;
			}else{
				if(ow!=w){e.style.width=Math.ceil(ow+((w-ow)*.5))+&#039;px&#039;; }
				if(oh!=h){e.style.height=Math.ceil(oh+((h-oh)*.5))+&#039;px&#039;}
				this.pos()
			}
		}</description>
		<content:encoded><![CDATA[<p>Fix For Width and Height (No Show The RightBar and Horizontal Bar)<br />
twsize:function(e,w,wo,wd,h,ho,hd){<br />
			var ow=e.offsetWidth-wo, oh=e.offsetHeight-ho;<br />
			if(ow==w&amp;&amp;oh==h){<br />
			// Fix Width and Height<br />
			e.style.width=Math.ceil(ow+20)+&#39;px&#39;;<br />
			e.style.height=Math.ceil(oh+60)+&#39;px&#39;;<br />
			clearInterval(e.si); p.style.backgroundImage=&#39;none&#39;;   b.style.display=&#39;block&#39;;<br />
			}else{<br />
				if(ow!=w){e.style.width=Math.ceil(ow+((w-ow)*.5))+&#39;px&#39;; }<br />
				if(oh!=h){e.style.height=Math.ceil(oh+((h-oh)*.5))+&#39;px&#39;}<br />
				this.pos()<br />
			}<br />
		}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.leigeber.com/2009/05/javascript-popup-box/comment-page-5/#comment-11064</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 04 Mar 2010 04:43:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.leigeber.com/?p=174#comment-11064</guid>
		<description>Please disregard my previous comment. I realize now, that when using AJAX, you really should let the modal animate. If you don&#039;t, you get a crazy jump when the box goes from 100x100 to its new size once the content is loaded.</description>
		<content:encoded><![CDATA[<p>Please disregard my previous comment. I realize now, that when using AJAX, you really should let the modal animate. If you don&#39;t, you get a crazy jump when the box goes from 100&#215;100 to its new size once the content is loaded.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.leigeber.com/2009/05/javascript-popup-box/comment-page-5/#comment-11063</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 03 Mar 2010 21:17:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.leigeber.com/?p=174#comment-11063</guid>
		<description>This is an excellent script. I can&#039;t believe how lightweight it is. Great job. I think I may have found a bug though. If I&#039;m displaying content with AJAX and turn off animating the window, the modal doesn&#039;t display anything.

For example, if I change the advanced demo from &lt;code&gt;T$(&#039;testclick1&#039;).onclick = function(){TINY.box.show(&#039;advanced.html&#039;,1,300,150,1)}&lt;/code&gt; to &lt;code&gt;T$(&#039;testclick1&#039;).onclick = function(){TINY.box.show(&#039;advanced.html&#039;,1,300,150,0)}&lt;/code&gt;, it no longer works.</description>
		<content:encoded><![CDATA[<p>This is an excellent script. I can&#39;t believe how lightweight it is. Great job. I think I may have found a bug though. If I&#39;m displaying content with AJAX and turn off animating the window, the modal doesn&#39;t display anything.</p>
<p>For example, if I change the advanced demo from &lt;code&gt;T$(&#39;testclick1&#39;).onclick = function(){TINY.box.show(&#39;advanced.html&#39;,1,300,150,1)}&lt;/code&gt; to &lt;code&gt;T$(&#39;testclick1&#39;).onclick = function(){TINY.box.show(&#39;advanced.html&#39;,1,300,150,0)}&lt;/code&gt;, it no longer works.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
