View Single Post
Old 02-11-2005, 04:16 AM   #1 (permalink)
pook
Registered User
 
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>
pook is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62