I'm having trouble with the menus. Say that I want to jump to a location inside a web page. My page is titled "king.html" and contains anchors (<a name="whatever"></a>) of #1-5.
Is the correct code this:
<select onchange="GoURLValue(this);">
<option value="king.html#1" selected>Chapter I</option>
<option value="king.html#2">Chapter II</option>
<option value="king.html#3">Chapter III</option>
<option value="king.html#4">Chapter IV</option>
<option value="king.html#5">Chapter V</option>
</select>
Or this:
<select onchange="GoURLValue(this);">
<option value="#1" selected>Chapter I</option>
<option value="#2">Chapter II</option>
<option value="#3">Chapter III</option>
<option value="#4">Chapter IV</option>
<option value="#5">Chapter V</option>
</select>
Thanks!
Quote:
Originally Posted by iSilo
Yes, you can leave out the JavaScript code. But if you wanted your menu jumping capability to also work with browsers (that support JavaScript), such as IE and Netscape, then you would include the JavaScript code.
Yes, the JavaScript code could be whatever code you wanted it to be. iSiloX essentially ignores it.
|