Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Open a pop up windows using http://


Message #1 by "Joe Lee" <bugmania76@y...> on Fri, 6 Sep 2002 03:50:25
why not write a function that handles the links and spawns a new window :

function newwin(myURL)
{
         // sure the syntax here is wrong, but you get the gist
         window.open(myURL)
}

<a href="javascript:newwin('http://www.greggriffiths.org')">Visit Gregs 
Site</a>

At 03:50 06/09/02 +0000, you wrote:
>Hi guys, i have a problem here. Is it possible to open a new page with all
>the perimeters of a windows.open using http://newpage.html, for e.g.?
>
>This is because i want a newly open windows to have a cerain fixed size
>based on a javascript menu bar open. I would consider specifying the size
>of the windows on the newpage.html itself but have yet to achieve this.
>Hope to hear some advice from u
>
>
>Regards,
>Joe
>
>---
>
>Improve your web design skills with these new books from Glasshaus.
>
>Usable Web Menus
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
>r-20
>Constructing Accessible Web Sites
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
>r-20
>Practical JavaScript for the Usable Web
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
>r-20



  Return to Index