Pass a URL w/JavaScript

Scott Rossi scott at tactilemedia.com
Thu Aug 14 21:54:01 EDT 2003


Recently, Chipp Walters wrote:

> Based upon your comments and the javascript below, I can now open any
> browser window at any location on the screen...For instance, this is handy
> for 'tiling' multiple browser windows below a RR toolbar.
> 
> <html>
> 
> <head>
> <script language="javascript" type="text/javascript">
>    <!--
> 
> window.open("http://www.google.com","test","toolbar=no,width=300,height=400,
> screenX=400,screenY=400,top=400,left=400");
> window.close();
>    // -->
> </script>
> 
> </head>
> 
> <body>
> 
> </body>
> 
> </html>

Don't forget screen.width and screen.height properties to make sure your
window fits on screen.

Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: scott at tactilemedia.com
Web: www.tactilemedia.com




More information about the use-livecode mailing list