PDA

View Full Version : Triple combo script by Hamid- ??? How do You set Target _blank for links???


SystemDown
08-15-2002, 02:21 AM
i have downloaded the triple combo box by Hamid, and have modified the script to suit my needs, but i cant figure out how to set the target for the links to open as a blank page instead of opening in its own window.

this is a part of my code as the 3rd section of the code, it is the 3rd combo box with the links.


--------------------------------------------------------------------------------------

secondGroup[0][0][0]=new Option("---Select 3---"," ");
secondGroup[1][0][0]=new Option("---Select 3---"," ");
secondGroup[1][1][0]=new Option("Select Version For RM9800 4 Station"," ");
secondGroup[1][1][1]=new Option("Version 3","23954.htm");

secondGroup[1][2][0]=new Option("Select Version For RM9800 6 Station"," ");
secondGroup[1][2][1]=new Option("Version 3","23955.htm");

secondGroup[1][3][0]=new Option("Select Version For RM9800 8 Station"," ");
secondGroup[1][3][1]=new Option("Version 3","24620.htm");

secondGroup[1][4][0]=new Option("Select Version For RM9800 10 Station"," ");
secondGroup[1][4][1]=new Option("Version 3","24621.htm");

secondGroup[1][5][0]=new Option("Wrong Selection, Select Model"," ");
secondGroup[1][5][1]=new Option("","");

-----------------------------------------------------------------------------------

I HAVE ATTACHED A COPY OF THE WHOLE SCRIPT SO YOU CAN SEE WHAT I MEAN. THANX.

ASAP
please please help!! thankyou!!

Spookster
08-15-2002, 03:17 AM
Change this:

function redirect2(z){
window.location=temp1[z].value
}

to this:

function redirect2(z){
window.open(temp1[z].value,'blankwin');
}

SystemDown
08-15-2002, 03:34 AM
Thank you spookster, word cant express my graditud, i have worked to solve this problem but now you saved my ***!

Thanx again, :p