Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Dreamweaver generated JumpMenus

Options
  • 29-12-2001 11:15pm
    #1
    Closed Accounts Posts: 4,731 ✭✭✭


    I can't seem to be able to get the jump menus to open up URLs in a new browser window. Replacing <select name="links" onChange="MM_jumpMenu('parent',this,0)"> with _blank or anything like that doesn't work.

    Can anyone help?


Comments

  • Closed Accounts Posts: 2,695 ✭✭✭b20uvkft6m5xwg


    did you change "parent" to "_blank" ??

    Just to clarify, so I know what you've tried:)


  • Closed Accounts Posts: 4,731 ✭✭✭DadaKopf


    That's what I did, aye.


  • Registered Users Posts: 1,772 ✭✭✭Lennoxschips


    Not sure if this would work, but it's worth a try:

    <select name="links" onChange="MM_openBrWindow('A','name','width=B,height=C')>

    Substitute A with the destination URL.
    Substitute B with the window width.
    Substitute C with the window heigth.
    Substitute name with the object name you want to give the new window, this is optional of course.


  • Closed Accounts Posts: 4,731 ✭✭✭DadaKopf


    Nah, I just want it to open up in a standard new browser window just like a standard link witgh target='_blank'.


  • Registered Users Posts: 386 ✭✭dragonkin


    bit of code editing that might work:
    Had this prob a while ago

    function MM_jumpMenu(targ,selObj,restore){
    if(targ != "_blank")
    eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
    else
    window.open(selObj.options[selObj.selectedIndex].value);
    if (restore) selObj.selectedIndex=0;
    }



    <select name="menu1" onChange="MM_jumpMenu('_blank',this,1)" >


    DK


  • Advertisement
Advertisement