View Single Post
  #2 (permalink)  
Old August 18th, 2003, 03:32 AM
joefawcett's Avatar
joefawcett joefawcett is offline
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

You should try returning false after calling window.open:
Code:
<a href="#" class="BlackSmallText" onClick="window.open('../testplayer/player.asp?player=low&id=46&type=2','PLAYER','width=286,height=121');return false"> link </a>
This will prevent the browser from doing its normal action of resolving the href attribute.

--

Joe