The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Sound Script Needed

+2
Yakko!
StoneRaven
6 posters

Go down

Solved Sound Script Needed

Post by StoneRaven Sat 24 Jul 2010 - 0:14

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
StoneRaven
Forumember

Male Posts : 142
Reputation : 0
Language : English

Back to top Go down

Solved Re: Sound Script Needed

Post by Guest Sat 24 Jul 2010 - 0:26

As i know, that works only in IE, here a tutorial i used. http://www.javascriptkit.com/script/script2/soundlink.shtml
avatar
Guest
Guest


Back to top Go down

Solved Re: Sound Script Needed

Post by StoneRaven Sat 24 Jul 2010 - 0:31

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
StoneRaven
Forumember

Male Posts : 142
Reputation : 0
Language : English

Back to top Go down

Solved Re: Sound Script Needed

Post by Guest Sat 24 Jul 2010 - 0:36

Ya it will be normal but without sound Smile
avatar
Guest
Guest


Back to top Go down

Solved Re: Sound Script Needed

Post by StoneRaven Sat 24 Jul 2010 - 1:01

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:
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
StoneRaven
Forumember

Male Posts : 142
Reputation : 0
Language : English

Back to top Go down

Solved Re: Sound Script Needed

Post by StoneRaven Mon 26 Jul 2010 - 23:04

BUMP

Can anyone help with this or is it a lost cause for me?
StoneRaven
StoneRaven
Forumember

Male Posts : 142
Reputation : 0
Language : English

Back to top Go down

Solved Re: Sound Script Needed

Post by StoneRaven Tue 27 Jul 2010 - 19:35

Since there is no help on this just lock it. It's not solved by any means but apparently a lost cause.
StoneRaven
StoneRaven
Forumember

Male Posts : 142
Reputation : 0
Language : English

Back to top Go down

Solved Re: Sound Script Needed

Post by Yakko! Wed 28 Jul 2010 - 13:51

It's difficult!

Do you find some music-banner?
in some forum?
Yakko!
Yakko!
Forumember

Male Posts : 661
Reputation : -5
Language : Italian, english, Français

Back to top Go down

Solved Re: Sound Script Needed

Post by Guest Wed 28 Jul 2010 - 14:06

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" Sound Script Needed Dawa_ ?
avatar
Guest
Guest


Back to top Go down

Solved Re: Sound Script Needed

Post by mollu Wed 28 Jul 2010 - 17:24

Take a look at this: http://tinyurl.com/23v53dp


Maybe also this helps: LINK
avatar
mollu
New Member

Posts : 5
Reputation : 0
Language : En/Ger/Et

Back to top Go down

Solved Re: Sound Script Needed

Post by StoneRaven Sun 8 Aug 2010 - 2:38

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" Sound Script Needed Dawa_ ?

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.

mollu wrote:Take a look at this: http://tinyurl.com/23v53dp


Maybe also this helps: LINK

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
StoneRaven
Forumember

Male Posts : 142
Reputation : 0
Language : English

Back to top Go down

Solved Re: Sound Script Needed

Post by kirk Sun 8 Aug 2010 - 3:07

mollu wrote:Take a look at this: http://tinyurl.com/23v53dp


Maybe also this helps: LINK

hahaha that tiny url is priceless i like that Smile

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
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Sound Script Needed

Post by StoneRaven Sun 8 Aug 2010 - 4:05

All I need is for this link banner to work
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
StoneRaven
Forumember

Male Posts : 142
Reputation : 0
Language : English

Back to top Go down

Solved Re: Sound Script Needed

Post by kirk Sun 8 Aug 2010 - 7:50

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.

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
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Solved Re: Sound Script Needed

Post by StoneRaven Sun 8 Aug 2010 - 10:11

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
StoneRaven
Forumember

Male Posts : 142
Reputation : 0
Language : English

Back to top Go down

Solved Re: Sound Script Needed

Post by RoNo Sun 8 Aug 2010 - 10:17

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
RoNo
RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Solved Re: Sound Script Needed

Post by StoneRaven Sun 8 Aug 2010 - 11:39

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
StoneRaven
Forumember

Male Posts : 142
Reputation : 0
Language : English

Back to top Go down

Solved Re: Sound Script Needed

Post by blindbat1457 Sun 8 Aug 2010 - 12:37

Flash Wink
Works on every browser and can do some amazing stuff.
blindbat1457
blindbat1457
Forumember

Male Posts : 667
Reputation : 6
Language : English
Location : Santa Clarita, CA

Back to top Go down

Solved Re: Sound Script Needed

Post by RoNo Sun 8 Aug 2010 - 13:04

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)
Sound Script Needed Th_mouseoversound_html01



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
RoNo
RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Solved Re: Sound Script Needed

Post by StoneRaven Sun 8 Aug 2010 - 13:54

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.
StoneRaven
StoneRaven
Forumember

Male Posts : 142
Reputation : 0
Language : English

Back to top Go down

Solved Re: Sound Script Needed

Post by RoNo Sun 8 Aug 2010 - 14:07

RoNo
RoNo
Active Poster

Male Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California

http://bf2mercenaries.forumotion.com/

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum