<?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>Комментарии на: Диалог alert на YUI</title>
	<atom:link href="http://www.jstoolbox.com/2008/09/29/dialog-alert-na-yui/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jstoolbox.com/2008/09/29/dialog-alert-na-yui/</link>
	<description>Блог о программировании вообще и о JavaScript в частности, уроки, статьи, заметки, база знаний.</description>
	<lastBuildDate>Wed, 10 Mar 2010 18:58:29 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>От: admin</title>
		<link>http://www.jstoolbox.com/2008/09/29/dialog-alert-na-yui/comment-page-1/#comment-4495</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Thu, 30 Apr 2009 11:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.jstoolbox.com/2008/09/29/dialog-alert-na-yui/#comment-4495</guid>
		<description>Размеры окна можно получить при помощи YAHOO.util.Dom.getDocumentWidth. Но насколько я знаю LayoutManager создает лейаут при помощи div-ов. Т.е. просто получаете ссылку на нужный элемент и получаете размер через offsetWidth, offsetHeight.</description>
		<content:encoded><![CDATA[<p>Размеры окна можно получить при помощи YAHOO.util.Dom.getDocumentWidth. Но насколько я знаю LayoutManager создает лейаут при помощи div-ов. Т.е. просто получаете ссылку на нужный элемент и получаете размер через offsetWidth, offsetHeight.</p>
]]></content:encoded>
	</item>
	<item>
		<title>От: Дмитрий</title>
		<link>http://www.jstoolbox.com/2008/09/29/dialog-alert-na-yui/comment-page-1/#comment-4494</link>
		<dc:creator>Дмитрий</dc:creator>
		<pubDate>Thu, 30 Apr 2009 11:01:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.jstoolbox.com/2008/09/29/dialog-alert-na-yui/#comment-4494</guid>
		<description>здраствуйте !
помогите вычислить размеры окна,панели или еще лучше фреймов
например устанавливаю фрейм
            layout = new YAHOO.widget.Layout(&#039;layout_usergroup&#039;, {
                height: 350,
                units: [
                	{ position: &#039;top&#039;, height: 25, body: &#039;&#039;, gutter: &#039;2&#039; },
                    { position: &#039;center&#039;, body: &#039;&#039;, gutter: &#039;0 2 0 0&#039; }
                ]
            });
layout.render();
как получить размеры(height, weidht) фреймов &#039;top&#039; и &#039;center&#039;?</description>
		<content:encoded><![CDATA[<p>здраствуйте !<br />
помогите вычислить размеры окна,панели или еще лучше фреймов<br />
например устанавливаю фрейм<br />
            layout = new YAHOO.widget.Layout(&#8217;layout_usergroup&#8217;, {<br />
                height: 350,<br />
                units: [<br />
                	{ position: 'top', height: 25, body: '', gutter: '2' },<br />
                    { position: 'center', body: '', gutter: '0 2 0 0' }<br />
                ]<br />
            });<br />
layout.render();<br />
как получить размеры(height, weidht) фреймов &#8216;top&#8217; и &#8216;center&#8217;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>От: nivedano</title>
		<link>http://www.jstoolbox.com/2008/09/29/dialog-alert-na-yui/comment-page-1/#comment-4464</link>
		<dc:creator>nivedano</dc:creator>
		<pubDate>Mon, 27 Apr 2009 18:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.jstoolbox.com/2008/09/29/dialog-alert-na-yui/#comment-4464</guid>
		<description>Неуродливый алерт это конечно круто, но основная функция всех этих алертов, конфирмов - остановка яваскриптового треда до действия (нажатия кнопки) пользователя. Например, я хочу сделать не уродливый конфирм для подверждения закрытия окна через YAHOO.util.Event.addListener(window, &#039;beforeunload&#039;, function(e) {... но ничего без остановки треда не получается. Жаль.</description>
		<content:encoded><![CDATA[<p>Неуродливый алерт это конечно круто, но основная функция всех этих алертов, конфирмов &#8211; остановка яваскриптового треда до действия (нажатия кнопки) пользователя. Например, я хочу сделать не уродливый конфирм для подверждения закрытия окна через YAHOO.util.Event.addListener(window, &#8216;beforeunload&#8217;, function(e) {&#8230; но ничего без остановки треда не получается. Жаль.</p>
]]></content:encoded>
	</item>
	<item>
		<title>От: admin</title>
		<link>http://www.jstoolbox.com/2008/09/29/dialog-alert-na-yui/comment-page-1/#comment-3397</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 17 Mar 2009 11:22:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.jstoolbox.com/2008/09/29/dialog-alert-na-yui/#comment-3397</guid>
		<description>У вас callback ничего не делает, он просто получает текст, назначает его локальной переменной и все.
Примерно так надо:
window.alert = function(text){
    var callback = {success: function(o) { var text = o.responseText;     popUpDialog(text); }}
    YAHOO.util.Connect.asyncRequest(&#039;GET&#039;, &#039;some_url_here&#039;, callback);
};</description>
		<content:encoded><![CDATA[<p>У вас callback ничего не делает, он просто получает текст, назначает его локальной переменной и все.<br />
Примерно так надо:<br />
window.alert = function(text){<br />
    var callback = {success: function(o) { var text = o.responseText;     popUpDialog(text); }}<br />
    YAHOO.util.Connect.asyncRequest(&#8217;GET&#8217;, &#8217;some_url_here&#8217;, callback);<br />
};</p>
]]></content:encoded>
	</item>
	<item>
		<title>От: Дмитрий</title>
		<link>http://www.jstoolbox.com/2008/09/29/dialog-alert-na-yui/comment-page-1/#comment-3395</link>
		<dc:creator>Дмитрий</dc:creator>
		<pubDate>Tue, 17 Mar 2009 11:00:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.jstoolbox.com/2008/09/29/dialog-alert-na-yui/#comment-3395</guid>
		<description>делаю var callback = { success: function(o) { var text2 = o.responseText;}}	
ничего не выводит
Помогите пожалуйста правильно организовать подгрузку с данных</description>
		<content:encoded><![CDATA[<p>делаю var callback = { success: function(o) { var text2 = o.responseText;}}<br />
ничего не выводит<br />
Помогите пожалуйста правильно организовать подгрузку с данных</p>
]]></content:encoded>
	</item>
</channel>
</rss>
