sonic43
03-22-2005, 09:17 PM
I am trying to make a link code that when you role over it with the mouse it plays a song or sound anyone now how to do it
|
||||
need help with a link codesonic43 03-22-2005, 09:17 PM I am trying to make a link code that when you role over it with the mouse it plays a song or sound anyone now how to do it truviet911 03-22-2005, 09:26 PM you could do it easyly in dreamweaver by using behavior.. chilipie 03-22-2005, 09:26 PM For us to help you, you have to help us. Which scripting languages are you intending to use? What sound format is going to be played? The use of correct spelling, proper sentences and plenty of information is always a sure way to get help: give us a lot, and you'll get a lot. And welcome to the forums :) . sonic43 03-22-2005, 09:27 PM HTML mp3, mid, or wma sonic43 03-22-2005, 09:28 PM what is dreamweaver chilipie 03-22-2005, 09:33 PM what is dreamweaver ROFL :D . Google (http://www.google.com/search?q=dreamweaver) is your friend ;) . sonic43 03-22-2005, 09:38 PM and the link help i gave you what you needed sonic43 03-22-2005, 09:58 PM oh and also wav sonic43 03-23-2005, 08:08 PM please help me that is all the info i can give. So please supply me with an HTML code tommygunn 03-24-2005, 10:09 AM Hi, just download Dreamweaver from google and try that. Like the other boy said its in behaviour Daboyz 03-24-2005, 10:24 AM You can't do that with pure HTML (i dont think, and i get 19/20 in the W3schools test - and i self learned it, without their lessons) you would have to use java (if you dont use something like dreamweaver/Net objects etc) in the link you would have to put the event 'OnMouseOver: <insert script name here>' and have a script that uses java to play a sound, because it is hard to get HTML to play a sound through a background player unfortunately i don know much java, so i cant give you a script, i an only tell you what it would look like: <header> <script type="Javascript"> (javascript code here, for playing the file -which i dont know) </script> </header> <a href="ADDRESS" onMouseover: 'Ping'> that is roughly how it shouldbe set out :P sorry i couldnt help out more Jero 03-24-2005, 11:56 AM It's Javascript, not Java. That's a programming language. But you're right about using the onmouseover attribute. I don't know Javascript so you're better of asking here (http://www.codingforums.com/forumdisplay.php?f=2). However, I'd like to point out that doing this will increase your loading time A LOT, and it also breaks the accessibility. But I guess you don't care anyway... ronaldb66 03-24-2005, 12:31 PM so you're better of asking here Whoa there, buckaroo! Please don't cross-post; I'll ask a moderator to move this post to the appropriate forum since a JavaScript solution does seem like the most feasable one. |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum