Just 1 link to open 2 pages (1 in the same window + 1 new page)

Discussion in 'HTML & Website Design' started by andrey.m, Sep 26, 2007.

  1. #1
    How can i do this ? Please help. I tried a few methods but i really can't do it :(
     
    andrey.m, Sep 26, 2007 IP
  2. bogs

    bogs Active Member

    Messages:
    2,142
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    80
    #2
    you mean like using frame?
     
    bogs, Sep 26, 2007 IP
  3. litebulb1

    litebulb1 Peon

    Messages:
    151
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you will have to use java.

    The window.location will control the first window and the window.open will control your new browser window that you wanted to open.
     
    litebulb1, Sep 26, 2007 IP
  4. andrey.m

    andrey.m Peon

    Messages:
    98
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    No. Without.

    I would like to create a welcome page with just 1 link. When it's clicked :

    * open a new page in the same window
    * open a new page in a blank windows (like a popup)

    Thanks and pls help.

    EDIT : Thx litebulb1 ... i tried something similar. I hope this works. I'll try it right now.
     
    andrey.m, Sep 26, 2007 IP
  5. andrey.m

    andrey.m Peon

    Messages:
    98
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    The open.location doesn't work or maybe i don't know how to use it. Can you please tell me the right implementation on a link ? I'm new with JavaScript. I only handle html a little. Thx

    EDIT : I solved the problem :) Thx anyway.
     
    andrey.m, Sep 26, 2007 IP