<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" version="2.0">
  <channel>
    <title>Recent Posts by Cyberus | Prototype UI</title>
    <link>http://forums.prototype-ui.com/users/26/posts</link>
    <language>en-us</language>
    <ttl>60</ttl>
    <atom:link rel="search" type="application/opensearchdescription+xml" href="http://forums.prototype-ui.com/open_search.xml"/>
    <item>
      <title>Window Content replied by david @ Fri, 14 Mar 2008 15:23:22 -0000</title>
      <description>&lt;p&gt;ok, now what if I want to do do something via javascript, like get rest the overflow?&lt;/p&gt;</description>
      <pubDate>Fri, 14 Mar 2008 15:23:22 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:89:234</guid>
      <author>david</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/89</link>
    </item>
    <item>
      <title>Window Content replied by david @ Fri, 14 Mar 2008 15:07:49 -0000</title>
      <description>&lt;p&gt;simple example:&lt;br /&gt;lets say I have 2 windows open I want the content background of one to be blue, will the second window I want it to be white, the skins of the window otherwise are the same.&lt;/p&gt;</description>
      <pubDate>Fri, 14 Mar 2008 15:07:49 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:89:232</guid>
      <author>david</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/89</link>
    </item>
    <item>
      <title>Window Content replied by david @ Fri, 14 Mar 2008 13:51:01 -0000</title>
      <description>&lt;p&gt;Working with multiple windows and multiple styles need effect a give windows content styles. Normally I&amp;#8217;d just extend the function (create in this case) and add in the line:&lt;br /&gt;this.content = createDiv(&amp;#8216;content&amp;#8217;,{ id : this.options.id+&amp;#8217;_content&amp;#8217; }).appendText(&amp;#8217; &amp;#8216;);&lt;br /&gt;however it seems to not accept it unless it&amp;#8217;s in the prototype-ui script.&lt;br /&gt;Question is it possible to add in the above line?&lt;br /&gt;or&lt;br /&gt;is there a better way to do this?&lt;/p&gt;</description>
      <pubDate>Fri, 14 Mar 2008 13:51:01 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:89:230</guid>
      <author>david</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/89</link>
    </item>
    <item>
      <title>sticky windows replied by david @ Fri, 14 Mar 2008 13:37:16 -0000</title>
      <description>&lt;p&gt;thanks&lt;/p&gt;</description>
      <pubDate>Fri, 14 Mar 2008 13:37:16 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:87:229</guid>
      <author>david</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/87</link>
    </item>
    <item>
      <title>sticky windows replied by david @ Thu, 13 Mar 2008 21:09:07 -0000</title>
      <description>&lt;p&gt;Notice if you double click or click half on/off the window it sticks to the mouse (does it even in your demo on the home page), it didn&amp;#8217;t do this before. What happened?&lt;/p&gt;</description>
      <pubDate>Thu, 13 Mar 2008 21:09:07 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:87:224</guid>
      <author>david</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/87</link>
    </item>
    <item>
      <title>controls out of place replied by david @ Thu, 06 Mar 2008 19:30:45 -0000</title>
      <description>&lt;p&gt;Only thing I can think of is you have a higher style that is affecting the windows styles, try remove style until the problem is resolved, or if your using firefox install firebug and step throw the styles tags.&lt;/p&gt;</description>
      <pubDate>Thu, 06 Mar 2008 19:30:45 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:79:204</guid>
      <author>david</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/79</link>
    </item>
    <item>
      <title>Draggables inside Window replied by david @ Thu, 06 Mar 2008 19:28:12 -0000</title>
      <description>&lt;p&gt;Are you looking to drag the element from one window to another or within your window?&lt;br /&gt;Code example help when your asking a question.&lt;/p&gt;</description>
      <pubDate>Thu, 06 Mar 2008 19:28:12 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:80:203</guid>
      <author>david</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/80</link>
    </item>
    <item>
      <title>observe(&amp;quot;blurred&amp;quot;) replied by david @ Tue, 04 Mar 2008 19:02:03 -0000</title>
      <description>&lt;p&gt;Just a note and work around if your thinking of using a Dialog box and planning on have it be destroyed on &amp;#8216;blurred&amp;#8217; make sure to set all additional destroys for that Window to &amp;#8216;blur&amp;#8217;, otherwise you get a nice string of errors.&lt;br /&gt;&lt;pre&gt;
var buttons = [
{ title: 'OK', className: 'ok', callback: function(win) { win.blur(); } },
{ title: 'Cancel', className: 'cancel', callback: function(win) { win.blur(); } }
]

options = {
buttons    : buttons,
width    : 250,
height    : 120,
theme    : 'dialog'
};

new UI.Dialog(options)
.center()
.setContent('hello')
.show()
.activate().observe("blurred", function(e) { UI.defaultWM.getWindow(Event.element(e).id).destroy(); });
&lt;/pre&gt;&lt;br /&gt;Would be nice for in the future to have the destroy unset all observers on the window before remove the html&lt;/p&gt;</description>
      <pubDate>Tue, 04 Mar 2008 19:02:03 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:78:195</guid>
      <author>david</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/78</link>
    </item>
    <item>
      <title>Suggestions for extending replied by david @ Mon, 21 Jan 2008 21:47:23 -0000</title>
      <description>&lt;p&gt;AjaxRequest this way we don&amp;#8217;t have to have a header and footer and the javascript on this page will still fire.&lt;br /&gt;&lt;pre&gt;
setAjaxContentRequest: function(url, options) {
    options = Object.extend({
        onCreate: function() {
            this.loadIndicator.update('&amp;lt;div class="message"&amp;gt;Please wait...&amp;lt;/div&amp;gt;&amp;lt;div class="spinner"&amp;gt;   &amp;lt;/div&amp;gt;').show()
        },
        onComplete: function(originalRequest) {
            this.loadIndicator.fade();
            Element.update(this.content, originalRequest.responseText);
        }
    }, options || {});
    // bind all callbacks to the window
    Object.keys(options).each(function(name) {
        if (Object.isFunction(options[name]))
        options[name] = options[name].bind(this);
    }, this);
    new Ajax.Request(url, options);
    return this;
}

get Content, Header, Footer

getContent: function () {
    return this.content;
},
getHeader: function(){
    return this.header;
},
getFooter: function(){
    return this.footer;
}
&lt;/pre&gt;&lt;br /&gt;Also is there away to bind a function to a window event on a global level, like your shadow which gets fired by focus, blur, maximize, and restore like to add destroy in that list.&lt;br /&gt;some like { onfocused : &lt;span class="caps"&gt;YOUR&lt;/span&gt;_FUNCTION }&lt;/p&gt;


	&lt;p&gt;Are you going to be adding the simple windows (alert,dialog,confirm) like you did in mr proto?&lt;/p&gt;


	&lt;p&gt;An ID would be nice for the content div (this.options.id+&amp;#8217;_content&amp;#8217;)&lt;/p&gt;</description>
      <pubDate>Mon, 21 Jan 2008 21:47:23 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:25:64</guid>
      <author>david</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/25</link>
    </item>
    <item>
      <title>Data Grid replied by david @ Mon, 21 Jan 2008 21:12:36 -0000</title>
      <description>&lt;p&gt;Learn Json, it the simplest way specially coming from php&lt;br /&gt;json_encode(YOUR_MYSQL_RESULTS)&lt;/p&gt;</description>
      <pubDate>Mon, 21 Jan 2008 21:12:36 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:6:23:63</guid>
      <author>david</author>
      <link>http://forums.prototype-ui.com/forums/6/topics/23</link>
    </item>
  </channel>
</rss>
