Need help with javascript menu
What I have below is nearly what I need. Not being a programmer, I need help on a couple of things.
1) I want the font for the menu items to be verdana, size 1
2) When a selection is made I want the file save dialogue box to automatically open so the user can save the file. I don't want the file to automatically play.
If anyone can repost with those added items I'd appreciate it.
Pook
<script type="text/javascript">
function ViewTOC (selSelectObject) {
if (selSelectObject.options[selSelectObject.selectedIndex].value != "") {
location.href=selSelectObject.options[selSelectObject.selectedIndex].value
}
}
</script>
<select name=toc size=5 onchange=ViewTOC(this); >
<option value="soundfile.mp3">Soundfile 1</option>
<option value="soundfile2.mp3">Soundfile 2</option>
</select>
|