Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jan 2003
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Random Image Link

    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?.

  • #2
    New Coder
    Join Date
    Jun 2002
    Location
    London & Oxford
    Posts
    97
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.
    As easy as 3.1415926535897932384626433832795028841

  • #3
    New to the CF scene
    Join Date
    Jan 2003
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!!!!!!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •