<?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: Creating Lightbox with Yahoo! User Interface Library</title>
	<atom:link href="http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library/feed" rel="self" type="application/rss+xml" />
	<link>http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library</link>
	<description>Bored enough to make a weblog</description>
	<pubDate>Fri, 05 Sep 2008 18:14:33 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Lamar</title>
		<link>http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-7491</link>
		<dc:creator>Lamar</dc:creator>
		<pubDate>Sun, 13 Apr 2008 03:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-7491</guid>
		<description>My comments is i think i should get a code for my email</description>
		<content:encoded><![CDATA[<p>My comments is i think i should get a code for my email</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lamar</title>
		<link>http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-7490</link>
		<dc:creator>Lamar</dc:creator>
		<pubDate>Sun, 13 Apr 2008 03:43:11 +0000</pubDate>
		<guid isPermaLink="false">http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-7490</guid>
		<description>my cmment is i want a id code for my email</description>
		<content:encoded><![CDATA[<p>my cmment is i want a id code for my email</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cymnsnono</title>
		<link>http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-6638</link>
		<dc:creator>Cymnsnono</dc:creator>
		<pubDate>Sun, 30 Mar 2008 20:56:11 +0000</pubDate>
		<guid isPermaLink="false">http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-6638</guid>
		<description>Do you know if some company use the same marketing concept as &lt;a href="http://astore.amazon.com/buy-webkinz-dog-frog-20" rel="nofollow"&gt;Webkinz&lt;/a&gt;? 
 
I'm writing a few articles right now and want to get some info and opinions.</description>
		<content:encoded><![CDATA[<p>Do you know if some company use the same marketing concept as <a href="http://astore.amazon.com/buy-webkinz-dog-frog-20" rel="nofollow">Webkinz</a>? </p>
<p>I'm writing a few articles right now and want to get some info and opinions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus</title>
		<link>http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-4887</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Thu, 06 Mar 2008 06:32:37 +0000</pubDate>
		<guid isPermaLink="false">http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-4887</guid>
		<description>thanks for the tutorial.. i already bookmark this page</description>
		<content:encoded><![CDATA[<p>thanks for the tutorial.. i already bookmark this page</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: YUI Based Lightbox - Final : Code Central</title>
		<link>http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-4505</link>
		<dc:creator>YUI Based Lightbox - Final : Code Central</dc:creator>
		<pubDate>Fri, 22 Feb 2008 05:31:53 +0000</pubDate>
		<guid isPermaLink="false">http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-4505</guid>
		<description>[...] YUI Lightbox for content [...]</description>
		<content:encoded><![CDATA[<p>[...] <span class="caps">YUI</span> Lightbox for content [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Google Watch blog</title>
		<link>http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-4429</link>
		<dc:creator>Google Watch blog</dc:creator>
		<pubDate>Sun, 17 Feb 2008 22:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-4429</guid>
		<description>&lt;strong&gt;Immobiliensachverständige...&lt;/strong&gt;

Google will update a new seo form...</description>
		<content:encoded><![CDATA[<p><strong>Immobiliensachverst&Atilde;&curren;ndige...</strong></p>
<p>Google will update a new seo form...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sachverstndiger</title>
		<link>http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-4427</link>
		<dc:creator>Sachverstndiger</dc:creator>
		<pubDate>Sun, 17 Feb 2008 21:42:56 +0000</pubDate>
		<guid isPermaLink="false">http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-4427</guid>
		<description>&lt;strong&gt;Sachverstndiger...&lt;/strong&gt;

Your blog is really very informative....</description>
		<content:encoded><![CDATA[<p><strong>Sachverstndiger...</strong></p>
<p>Your blog is really very informative....</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus</title>
		<link>http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-2135</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Thu, 29 Nov 2007 05:06:35 +0000</pubDate>
		<guid isPermaLink="false">http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-2135</guid>
		<description>Thank you for the quick reply!
I will check it out tomorrow when I get back to work ;)

Thanks again for the help!</description>
		<content:encoded><![CDATA[<p>Thank you for the quick reply!<br />
I will check it out tomorrow when I get back to work ;)</p>
<p>Thanks again for the help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cuong</title>
		<link>http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-2126</link>
		<dc:creator>Cuong</dc:creator>
		<pubDate>Wed, 28 Nov 2007 20:22:42 +0000</pubDate>
		<guid isPermaLink="false">http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-2126</guid>
		<description>When adding new method to dialog itself, make sure that you are not override the original method. I believe init is one of the Dialog's internal method.

In addition, the signature of subscribe should be  @void subscribe  ( fn , obj , override )@, the extra parameter you specified will be ignored.

If you want to pass extra parameter to the handler, use second the second parameter, such as:
&lt;pre&gt;
YAHOO.test.container.dialog3.showEvent.subscribe(onDialog3Show, {self: YAHOO.test.container.dialog3, opt: opt, tgt: tgt});
&lt;/pre&gt;

and in your handler:
&lt;pre&gt;
var onDialog3Show = function(e, a, o){
var frame = document.createElement('iframe'); frame.src = "/page.php?opt="+o.opt+"&#038;id="+o.tgt;
frame.id='iframe1';frame.name='iframe1';frame.width="700";frame.height="300";
frame.scrolling="no";frame.frameborder="0";frame.border="0";
o.self.setBody(frame);
};
&lt;/pre&gt;

"More about YUI callbacks":http://thecodecentral.com/2007/11/23/a-compilation-of-yui-callback

&lt;blockquote&gt;Is there a way to manipulate the destination of the iframe with a "dialog4.define(url)" function?&lt;/blockquote&gt;

It should be possible by create an IFRAME and insert it into the dialog body:
&lt;pre&gt;
var iframe = document.createElement(iframe);
//save this reference
dialog4.iframe = iframe;
dialog4.setBody(iframe);
//to manipulate destination
dialog4.iframe.src = "blabla";
&lt;/pre&gt;

I haven't tested it, but you got the idea.</description>
		<content:encoded><![CDATA[<p>When adding new method to dialog itself, make sure that you are not override the original method. I believe init is one of the Dialog's internal method.</p>
<p>In addition, the signature of subscribe should be  <code>void subscribe  ( fn , obj , override )</code>, the extra parameter you specified will be ignored.</p>
<p>If you want to pass extra parameter to the handler, use second the second parameter, such as:</p>
<pre>
YAHOO.test.container.dialog3.showEvent.subscribe(onDialog3Show, {self: YAHOO.test.container.dialog3, opt: opt, tgt: tgt});
</pre>
<p>and in your handler:</p>
<pre>
var onDialog3Show = function(e, a, o){
var frame = document.createElement('iframe'); frame.src = &quot;/page.php?opt=&quot;+o.opt+&quot;&amp;id=&quot;+o.tgt;
frame.id='iframe1';frame.name='iframe1';frame.width=&quot;700&quot;;frame.height=&quot;300&quot;;
frame.scrolling=&quot;no&quot;;frame.frameborder=&quot;0&quot;;frame.border=&quot;0&quot;;
o.self.setBody(frame);
};
</pre>
<p><a href="http://thecodecentral.com/2007/11/23/a-compilation-of-yui-callback">More about <span class="caps">YUI </span>callbacks</a></p>
<blockquote><p>Is there a way to manipulate the destination of the iframe with a "dialog4.define(url)" function?</p></blockquote>
<p>It should be possible by create an <span class="caps">IFRAME </span>and insert it into the dialog body:</p>
<pre>
var iframe = document.createElement(iframe);
//save this reference
dialog4.iframe = iframe;
dialog4.setBody(iframe);
//to manipulate destination
dialog4.iframe.src = &quot;blabla&quot;;
</pre>
<p>I haven't tested it, but you got the idea.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markus</title>
		<link>http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-2104</link>
		<dc:creator>Markus</dc:creator>
		<pubDate>Wed, 28 Nov 2007 06:59:21 +0000</pubDate>
		<guid isPermaLink="false">http://thecodecentral.com/2007/07/13/creating-lightbox-with-yahoo-user-interface-library#comment-2104</guid>
		<description>Sorry, forgot to add the code that I am trying to run. Neither this, nor the copy of dialog4 from the demo work. Thoughts ?

YAHOO.test.container.dialog3=new YAHOO.widget.Dialog("test3",{width:"700px",fixedcenter:true,visible:false,close:true,draggable:false,modal:true,postmethod:'form',constraintoviewport:true});
	YAHOO.test.container.dialog3.render();

YAHOO.test.container.dialog3.init=function(opt){
	YAHOO.test.container.dialog3.setHeader(opt);
		}
YAHOO.test.container.dialog3.reset=function(){
			YAHOO.test.container.dialog3.setHeader('Error');
}
var onDialog3Show = function(e, args, o, opt, tgt){
 	 	var frame = document.createElement('iframe'); frame.src = "/page.php?opt="+opt+"&#38;id="+tgt;
			frame.id='iframe1';frame.name='iframe1';frame.width="700";frame.height="300";
			frame.scrolling="no";frame.frameborder="0";frame.border="0";
			o.setBody(frame);
		};
YAHOO.test.container.dialog3.showEvent.subscribe(onDialog3Show, YAHOO.test.container.dialog3, opt, tgt);</description>
		<content:encoded><![CDATA[<p>Sorry, forgot to add the code that I am trying to run. Neither this, nor the copy of dialog4 from the demo work. Thoughts ?</p>
<p><span class="caps">YAHOO.</span>test.container.dialog3=new <span class="caps">YAHOO.</span>widget.Dialog("test3",{width:"700px",fixedcenter:true,visible:false,close:true,draggable:false,modal:true,postmethod:'form',constraintoviewport:true});<br />
	<span class="caps">YAHOO.</span>test.container.dialog3.render();</p>
<p><span class="caps">YAHOO.</span>test.container.dialog3.init=function(opt){<br />
	<span class="caps">YAHOO.</span>test.container.dialog3.setHeader(opt);<br />
		}<br />
<span class="caps">YAHOO.</span>test.container.dialog3.reset=function(){<br />
			<span class="caps">YAHOO.</span>test.container.dialog3.setHeader('Error');<br />
}<br />
var onDialog3Show = function(e, args, o, opt, tgt){<br />
 	 	var frame = document.createElement('iframe'); frame.src = "/page.php?opt="<ins>opt</ins>"&amp;id="+tgt;<br />
			frame.id='iframe1';frame.name='iframe1';frame.width="700";frame.height="300";<br />
			frame.scrolling="no";frame.frameborder="0";frame.border="0";<br />
			o.setBody(frame);<br />
		};<br />
<span class="caps">YAHOO.</span>test.container.dialog3.showEvent.subscribe(onDialog3Show, <span class="caps">YAHOO.</span>test.container.dialog3, opt, tgt);</p>
]]></content:encoded>
	</item>
</channel>
</rss>
