![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
IE5.5 It's probably an oft repeated question but I have some code that used to work but does not now. This line in my Javascript code give an error now. document.embeds[Math.floor(Math.random()*6)].play(); snip |
#3
| |||
| |||
|
|
Richard Brooks wrote: IE5.5 It's probably an oft repeated question but I have some code that used to work but does not now. This line in my Javascript code give an error now. document.embeds[Math.floor(Math.random()*6)].play(); snip if((document.embeds)&& (document.embeds.length >= 5)){ var em = document.embeds[Math.floor(Math.random()*6)]; em.volume = -1; em.play(); } - Seems to work OK on IE 6. Richard. |
![]() |
| Thread Tools | |
| Display Modes | |
| |