need help with minor javascript coding for meebo

Discussion in 'JavaScript' started by uppedr, Sep 2, 2010.

  1. #1
    meebo instruction are very vague there example to create action button which is basically without the pop up menu


    Meebo('addButton', {
    id: "button1",
    type: "action",
    icon: "/images/icon.png",
    label: "Hello World",
    onClick: function(){ alert("Hello World."); }
    });

    i just want to know how can i change the onclick: so instead of using an alert i want have an url that opens up a new window?

    this is the url i want to use SURFLINE.COM

    thanks everyone
     
    uppedr, Sep 2, 2010 IP
  2. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #2
    onClick: function(){ window.open("http://www.surfline.com/"); }
     
    Cash Nebula, Sep 3, 2010 IP