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?
if(form.options[form.selectedIndex].value != "")
window.location.href = form.options[form.selectedIndex].value;
}
Thanks, any help would be greatly appreciated.
jon31
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