- 1 decade agoFavorite Answer
change the window.open to window.location.href ='url link';
- 1 decade ago
I would say use the window.open() funtion, however, your problem seems to be related to your browser blocking popups, which means you have to turn that feature off.
However, this brings it own problems, because then you have to get all the users of your script to do the same thing....
Sooo... I would try playing around with the page you are opening, and how you are opening it (the last parameter for open()), becuase some pop-up blockers may allow windows to open if they think that it is not an advertisement.