![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I often use jump menus in my sites to save space if I need to list lots of documents such as PDF files. I have noticed though that I can only open the files in the main browser window and not as a blank page, so everytiem you click on a selected document and then close it, the whole site closes too. I put links on the documents so that people have a way to return to the site but i know there should be a way to hard code the java script that controls the jump menus. Does anyone out there know how to do this? |
|
script language="JavaScript" type="text/JavaScript" !-- function MM_jumpMenu(targ,selObj,restore){ //v3.0 eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } //-- /script |
|
select name="menu1" onChange="MM_jumpMenu('parent',this,1)" width="200" |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Thanks very much...I had no idea it would be such a small change...... Much appreciated. |
![]() |
| Thread Tools | |
| Display Modes | |
| |