[wdvltalk] Re: javascript code check

2003-12-27 Thread JimMenees
Glad it worked out KoaFar! FYI to others, I created a dynamically written javascript which, onmouseover (or use an onClick event handler) would write the embed html code to an empty div layer which is positioned off the page (ie: not visible). The embed tag which is written to the div have the

[wdvltalk] Re: javascript code check

2003-12-27 Thread mrport
Glad you got it worked out! Riva On Sat, 27 Dec 2003 17:51:39 -0800 "K.F. Wu" <[EMAIL PROTECTED]> writes: > Thanks, Riva for replying offline. This topic is closed thanks to > Jim's div > script which I made a bit modification and works with both IE5.5 and > > NN6.2. I think it's good for me

[wdvltalk] Re: javascript code check

2003-12-27 Thread K.F. Wu
Thanks, Riva for replying offline. This topic is closed thanks to Jim's div script which I made a bit modification and works with both IE5.5 and NN6.2. I think it's good for me. If you are interested in the code, check the page: (I assume Jim won't mind sharing :) http://www.jaylight.org/fiat5

[wdvltalk] Re: javascript code check

2003-12-26 Thread K.F. Wu
Thanks Bj for replying. I took the extra ) off and it still not working; the error changed to: line 7, char 32, Object doesn't support this property or method. Any idea what's wrong now? btw, there is a sample demo that works in the IE on the URL you mentioned, but it doesn't work with my NN4.7

[wdvltalk] Re: javascript code check

2003-12-26 Thread Bj
I'm not sure what's wrong with the code you quote, apart from this obvious error: > if (sndAction == 'stop') sndObj.stop()); //stop, else play (There are two ")" after stop) Anyway there's some JS for playing WAV files on mouseover at http://jsarchive.8m.com/audio.html You might try using that