WEB Multiple Links in one?

Discussion in 'OT Technology' started by DillDoe, Jan 16, 2008.

  1. DillDoe

    DillDoe Feels good mang

    Joined:
    Jan 16, 2004
    Messages:
    62,315
    Likes Received:
    46
    Location:
    dilldoe.organ
    how do I make one link go to 2 items?

    example: when someone clicks on like Myfile.zip link, it'll download that file and open Myfile.com in a new window.
     
  2. geekierthanyou

    geekierthanyou Crews: DSLR, Brolie, Classic Car, Gun, Zombie, Pro

    Joined:
    May 11, 2007
    Messages:
    3,425
    Likes Received:
    0
    Location:
    Covina, CA
    <a href="#" onClick="spamTheUser();">Open multiple windows</a>
    <javascript>
    function spamTheUser() {
    downloadWindow = window.open('location1');
    downloadWindow.close();
    window.location('location2');
    }
    </javascript>
     
  3. geekierthanyou

    geekierthanyou Crews: DSLR, Brolie, Classic Car, Gun, Zombie, Pro

    Joined:
    May 11, 2007
    Messages:
    3,425
    Likes Received:
    0
    Location:
    Covina, CA
    location 1 being the file you want to dl
     
  4. Jesse

    Jesse PSN: iamajesse; XBL: Inhale My Rod; G8 GT crew; Ne OT Supporter

    Joined:
    Jan 12, 2005
    Messages:
    25,649
    Likes Received:
    0
    Location:
    California :: (925)
    :rofl:

    Very nice.
     
  5. FusionZ06

    FusionZ06 /\__/\__/\__0>

    Joined:
    Apr 10, 2004
    Messages:
    86,918
    Likes Received:
    0
    Location:
    Sunshine State
  6. Ricky

    Ricky █▄ █▄█ █▄ ▀█▄

    Joined:
    Jun 17, 2005
    Messages:
    38,767
    Likes Received:
    6
    time to secretly open tubgirl :run:
     
  7. tryfuhl

    tryfuhl New Member

    Joined:
    Oct 4, 2003
    Messages:
    75,450
    Likes Received:
    0
    Location:
    MD/DC Metro
    onclick as demonstrated :o
     
  8. Black98GPGT

    Black98GPGT im back....

    Joined:
    Feb 11, 2004
    Messages:
    14,537
    Likes Received:
    0
    Location:
    Chester
    :rofl: at yer AV
     

Share This Page