could Someone Expirienced in JavaScript help Me?

Discussion in 'World of SPAM' started by fail, Nov 29, 2008.

  1. fail

    fail Level IV

    Joined:
    Aug 31, 2007
    Messages:
    1,676
    Likes Received:
    32
    In Case You Know, Dusk412 is building a site, for the Dragon Cave . Net Click Exchange. I'm also building one to, but I cant get mine working. Does Anyone know whats wrong with my code? I cant get it to open the links in new tabs.. :/

    WARNING: VERY Long Code
    Code (Text):
    1. </p><p>&#160;Dragon Eggs (29): </p><p><a href="javascript:
    2. win1 = window.open('http://dragcave.net/viewdragon/UAv5', 'Window1');
    3. win2 = window.open('http://dragcave.net/viewdragon/pIih', 'Window2');
    4. win3 = window.open('http://dragcave.net/viewdragon/rWUg', 'Window3');
    5. win4 = window.open('http://dragcave.net/viewdragon/rKaE', 'Window4');
    6. win5 = window.open('http://dragcave.net/viewdragon/X4Wt', 'Window5');
    7. alert('When Each Window Loads, Click OK');
    8. win1.close(); win2.close(); win3.close(); win4.close(); win5.close();
    9.  
    10. win1 = window.open('http://dragcave.net/viewdragon/UiMA', 'Window1');
    11. win2 = window.open('http://dragcave.net/viewdragon/Ib7R', 'Window2');
    12. win3 = window.open('http://dragcave.net/viewdragon/lMHj', 'Window3');
    13. win4 = window.open('http://dragcave.net/viewdragon/wrZy', 'Window4');
    14. win5 = window.open('http://dragcave.net/viewdragon/gFHG', 'Window5');
    15. alert('When Each Window Loads, Click OK');
    16. win1.close(); win2.close(); win3.close(); win4.close(); win5.close();
    17.  
    18. win1 = window.open('http://dragcave.net/viewdragon/OoDp', 'Window1');
    19. win2 = window.open('http://dragcave.net/viewdragon/vcZ1', 'Window2');
    20. win3 = window.open('http://dragcave.net/viewdragon/D9yU', 'Window3');
    21. win4 = window.open('http://dragcave.net/viewdragon/VDcL', 'Window4');
    22. win5 = window.open('http://dragcave.net/viewdragon/VCIz', 'Window5');
    23. alert('When Each Window Loads, Click OK');
    24. win1.close(); win2.close(); win3.close(); win4.close(); win5.close();
    25.  
    26. win1 = window.open('http://dragcave.net/viewdragon/O7Bl', 'Window1');
    27. win2 = window.open('http://dragcave.net/viewdragon/JwnO', 'Window2');
    28. win3 = window.open('http://dragcave.net/viewdragon/xXGH', 'Window3');
    29. win4 = window.open('http://dragcave.net/viewdragon/UNEs', 'Window4');
    30. win5 = window.open('http://dragcave.net/viewdragon/Ralq', 'Window5');
    31. alert('When Each Window Loads, Click OK);
    32. win1.close(); win2.close(); win3.close(); win4.close(); win5.close();
    33.  
    34. win1 = window.open('http://dragcave.net/viewdragon/4Csb', 'Window1');
    35. win2 = window.open('http://dragcave.net/viewdragon/T7s9', 'Window2');
    36. win3 = window.open('http://dragcave.net/viewdragon/zD13', 'Window3');
    37. win4 = window.open('http://dragcave.net/viewdragon/48SG', 'Window4');
    38. win5 = window.open('http://dragcave.net/viewdragon/K5yp', 'Window5');
    39. alert('When Each Window Loads, Click OK);
    40. win1.close(); win2.close(); win3.close(); win4.close(); win5.close();
    41.  
    42. win1 = window.open('http://dragcave.net/viewdragon/xVWU', 'Window1');
    43. win2 = window.open('http://dragcave.net/viewdragon/SyuC', 'Window2');
    44. win3 = window.open('http://dragcave.net/viewdragon/9WMP', 'Window3');
    45. win4 = window.open('http://dragcave.net/viewdragon/zCBa', 'Window4');
    46. alert('When Each Window Loads, Click OK);
    47. win1.close(); win2.close(); win3.close(); win4.close();
    48.  
    49. ">Click Here</a></p></p>