Navigate to 2 URLS with one click

Discussion in 'HTML & Website Design' started by karabas, Jan 8, 2008.

  1. #1
    Is it possible to write some HTML + javascript that would render link with the following properties?

    1)HTML is served from site http://www.mysite.com
    2)When user clicks on the link he is sent to site http://www.somesite.com/deeplink
    3)At the same time he is sent to http://www.othersite.com/params which after leaving a cookie 301 redirects to site http://www.somesite.com/index.php. However contents of http://www.somesite.com/index.php are irrelevant and shouldn't be shown. Only thing that matters here is cookie left by http://www.othersite.com/params

    2 and 3 don't need to happen in parallel. It's OK for 3 to happen shortly before 2 but the entire process should be snappy.

    I only control contents of http://www.mysite.com
     
    karabas, Jan 8, 2008 IP
  2. seohyderabad

    seohyderabad Peon

    Messages:
    1,190
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ive seeen this somewhere in a directory list site .

    when u click on link it open 10 diff sites in tabs lemme search it again ...
     
    seohyderabad, Jan 8, 2008 IP
  3. karabas

    karabas Well-Known Member

    Messages:
    659
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    138
    #3
    karabas, Jan 9, 2008 IP
  4. Sepehr

    Sepehr Peon

    Messages:
    568
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i'm not sure if i understood what you exactly want but a hidden frame might do the work!
     
    Sepehr, Jan 9, 2008 IP
  5. karabas

    karabas Well-Known Member

    Messages:
    659
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    138
    #5
    It probably would.
    Is there any code snippet that will reliably work in all major browsers?
     
    karabas, Jan 9, 2008 IP