Forum Moderators: martinibuster
<div id="homeQuickLinks">
<script language="javascript">function openURL() {
if (document.frmLink.select.value!="") {
var load = window.open(document.frmLink.select.value);
}
}</script>
<form name="frmLink">
<select name="select" onchange="javascript: openURL();">
<option value="http://ABC.com">ABC</option>
<option value="http://123.com">123</option></select>
</form>
</div>
When creating your links, format them so they'll offer a static link as well as calling a JavaScript function. That way you'll have the Ajax functionality for JavaScript users, while non-JavaScript users can ignore the script and follow the link. For example:<a href=”ajax.htm?foo=32” onClick=”navigate('ajax.html#foo=32'); return false”>foo 32</a>