Mindre syntax problem
Jeg bruger en select box option på min side.. som ser sådan ud:<select class="option" name="work" size=1 onChange="gaaTil(this);">
<option value="" selected> /// menu
<option value="splashes/splash1/index.html"> Splash #1
<option value="3dprojects/index.html"> 3d experiments
<option value="ukpictures/index.html"> UK Pictures (new)
</select>
Men hvordan kan jeg lave et mellemrum mellem forskellige menu punkter.. ex. efter menu mellemrum.. og så splash1..
mit javascript ser sådan ud:
<script>
<!--
function gaaTil(sel) {
ind = sel.selectedIndex;
if (ind != 0)
parent.frames["main"].location.href = sel.options[ind].value;
}
function MM_displayStatusMsg(msgStr) { //v1.0
status=msgStr;
document.MM_returnValue = true;
}
//-->
</script>
