Submit button opens up a new javascript window?

Discussion in 'JavaScript' started by jokershouse, Sep 23, 2007.

  1. #1
    I'm working on this page http://www.cyqo.com/mp3/2577/SickTransit/Godsend.htm (warning, music will be playing)

    And when someone comments I want the button to open up a new window sized 400x200 with a confirmation that says "Comment submitted, refresh to see your comment".

    Reason being that the person is probably listening to a 3 minute long music, and I want them to be able to leave a comment with no interruption of the playing song.

    I am 99% sure this is done with Javascript but I am open to any options.

    A demo account to the site is digitalpoint/digitalpoint so you can see what I am talking about.

    Thanks in advance for the advice.
     
    jokershouse, Sep 23, 2007 IP
  2. Awanish

    Awanish Peon

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    have you tried onclick="window.open(url)"
     
    Awanish, Sep 26, 2007 IP
  3. Awanish

    Awanish Peon

    Messages:
    53
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
  4. jokershouse

    jokershouse Peon

    Messages:
    155
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks guys, got it all taken care of now.
     
    jokershouse, Sep 26, 2007 IP
  5. temp2

    temp2 Well-Known Member

    Messages:
    1,231
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    150
    Digital Goods:
    2
    #5
    temp2, Oct 1, 2007 IP