Forum Moderators: phranque
Does anyone know a way around this. The nice thing about this script is it doesn't require the user to have to press a submit button, but automatically directs the user to the desired page. Here is the script format:
<FORM name="guideform">
<SELECT name="guidelinks" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<OPTION SELECTED>--Select Option--
<OPTION value="/page1.html">Page1
<OPTION value="/page2.html">Page2
<OPTION value="/page3.html">Page3
</SELECT>
</FORM>
I like the way the script works, but need to have my site pages spidered, so I will likely need a new format. Does anyone have any suggestions as to what to do?
<NOSCRIPT><INPUT type="submit" value="Go" name="guideform"></NOSCRIPT>
This would allow users to execute the drop down menu if they don't have javascript enabled, but would the SE spiders/bots be able to then follow the links, or do I need to include anchor text links in the noscript?
<form name="guideform">
<select name="guidelinks" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option selected>--Select Option--</option>
<option value="/page1.html"><a href="/page1.html">Page1</a></option>
<option value="/page2.html"><a href="/page2.html">Page2</a></option>
<option value="/page3.html"><a href="/page2.html">Page3</a></option>
</select>
</form>