Maligritta4
04-24-2003, 08:41 PM
hi,
i have been trying for the last day and a half to get this pull down menu located in the sidebar of a frame set, to open the pages in a new window and i cannot find the coding to do this anywhere...currently the index page is written as such:
function guideMenu(form, i) {
// get the URL from options
var site = form.elements[i].selectedIndex;
var menuValue = form.elements[i].options[site].value;
// if it's not the first (null) option, go there
if( site >= 2 )
{
window.location= "http://www.papermag.com/guide/" + menuValue;
}
// and then reselect the null (it functions as a label)
//form.elements[i].selectedIndex = 0;
}
how can i get this pull down menu to open it's pages in a new window...please help me if you can...thank you...:rolleyes: :rolleyes:
i have been trying for the last day and a half to get this pull down menu located in the sidebar of a frame set, to open the pages in a new window and i cannot find the coding to do this anywhere...currently the index page is written as such:
function guideMenu(form, i) {
// get the URL from options
var site = form.elements[i].selectedIndex;
var menuValue = form.elements[i].options[site].value;
// if it's not the first (null) option, go there
if( site >= 2 )
{
window.location= "http://www.papermag.com/guide/" + menuValue;
}
// and then reselect the null (it functions as a label)
//form.elements[i].selectedIndex = 0;
}
how can i get this pull down menu to open it's pages in a new window...please help me if you can...thank you...:rolleyes: :rolleyes: