Sound Script Needed
+2
Yakko!
StoneRaven
6 posters
Page 1 of 1
Sound Script Needed
Can anyone please give me a script code to make a link banner play a sound when you hover over the image and stop when you move your mouse off the image? I have looked all over the place and all I can find is for flash, and I really don't want to use flash for this one. Thanks in advance.
Last edited by StoneRaven on Sun 8 Aug 2010 - 13:55; edited 1 time in total
StoneRaven- Forumember
- Posts : 142
Reputation : 0
Language : English
Re: Sound Script Needed
As i know, that works only in IE, here a tutorial i used. http://www.javascriptkit.com/script/script2/soundlink.shtml
Guest- Guest
Re: Sound Script Needed
If it only works in IE will it cause any issues with the other browsers? As in image and actual link issues, or will it be as if it's just a normal link banner and just not play a sound? And thanks for the fast reply.
StoneRaven- Forumember
- Posts : 142
Reputation : 0
Language : English
Re: Sound Script Needed
Ok as where I am really new to this script thing is there any way you can place this together for me? I know it's sad, sorry. I did try this and I couldnt get it to work. I'm kind of lost where step 3 was. I do not know where to put the event handlers.
This is the on click sound:
This is the hover over sound:
And this is the link banner:
Thanks for all your help!
This is the on click sound:
- Code:
http://www.OnClick.MP3
This is the hover over sound:
- Code:
http://www.OnHover.MP3
And this is the link banner:
- Code:
<A Href="http://www.myspace.com/blacksynapse"><img src="http://i38.tinypic.com/p2244.jpg" border="0"></a>
Thanks for all your help!
Last edited by StoneRaven on Sun 8 Aug 2010 - 3:25; edited 1 time in total
StoneRaven- Forumember
- Posts : 142
Reputation : 0
Language : English
Re: Sound Script Needed
BUMP
Can anyone help with this or is it a lost cause for me?
Can anyone help with this or is it a lost cause for me?
StoneRaven- Forumember
- Posts : 142
Reputation : 0
Language : English
Re: Sound Script Needed
Since there is no help on this just lock it. It's not solved by any means but apparently a lost cause.
StoneRaven- Forumember
- Posts : 142
Reputation : 0
Language : English
Re: Sound Script Needed
It's difficult!
Do you find some music-banner?
in some forum?
Do you find some music-banner?
in some forum?
Yakko!- Forumember
- Posts : 661
Reputation : -5
Language : Italian, english, Français
Re: Sound Script Needed
I will try to do, but only with hover, so give me a sound for it, and what do you mean with that "http://www.OnHover.MP3" ?
Guest- Guest
Re: Sound Script Needed
Gangstar15 wrote:I will try to do, but only with hover, so give me a sound for it, and what do you mean with that "http://www.OnHover.MP3" ?
It was meant as a holder that I could replace with my mp3 file. But basicly all I need is a working link banner that has a hover over sound. I can replace the used files with mine. But here is one that you can use to see if you can get it to work.
- Code:
http://www.fileden.com/files/2008/12/9/2217610/OnHover.MP3
Spacca wrote:It's difficult!
Do you find some music-banner?
in some forum?
No I didn't find one on a forum. I just thought it would be a nice addition to a few link banners that already have.
Those would be helpful if I wanted to use just a link or just a image but I need a link banner with this option.
Last edited by StoneRaven on Sun 8 Aug 2010 - 3:03; edited 1 time in total
StoneRaven- Forumember
- Posts : 142
Reputation : 0
Language : English
Re: Sound Script Needed
hahaha that tiny url is priceless i like that
Anyway i am on my old computer right now so i cant relay try to look at the coding and test a few things to see if it works etc.. but as soon as i am back on my normal computer i will have a look if it is not yet solved by them.
i am just wating for a dvd to burn so when that's finished i will check it out.
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Sound Script Needed
All I need is for this link banner to work
With this mp3 when the link banner is hovered on
All help is appreciated. But 1 quick question before anyone wastes anymore time on this request. Does the announcements area not work with these scripts? Have to ask because I used an unedited script that I knew would work for just a text link with hover as a test and it removed the script parts after it saved. All that was left was the text link but no script.
- Code:
<A HREF="http://www.myspace.com/blacksynapse"><img alt="Synapse" src="http://i38.tinypic.com/p2244.jpg" border="0"></A>
With this mp3 when the link banner is hovered on
- Code:
http://www.fileden.com/files/2008/12/9/2217610/OnHover.MP3
All help is appreciated. But 1 quick question before anyone wastes anymore time on this request. Does the announcements area not work with these scripts? Have to ask because I used an unedited script that I knew would work for just a text link with hover as a test and it removed the script parts after it saved. All that was left was the text link but no script.
StoneRaven- Forumember
- Posts : 142
Reputation : 0
Language : English
Re: Sound Script Needed
scripts codes should work in the announcements.
do you mean the announcements at the top of the forum.
or announcement option when creating a post,sticky or announcement.
well that script calls for haveing it in a template because it has to be in the head area of the page which is either located in the over all header template or footer template.. i think it is in the footer because i had to do something that required this in the past.
then you have to have the mp3 converted or uploaded as a wav file.
so i am sure there is a better script or code then that one.. the best bet is to google it.. i mean there are probably a zillion different ways for this.
but i am still testing something too. so i will let yous know how i make out with it..
do you mean the announcements at the top of the forum.
or announcement option when creating a post,sticky or announcement.
Gangstar15 wrote:As i know, that works only in IE, here a tutorial i used. http://www.javascriptkit.com/script/script2/soundlink.shtml
well that script calls for haveing it in a template because it has to be in the head area of the page which is either located in the over all header template or footer template.. i think it is in the footer because i had to do something that required this in the past.
then you have to have the mp3 converted or uploaded as a wav file.
so i am sure there is a better script or code then that one.. the best bet is to google it.. i mean there are probably a zillion different ways for this.
but i am still testing something too. so i will let yous know how i make out with it..
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: Sound Script Needed
Yes I meant to say announcements at the top of the forum sorry. I have googled out today LOL. I have spent the entire day looking for alt. scripts for this and they all are basicly the same with maybe 1 or 2 exceptions, but none that I have ran into seems to work for me. But if what you are working on dosent pan out it's cool and I thank you for you time. I will just have to live without that until I end up just doing it in flash. I would have done it already but I so hate messing with flash. But it's looking like the best option at this point.
StoneRaven- Forumember
- Posts : 142
Reputation : 0
Language : English
Re: Sound Script Needed
JavaScript works good in the homepage message content field.
The mouseover sound code I have isn't displaying properly when
posted here. Get the source code from →this page and add it to:
Admin Panel»Display»Homepage»Generalities»Message content
The mouseover sound code I have isn't displaying properly when
posted here. Get the source code from →this page and add it to:
Admin Panel»Display»Homepage»Generalities»Message content
Re: Sound Script Needed
Ok that code works in the announcements over the forum and in IE and Firefox both. Is their a setting somewhere in the admin panel that I can change to make this work in the portal widgets as this will not work in those and that's where I really needed it? And thank you for all the time you have spent on trying to help me.
StoneRaven- Forumember
- Posts : 142
Reputation : 0
Language : English
Re: Sound Script Needed
Flash
Works on every browser and can do some amazing stuff.
Works on every browser and can do some amazing stuff.
blindbat1457- Forumember
- Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA
Re: Sound Script Needed
Link the mouseover script in your widget...
Create an Html page titled sound1_js with the script
portion of the code. Leave out the <script></script> tags.
Admin Panel view (click)
Add the url of your new page to this
Place the script in your widget so it looks like this
Example: Mouseover/test the Big R Radio widget on Zone3
Create an Html page titled sound1_js with the script
portion of the code. Leave out the <script></script> tags.
Admin Panel view (click)
Add the url of your new page to this
- Code:
<script type="text/javascript" src="http://YOURS.forumotion.com/sound1_js-h1.htm"></script>
Place the script in your widget so it looks like this
- Code:
<script type="text/javascript" src="http://YOURS.forumotion.com/sound1_js-h1.htm"></script>
<div id="sound1"></div>
<center><a href="http://www.myspace.com/blacksynapse" onmouseover="playSound('http://www.fileden.com/files/2008/12/9/2217610/OnHover.MP3');"><img alt="Synapse" src="http://i38.tinypic.com/p2244.jpg" border="0" width="130" height="66"></a></center>
Example: Mouseover/test the Big R Radio widget on Zone3
Re: Sound Script Needed
Now that did the trick in IE and fox. Thank you!!!!
And by the way that test menu and the things just under the welcome on your site is cool.
And by the way that test menu and the things just under the welcome on your site is cool.
StoneRaven- Forumember
- Posts : 142
Reputation : 0
Language : English
Re: Sound Script Needed
This topic is closed. Glad to help. Tnx. LockedRoNo |
General rules Tricks & Tips FAQ listing | For founders who lost their passwords About support requests by PM Announcements & Updates |
Similar topics
» Sound script for AvacWeb Chatbox
» script needed
» script needed (help)
» script for portal needed
» Nice script needed..
» script needed
» script needed (help)
» script for portal needed
» Nice script needed..
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum