<?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 in Window | Prototype UI</title>
    <link>http://forums.prototype-ui.com/forums/2/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>someone pls help-opening window replied by cyberelite @ Thu, 30 Oct 2008 15:23:15 -0000</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;


	&lt;pre&gt;&lt;code&gt;Im a newbie and Ive been trying to create a link to open up a window but it seems that I always fail at it. I've downloaded the zip package on your website and checked the examples but unfortunately, the one I needed was not working (test.html). Can anyone tell me what's wrong with the script? This is the exact file from the zip file:&lt;/code&gt;&lt;/pre&gt;


	&lt;p&gt;&amp;lt;!DOCTYPE html &lt;span class="caps"&gt;PUBLIC&lt;/span&gt; &amp;#8221;-//W3C//DTD &lt;span class="caps"&gt;XHTML 1&lt;/span&gt;.0 Strict//EN&amp;#8221; 
    &amp;#8220;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;#8221;&amp;gt;&lt;br /&gt;&amp;lt;html xml:lang="en" debug="false" xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;br /&gt;&amp;lt;head&gt;
    &amp;lt;title&gt;Test &lt;span class="caps"&gt;PWC&lt;/span&gt;&amp;lt;/title&gt;
  &lt;/p&gt;


&amp;lt;link href="../../../themes/window/window.css" rel="stylesheet" type="text/css"&gt;
&amp;lt;link href="../../../themes/window/mac_os_x.css" rel="stylesheet" type="text/css"&gt;
&amp;lt;link href="../../../themes/shadow/mac_shadow.css" rel="stylesheet" type="text/css"&gt;

&amp;lt;style type="text/css"&gt;
body {
  background: #CCC;
}  
&amp;lt;/style&gt;

&amp;lt;/head&gt;&lt;br /&gt;&amp;lt;body&gt;
  &lt;a href="#"&gt;Open window&lt;/a&gt;

&lt;span class="caps"&gt;CSS&lt;/span&gt;.preloadImages();
    openWindow();
  } 

  function openWindow() {      
    new UI.Window({theme: &amp;#8220;mac_os_x&amp;#8221;, shadow: true }).show();
  }                                    

  Event.observe(window, &amp;#8220;load&amp;#8221;, runTest);&lt;br /&gt;&amp;lt;/body&gt;&lt;br /&gt;&amp;lt;/html&gt;

	&lt;p&gt;kindly advise. Thanks.&lt;/p&gt;</description>
      <pubDate>Thu, 30 Oct 2008 15:23:15 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:206:605</guid>
      <author>cyberelite</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/206</link>
    </item>
    <item>
      <title>work replied by Jelle @ Fri, 24 Oct 2008 12:19:56 -0000</title>
      <description>&lt;p&gt;Mayby it is a stupit question but how do you make the window work.&lt;br /&gt;if have download the zip file and thene i have to do something to make it work but what?&lt;/p&gt;


	&lt;p&gt;greatings,&lt;br /&gt;jelle&lt;/p&gt;</description>
      <pubDate>Fri, 24 Oct 2008 12:19:56 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:205:603</guid>
      <author>Jelle</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/205</link>
    </item>
    <item>
      <title>Provided examples don't run with IE7 replied by pylon @ Mon, 20 Oct 2008 02:27:42 -0000</title>
      <description>&lt;p&gt;just the version available on the front page of &lt;a href="http://www.prototype-ui.com"&gt;www.prototype-ui.com&lt;/a&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 20 Oct 2008 02:27:42 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:198:601</guid>
      <author>pylon</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/198</link>
    </item>
    <item>
      <title>Provided examples don't run with IE7 replied by phicarre @ Sun, 19 Oct 2008 21:36:02 -0000</title>
      <description>&lt;p&gt;what is your window.zip version ?&lt;/p&gt;</description>
      <pubDate>Sun, 19 Oct 2008 21:36:02 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:198:600</guid>
      <author>phicarre</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/198</link>
    </item>
    <item>
      <title>Provided examples don't run with IE7 replied by pylon @ Sun, 19 Oct 2008 21:17:41 -0000</title>
      <description>&lt;p&gt;alright, I just found out that the browser I was testing on was actually &lt;span class="caps"&gt;IE 8&lt;/span&gt; beta, it works perfectly on &lt;span class="caps"&gt;IE 7&lt;/span&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 19 Oct 2008 21:17:41 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:198:599</guid>
      <author>pylon</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/198</link>
    </item>
    <item>
      <title>Provided examples don't run with IE7 replied by pylon @ Sun, 19 Oct 2008 02:29:19 -0000</title>
      <description>&lt;p&gt;this happened to me too, it&amp;#8217;s quite frustrating I&amp;#8217;d be happy too see if there is some kind of fix.&lt;/p&gt;</description>
      <pubDate>Sun, 19 Oct 2008 02:29:19 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:198:598</guid>
      <author>pylon</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/198</link>
    </item>
    <item>
      <title>Destroy method replied by bugsbug @ Tue, 14 Oct 2008 23:31:46 -0000</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;


	&lt;p&gt;After displaying a window, i was wondering how to close it without destroying the element the window is showing.&lt;br /&gt;I mean, i&amp;#8217;m doing something like:&lt;/p&gt;


	&lt;p&gt;var dialog = new UI.Dialog({show: Element.appear, hide: Element.fade}).center().setHeader(&amp;#8216;Confirm Dialog&amp;#8217;).setContent($(&amp;#8216;my_div&amp;#8217;)).show(true);&lt;br /&gt;dialog.getDialogButton(1).callback = function() {dialog.hide();}&lt;/p&gt;


	&lt;p&gt;But when i hit the Cancel button, i&amp;#8217;m destroying the dialog&amp;#8217;s element and every element inside&amp;#8230; including my_div.&lt;br /&gt;How can i only destroy the windows elements, not my_div?&lt;/p&gt;


	&lt;p&gt;Regards,&lt;/p&gt;</description>
      <pubDate>Tue, 14 Oct 2008 23:31:46 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:201:594</guid>
      <author>bugsbug</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/201</link>
    </item>
    <item>
      <title>Download trunk and after ? replied by phicarre @ Mon, 13 Oct 2008 15:11:58 -0000</title>
      <description>&lt;p&gt;I understood (?) that I must download the trunk version on github site in order to benefit by corrections.&lt;br /&gt;I downloaded a zip version (doc,lib,src,test,...).&lt;br /&gt;But Now ?&lt;br /&gt;I don&amp;#8217;t use Ruby, I am on window: what can I do in order to update my &amp;#8220;dist&amp;#8221; directory ?&lt;br /&gt;window.js from my dist is completely different of the window.js found on github !!&lt;/p&gt;</description>
      <pubDate>Mon, 13 Oct 2008 15:11:58 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:199:592</guid>
      <author>phicarre</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/199</link>
    </item>
    <item>
      <title>Provided examples don't run with IE7 replied by phicarre @ Mon, 13 Oct 2008 14:10:17 -0000</title>
      <description>&lt;p&gt;New in this Forum, I downloaded the last &amp;#8220;window.zip&amp;#8221; version.&lt;br /&gt;I tested the examples provided with the package on &lt;span class="caps"&gt;IE7&lt;/span&gt;: at each time an error !&lt;br /&gt;Known problems ?&lt;br /&gt;Known solutions ?&lt;/p&gt;</description>
      <pubDate>Mon, 13 Oct 2008 14:10:17 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:198:591</guid>
      <author>phicarre</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/198</link>
    </item>
    <item>
      <title>window constraint replied by maui @ Fri, 10 Oct 2008 22:05:33 -0000</title>
      <description>&lt;p&gt;Is there any solution about this topic yet?&lt;/p&gt;</description>
      <pubDate>Fri, 10 Oct 2008 22:05:33 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:22:589</guid>
      <author>maui</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/22</link>
    </item>
    <item>
      <title>Trouble with close:false on IE replied by jschmidt @ Tue, 07 Oct 2008 14:53:04 -0000</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;


	&lt;p&gt;while i tried to disable/hide the close button of a window&lt;br /&gt;and test it with Firefox it works fine. But when i try to&lt;br /&gt;use it with IE(7) it throws an error &amp;#8220;Typeconflict on line&lt;br /&gt;2495&amp;#8221; in the &amp;#8220;prototype.js&amp;#8221;.&lt;/p&gt;


	&lt;p&gt;I just tried it like this:&lt;/p&gt;


	&lt;p&gt;new UI.Window({theme: &amp;#8220;maps&amp;#8221;, close: false, width: 505, height: 640});&lt;/p&gt;


	&lt;p&gt;did i do wrong?&lt;/p&gt;</description>
      <pubDate>Tue, 07 Oct 2008 14:53:04 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:196:588</guid>
      <author>jschmidt</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/196</link>
    </item>
    <item>
      <title>Errors in setPositionWithShadow, setSizeWithShadow and setBoundsWithShadow replied by knarfS @ Tue, 07 Oct 2008 14:16:02 -0000</title>
      <description>&lt;p&gt;Hi.&lt;/p&gt;


	&lt;p&gt;I discovered a bug(?) in the window component in combination with the IE.&lt;/p&gt;


	&lt;p&gt;In src/window/shadow.js (trunc) in the methods setPositionWithShadow at line 77, setSizeWithShadow() at line 90 and setBoundsWithShadow() at line 101 the check &amp;#8220;if (this.iframe)&amp;#8221; is not enough, because in IE this attribute is sometimes of the type &amp;#8220;UI.IFrameShim&amp;#8221; and sometimes just an normal &amp;#8220;element&amp;#8221;. The element-type does not have the methods setPosition(), setSize() and setBounds().&lt;/p&gt;


	&lt;p&gt;So I added the following additional checks if the methods are there:&lt;/p&gt;


	&lt;p&gt;Line 77:&lt;br /&gt;if (this.iframe &amp;#38;&amp;#38; this.iframe.setPosition) {&lt;/p&gt;


	&lt;p&gt;Line 90:&lt;br /&gt;if (this.iframe &amp;#38;&amp;#38; this.iframe.setSize) {&lt;/p&gt;


	&lt;p&gt;Line 101:&lt;br /&gt;if (this.iframe &amp;#38;&amp;#38; this.iframe.setBounds)&lt;/p&gt;


	&lt;p&gt;I&amp;#8217;m not completely sure about that but it works for me right now without any exception in IE. In other browsers (Firefox 3.0 and Chrome) it works fine without this changes.&lt;/p&gt;


	&lt;p&gt;Bye,&lt;br /&gt;Frank&lt;/p&gt;</description>
      <pubDate>Tue, 07 Oct 2008 14:16:02 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:195:587</guid>
      <author>knarfS</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/195</link>
    </item>
    <item>
      <title>Error in updateShadow replied by knarfS @ Tue, 07 Oct 2008 13:11:25 -0000</title>
      <description>&lt;p&gt;Hi all.&lt;/p&gt;


	&lt;p&gt;I discovered an error in the shadow.js in line 303 in the method updateShadow() (trunc). It could be possible that the value of the variable h is getting negativ and this throws an exception in IE. Because a height cannot be negativ&amp;#8230;.&lt;/p&gt;


	&lt;p&gt;So imho this should be much better:&lt;br /&gt;var h = size.height + this.shadowSize.height &amp;#8211; this.shadowShift.height + &amp;#8220;px&amp;#8221;;&lt;/p&gt;


	&lt;p&gt;Bye,&lt;br /&gt;Frank&lt;/p&gt;</description>
      <pubDate>Tue, 07 Oct 2008 13:11:25 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:194:586</guid>
      <author>knarfS</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/194</link>
    </item>
    <item>
      <title>Append window to DOM without opening it replied by onispawn @ Fri, 03 Oct 2008 21:25:15 -0000</title>
      <description>&lt;p&gt;Seb,&lt;/p&gt;


	&lt;p&gt;How come prototype ui removes the window from the dom when hidden?&lt;br /&gt;Seems like it would be more appropriate for a .remove() method to do this instead of .hide()&lt;/p&gt;</description>
      <pubDate>Fri, 03 Oct 2008 21:25:15 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:131:584</guid>
      <author>onispawn</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/131</link>
    </item>
    <item>
      <title>No scrolling in URLWindow? replied by weazil @ Mon, 29 Sep 2008 12:42:34 -0000</title>
      <description>&lt;p&gt;// old &lt;br /&gt;.ui-window .content {
    overflow: hidden !important;&lt;br /&gt;}&lt;br /&gt;// new&lt;br /&gt;.noscroll {
    overflow: hidden !important;&lt;br /&gt;}&lt;/p&gt;


	&lt;p&gt;figured out i had some css in there that was causing the issues. I renamed it to noscroll and can turn it on and off with a class name&lt;/p&gt;</description>
      <pubDate>Mon, 29 Sep 2008 12:42:34 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:178:581</guid>
      <author>weazil</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/178</link>
    </item>
    <item>
      <title>No scrolling in URLWindow? replied by weazil @ Sun, 28 Sep 2008 16:15:35 -0000</title>
      <description>&lt;p&gt;if you use window I can&amp;#8217;t get a scroll bar to show up so it might worth trying window instead of urlwindow.&lt;/p&gt;</description>
      <pubDate>Sun, 28 Sep 2008 16:15:35 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:178:580</guid>
      <author>weazil</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/178</link>
    </item>
    <item>
      <title>IE6 Iframe shim adds extra padding to body in IE7 replied by kawanokami @ Wed, 24 Sep 2008 07:50:49 -0000</title>
      <description>&lt;p&gt;Hi,
  same problem here. Has anybody found a solution yet?&lt;br /&gt;Thanks very much for any hal given and for all the effort!&lt;/p&gt;</description>
      <pubDate>Wed, 24 Sep 2008 07:50:49 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:159:579</guid>
      <author>kawanokami</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/159</link>
    </item>
    <item>
      <title>Where can I download the latest version? replied by riesengross @ Wed, 17 Sep 2008 11:10:05 -0000</title>
      <description>&lt;p&gt;I went to github and used the download button to download the zip-archive. I unpacked and used the new files. Nothing will work now&amp;#8230; Please help me. Did you change the instruction code to use window inside a html / php-file?&lt;/p&gt;


	&lt;p&gt;The orginial html files in test &amp;gt; functional &amp;gt; window are not working, too.&lt;/p&gt;</description>
      <pubDate>Wed, 17 Sep 2008 11:10:05 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:190:578</guid>
      <author>riesengross</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/190</link>
    </item>
    <item>
      <title>Center() does not work on &amp;quot;scrolling&amp;quot; pages replied by dba35 @ Tue, 09 Sep 2008 08:42:39 -0000</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;


	&lt;p&gt;Try to call the center() method after the show() method.&lt;br /&gt;It soldved the problem for me.&lt;/p&gt;


	&lt;p&gt;David.&lt;/p&gt;</description>
      <pubDate>Tue, 09 Sep 2008 08:42:39 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:175:576</guid>
      <author>dba35</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/175</link>
    </item>
    <item>
      <title>Slow scroll and form interaction on IE - usability issue replied by monty241070b @ Thu, 04 Sep 2008 06:40:07 -0000</title>
      <description>&lt;p&gt;I have exactly the same problem. Page with three fieldsets. As soon as I include window.js, the select-s become very slow in &lt;span class="caps"&gt;IE6&lt;/span&gt; and &lt;span class="caps"&gt;IE7&lt;/span&gt;. On FF it works fine.&lt;/p&gt;


	&lt;p&gt;The only functionality actually needed from window.js is the windows.&lt;/p&gt;


	&lt;p&gt;I have tried the git version, but it seems completely different.&lt;/p&gt;


	&lt;p&gt;Suggestion: please add $Id: $ or alike to the scripts, it makes identification easier.&lt;/p&gt;</description>
      <pubDate>Thu, 04 Sep 2008 06:40:07 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:138:575</guid>
      <author>monty241070b</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/138</link>
    </item>
    <item>
      <title>z-order replied by zorba @ Tue, 02 Sep 2008 12:27:13 -0000</title>
      <description>&lt;p&gt;Hi Seb &amp;#8211; I tried installing the latest from the trunk and it is still not working in IE.  Basically, whenever I have select boxes in the background, the appear in front of the window.  What am I missing?&lt;/p&gt;


	&lt;p&gt;Thanks!!!!&lt;/p&gt;</description>
      <pubDate>Tue, 02 Sep 2008 12:27:13 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:45:572</guid>
      <author>zorba</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/45</link>
    </item>
    <item>
      <title>Align to the right replied by pylon @ Sun, 17 Aug 2008 05:21:27 -0000</title>
      <description>&lt;p&gt;I noticed that the old version of these windows you could set it&amp;#8217;s position to the right or bottom so that the window would follow if you changed your browser size.  Is there any way to get this effect in the new Prototype UI windows?&lt;/p&gt;</description>
      <pubDate>Sun, 17 Aug 2008 05:21:27 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:185:568</guid>
      <author>pylon</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/185</link>
    </item>
    <item>
      <title>Reference to shadow object? replied by ThereThere @ Wed, 13 Aug 2008 08:42:50 -0000</title>
      <description>&lt;p&gt;I found the solution myself:&lt;/p&gt;


	&lt;p&gt;WindowObject.shadow.show() and .hide()&lt;/p&gt;


	&lt;p&gt;Why isn&amp;#8217;t anything that easy&amp;#8230;&lt;/p&gt;</description>
      <pubDate>Wed, 13 Aug 2008 08:42:50 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:183:567</guid>
      <author>ThereThere</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/183</link>
    </item>
    <item>
      <title>Can't save session in a cookie? replied by pylon @ Mon, 11 Aug 2008 22:11:48 -0000</title>
      <description>&lt;p&gt;I remember that the old version of Prototye Windows has a feature where you could store all the windows in a cookie so that it&amp;#8217;s the same everytime someone visits.  Is there a way to recreate that for Prototype UI / does it exist?&lt;/p&gt;</description>
      <pubDate>Mon, 11 Aug 2008 22:11:48 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:184:566</guid>
      <author>pylon</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/184</link>
    </item>
    <item>
      <title>Reference to shadow object? replied by ThereThere @ Mon, 11 Aug 2008 09:20:00 -0000</title>
      <description>&lt;p&gt;Hi,&lt;/p&gt;


	&lt;p&gt;I like to temporarily hide a shadow of a window with a given id. It seems that the shadow is no part of the window, so $(window).down(&amp;#8217;.shadow_container&amp;#8217;) does not work. I see that there are methods to hide and show shadows, but how can I call these methods for a special window? In general: Hiding shadows while moving windows increases performance especially in IE dramatically!&lt;/p&gt;


	&lt;p&gt;Thanks!&lt;/p&gt;


	&lt;p&gt;Christian&lt;/p&gt;</description>
      <pubDate>Mon, 11 Aug 2008 09:20:00 -0000</pubDate>
      <guid isPermaLink="false">forums.prototype-ui.com:2:183:565</guid>
      <author>ThereThere</author>
      <link>http://forums.prototype-ui.com/forums/2/topics/183</link>
    </item>
  </channel>
</rss>
