Gossamer Forum
Home : General : Internet Technologies :

JumpMenu with Window Controls (Width/Height/Blank)

Quote Reply
JumpMenu with Window Controls (Width/Height/Blank)
Hello everyone,

I'm trying to create a Javascript Jumpmenu that once selected, will open a new window, and set the width/height. I've tried a number of different scripts, but none seem to allow such control, unless it's in the actual href of the link, which the pulldown menu does not have. Below is the function I'm using, is it possible to modify it to set window width/height, as well as tell it to open in a new/blank window?

Code:
function formHandler(form){
if(form.options[form.selectedIndex].value != "")
window.location.href = form.options[form.selectedIndex].value;
}

Thanks, any help would be greatly appreciated.

jon31
Quote Reply
Re: [jon31] JumpMenu with Window Controls (Width/Height/Blank) In reply to
Please search Yahoo for:

window.open
Quote Reply
Re: [Paul] JumpMenu with Window Controls (Width/Height/Blank) In reply to
I've tried inserting window.open() with the attribute I require, but that does not work as well.

jon31
Quote Reply
Re: [jon31] JumpMenu with Window Controls (Width/Height/Blank) In reply to
Why not?