Javascript -> opening a new separate page

Associate
Joined
6 Jan 2006
Posts
1,023
Location
Midlands
Hi!
ive created a link using javascript to open a new page when the user clicks on it using the code "window.open".

The problem im having is when i click on the link it opens a the new page but when i click on a link again, it just refreshes the exisiting page! i want it to open another brand new page!

Is it possible? if so how!
 
Associate
Joined
8 Oct 2005
Posts
97
Location
Bristol
bit easier to use something like this

< a href="apage.htm" target="_blank">your link text</a>

that will open a new window everytime and you dont need to worry about people having javascript turned off either
 
Back
Top Bottom