View Single Post
  #2 (permalink)  
Old September 2nd, 2003, 04:36 AM
meow meow is offline
Friend of Wrox
Points: 1,315, Level: 14
Points: 1,315, Level: 14 Points: 1,315, Level: 14 Points: 1,315, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , .
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hi :)

You need to add "return false" at the end of the onclick. This will kill the link event and stop the link from opening in the primary window too.

<a href="" onclick="window.open(); return false">

To create a close button you could use window.close().

(o<
//\ =^..^=