How to make this script open in a new window??

Discussion in 'HTML & Website Design' started by scurvy, Nov 25, 2009.

  1. #1
    Hey there, I added this small widget to my forums where it shows a rotating globe an the visitors from different cxountries.

    http://scurvy.proboards.com/

    problem is when I click it it opens in the same window.

    Is there a way to adjust the javascript code to make it open in a different window?

    Heres the code I got.

    <script type="text/javascript" src="http://ja.revolvermaps.com/m.js"></script><script type="text/javascript">rmm_ki101('2',160,'0sO7NrHl5qR','ff0000');</script>
     
    scurvy, Nov 25, 2009 IP
  2. Shailendra Mishra

    Shailendra Mishra Peon

    Messages:
    446
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Since the javascript is stored on a server, on which you have no access, you cant modify the javascript, and thus you can not make any changes in its working.
    However you can ask the service provider to add this feature to his script, probably it may be possible for him without much effort.
     
    Shailendra Mishra, Nov 25, 2009 IP
  3. scurvy

    scurvy Well-Known Member

    Messages:
    1,053
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    160
    #3
    cant I just modify the code say add a Target= blank type thing?
     
    scurvy, Nov 25, 2009 IP
  4. brandon93s

    brandon93s Active Member

    Messages:
    798
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    85
    #4
    Try this:

    <script type="text/javascript" src="http://ja.revolvermaps.com/m.js" TARGET="_blank" ></script><script type="text/javascript">rmm_ki101('2',160,'0sO7NrHl5qR','ff0000');</script>
     
    brandon93s, Nov 25, 2009 IP