Hi Seb, I changed my code an downloaded version 1.2.1 After doing so, the windows are not displayed anymore. When I looked into the genereated sourcecode, I can see the divs. But they won't show up. I figured out, that they have a style property display: none. I guess changing this, will let them appear. I checked cookies also, but the server sends some cookies to my browser, with window-information in it. Sending an example. Hope it is not too much code.
Greetz P Here is my sample code <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" " http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=Cp1252"/> <script type="text/javascript" src="javascripts/prototype.js"> </script> <script type="text/javascript" src="javascripts/effects.js"> </script> <script type="text/javascript" src="javascripts/window.js"> </script> <script type="text/javascript" src="javascripts/window_ext.js"> </script> <link href="themes/default.css" rel="stylesheet" type="text/css"/> <link href="themes/mac_os_x.css" rel="stylesheet" type="text/css"/> <body> <script type="text/javascript"> var win1= new Window({className: "mac_os_x", title: "RBB", top:70, left:100, width:450, height:200, wiredDrag: true, refresh: true, url: " http://some-example.com"}) WindowStore.show(win1); var win2= new Window({className: "mac_os_x", title: "SWR", top:70, left:570, width:450, height:200, url: "http://some-example2.com"}) WindowStore.show(win2); var win3= new Window({className: "mac_os_x", title: "HR", top:350, left:100, width:450, height:200, url: "http://some-example3.com"}) WindowStore.show(win3); </script> </body> </html> 1. window position (jochen hartz)
2. Re: window position (S?bastien Gruhier) 3. Re: I am getting Javascript error (S?bastien Gruhier) 4. Re: [ANN] Version 1.2 (S?bastien Gruhier) 5. Prototype Window ( Jo?o Neto ) ---------------------------------------------------------------------- Message: 1 Date: Tue, 27 Feb 2007 14:33:40 +0100 From: "jochen hartz" <[EMAIL PROTECTED]> Subject: [Javawin] window position To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="iso-8859-1" Hi, first of all let me say, what a terrific work these windows are!! Keep up the good work. Now to my question: I'm displaying 5-6 windows at a time. Code is like this for each window var win1= new Window({className: "mac_os_x", title: "Windows 1 of 6", top:70, left:100, width:450, height:200, wiredDrag: true, refresh: true, url: "http://some.example.com"}) win1.show(); I would like to stay the windows in the dragged position, when I'm refreshing the page. Is it possible somehow? I tried with WindowStore.init(); but I couldn't manage it to work. Kind regards p
Message: 2
Date: Tue, 27 Feb 2007 15:10:37 +0100 From: S?bastien Gruhier <[EMAIL PROTECTED]> Subject: Re: [Javawin] window position To: [email protected] Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="us-ascii" Be sure to have the latest version and it should work to show your window do not do win1.show(); but WindowStore.show(win4); If you still have pb send an sample file Seb On more thing, it's based on cookie, some browsers do not save cookie if your url is a local file like file://..... (Firefox works fine)
_______________________________________________ Javawin mailing list [email protected] http://mail.xilinus.com/mailman/listinfo/javawin_xilinus.com
