Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

54 users online



wav on mouse over?

wav on mouse over?

Currently viewing this thread: 1 (0 members and 1 guests)


Page 1 out of 2
argash

argash

Digital Dude
Status: Offline!

wav on mouse over?

God I dont think this has been done in ages but isn't it possible to play a small wav when mousing over something? anyone know? or am I thinking back to my brief flirtation with flash?

___________________

<IFRAME SRC="http://www.argash.com/sigpic/sigpic.html" FRAMEBORDER="0" HEIGHT="100" WIDTH="316" MARGINWIDTH="0" MARGINHEIGHT="0" NAME="sigpic"></IFRAME>

Skaggycom

Skaggycom

Katie...Shes my life.
Status: Offline!

I know that it is possible, but cant think of how to do it off the top of my head...ill lookd it up really quick and get back to you later on it.

___________________

Signature Suspended as it is in violation with the signature rules

argash

argash

Digital Dude
Status: Offline!

thanks Smile i've been looking all over the place

___________________

<IFRAME SRC="http://www.argash.com/sigpic/sigpic.html" FRAMEBORDER="0" HEIGHT="100" WIDTH="316" MARGINWIDTH="0" MARGINHEIGHT="0" NAME="sigpic"></IFRAME>

twigboy

twigboy

schoolgirls!
Status: Offline!

stick with flash =)

___________________

------
-twïg-
------
"All men are created equal. After that they're on their own"

argash

argash

Digital Dude
Status: Offline!

dont want to do it in flash. I want to be able to update the item manually with html when ever i want as its going to be dynamic

___________________

<IFRAME SRC="http://www.argash.com/sigpic/sigpic.html" FRAMEBORDER="0" HEIGHT="100" WIDTH="316" MARGINWIDTH="0" MARGINHEIGHT="0" NAME="sigpic"></IFRAME>

Guest

Guest

Anonymous Coward

It somewhat generic, and doesn't preload the sound files. Only works on IE4+..

//*******<Head>***********

<bgsound src="#" id=music loop=1 autostart="true">

<script language="JavaScript"><!--
// SOUND CONTROL /--------------------->
var dsound = new Array();
dsound[0] = "wavs/sone.mid";
dsound[1] = "wavs/stwo.wav";
dsound[2] = "wavs/sthree.wav";
// END SOUND CONTROL /-------------------->

function playsound(num){
document.all.music.src=dsound[num]
}
//--></script>

*********<Body>************

<a href="JavaScript://" onmouseover="playsound(1)">Play sound[1]</a>
<a href="JavaScript://" onmouseover="playsound(2)">Play sound[2]</a>
<a href="JavaScript://" onmouseover="playsound(3)">Play sound[3]</a>

argash

argash

Digital Dude
Status: Offline!

thanks man can you post it one more time though and click disable smilies? some of the code is displayed as smilies and messes up the code :)

___________________

<IFRAME SRC="http://www.argash.com/sigpic/sigpic.html" FRAMEBORDER="0" HEIGHT="100" WIDTH="316" MARGINWIDTH="0" MARGINHEIGHT="0" NAME="sigpic"></IFRAME>

Guest

Guest

Anonymous Coward

Damn Smiles =)

//*******<Head>***********

<bgsound src="#" id=music loop=1 autostart="true">

<script language="JavaScript"><!--
// SOUND CONTROL /--------------------->
var dsound = new Array();
dsound[0] = "wavs/sone.mid";
dsound[1] = "wavs/stwo.wav";
dsound[2] = "wavs/sthree.wav";
// END SOUND CONTROL /-------------------->

function playsound(num){
document.all.music.src=dsound[num]
}
//--></script>

*********<Body>************

<a href="java script://" onmouseover="playsound(1)">Play sound[1]</a>
<a href="java script://" onmouseover="playsound(2)">Play sound[2]</a>
<a href="java script://" onmouseover="playsound(3)">Play sound[3]</a>

twigboy

twigboy

schoolgirls!
Status: Offline!

hey can u use arrays for preloading pictures?

___________________

------
-twïg-
------
"All men are created equal. After that they're on their own"

angryblue

angryblue

music and art command me like a giant pair of giant radioactive shorts
Status: Offline!

for things like this it is a lot better to do it in flash though, right? that was its already loaded? depending on the size of the wav file and the user's connection, there may be delay.

with flash, there isn't. once you see a flash file, it doesn't even matter what your connection is because the entire thing is loaded into your cache (depending on whether you're doing load external movie commands or not)

___________________

<img src="http://graphicvoodoo.com/justink/images/sig2.jpg" border="1"><br>
<font size="-2"><a href="http://www.clockworkdesign.net/">Clockwork Design</a> · <a href="http://www.graphicvoodoo.com/justink/">GraphicVoodoo</a> · <a href="http://www.second-shot.com/">Second-Shot</a></font>

Page 1 out of 2
Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0082 seconds.