Make A Jump Menu
Autor: M.
Besucht 2230,
Followers 2,
Geteilt 19
Hi. How can I insert a jump menu on a pages of my site? In old version X5 evo 8 I am done the next: 1. Insert HTML code choose a page 1 2 3 2. Add to the x5engine.js in program directory the next: function MM_jumpMenuGo(objId,targ,restore){ //v9.0 var selObj = null; with (document) { if (getElementById) selObj = getElementById(objId); if (selObj) eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); if (restore) selObj.selectedIndex=0; } } In Evo 8 everything was OK, but when I update to Evo 9 my jump menu is not working. What can I do? Thanks.
Gepostet am
Autor
1. Insert HTML code "
<form id="form1">
<select name="jumpMenu1" id="jumpMenu1">
<option value="">choose a page</option>
<option value="1.html">1</option>
<option value="2.html">2</option>
<option value="3.html">3</option
<input type="button" name="go_button" id= "go_button" value="GO" onclick="MM_jumpMenuGo('jumpMenu1','parent',1)" />
</form>
Hello,
You should recreated your HTMl code.
we suggest of insert the link to function MM_jumpMenuGo(objId,targ,restore) with file js that you have inserted. For make them you should click on "property page" -> Tab Expert and insert the link js in the section "custom codeto insert:Before the </HEAD>tag"
After you can insert at the past 3 an object HTMl code with inserting the attachment to code an you can write the HTMl code with tag <form> and call tojavascript function.