Knud98
01-16-2003, 11:42 AM
I have a problem with Random Image Link (http://www.javascriptkit.com/script/cut144.shtml) . It works absolutely fine, but I would like it to act as follows;
whenever a user pushes the image with a link, he stays in the current window.
As the script is designed, a push on a link opens a new window
Can anyone please help me?.
head8k
01-16-2003, 12:31 PM
Are you sure they open in a new window? There is nothing in the script that should make the links open in a new window. As it stands they should open in the same one where the script is.
Have you got a <base target="_blank"> tag somewhere on your page? If not, please post your code here so I can see what is going on.
Knud98
01-16-2003, 12:40 PM
Originally posted by head8k
Are you sure they open in a new window? There is nothing in the script that should make the links open in a new window. As it stands they should open in the same one where the script is.
Have you got a <base target="_blank"> tag somewhere on your page? If not, please post your code here so I can see what is going on.
Problem is solved. I had a <base target="main"> and it should off course be "_top"
Thank you for your time and help!!!!!!