Welcome Guest ( Log In | Register )




                Web Hosting Guide

 
Reply to this topicNew Topic
Sounds With Links, how do you do it?
webdesignunlimit...
post Oct 8 2005, 12:35 PM
Post #1


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 30
Joined: 5-October 05
Member No.: 8,922


I was wondering to myself the other day, "some websites, when you hover over one of their links, make a sound like a bleep or something. Wouldn't that be good to have". So, I want to know if anyone knows how to do it! biggrin.gif
Go to the top of the page
 
+Quote Post
PureHeart
post Oct 8 2005, 01:11 PM
Post #2


Premium Member
Group Icon

Group: Members
Posts: 212
Joined: 7-October 05
From: RMIT University
Member No.: 8,966
myCENTs:65.61


QUOTE(webdesignunlimited @ Oct 8 2005, 07:35 PM)
I was wondering to myself the other day, "some websites, when you hover over one of their links, make a sound like a bleep or something. Wouldn't that be good to have". So, I want to know if anyone knows how to do it! biggrin.gif
[right][snapback]55965[/snapback][/right]


Do you use Dreamweaver. In that program, we can make the browser to play a sound when user move their mouse on an object (there're many other events to choose from).

Another way to so if to use FLASH. This way is easier and should make fast loading site too.
Go to the top of the page
 
+Quote Post
webdesignunlimit...
post Oct 8 2005, 04:23 PM
Post #3


Member [ Level 1 ]
Group Icon

Group: Members
Posts: 30
Joined: 5-October 05
Member No.: 8,922


No, sorry, i don't use dreamweaver, i use frontpage sad.gif
Go to the top of the page
 
+Quote Post
Quatrux
post Oct 9 2005, 07:19 AM
Post #4


the Q
Group Icon

Group: [HOSTED]
Posts: 1,355
Joined: 13-July 05
From: Lithuania, Vilnius
Member No.: 7,059
myCENTs:82.09


I don't really like sounds in websites, but this is my personal taste and opinion, I think that people should be allowed to choose to use sounds or not.. smile.gif
Go to the top of the page
 
+Quote Post
Hercco
post Oct 9 2005, 02:46 PM
Post #5


Super Member
Group Icon

Group: Members
Posts: 595
Joined: 4-September 04
Member No.: 228


How it is done in DreamWeaver? Couild someome copy & paste some example code.
Go to the top of the page
 
+Quote Post
Houdini
post Oct 9 2005, 04:50 PM
Post #6


Super Member
Group Icon

Group: Members
Posts: 572
Joined: 25-April 05
From: Nashville Tennessee
Member No.: 4,340


Use Javascript for that kind of stuff. Here's some code for you:

CODE
<script language="JavaScript">
<!--
// Script Source:  www.CodeBrain.com

var audioOn = false;
function audioDo(doWhat,toWhat){
  if(audioOn){
     var A = eval('document.'+toWhat);
     if (A != null){
        if (doWhat=='stop') A.stop();
        else{
           if (navigator.appName == 'Netscape') A.play();
           else{
              if (document.M == null){
                 document.M = false; var m;
                 for(m in A) if (m == "ActiveMovie"){
                    document.M = true; break;
                    }
                 }
              if (document.M) A.SelectionStart = 0;
              if (document.M) A.play();
           }
        }
     }
  }
}

//-->
</script>


And here is a link to where it came from get the kit and you can play around with it till you get what you want, then all you need is to get a bunch of sounds to go with the events.

I used to do that with static web pages but am more into PHP and so forth. but hope that gets you started.

This script can be found in its entirety right at this link to sound kit
Look Almost all the way down the page and find the Essential Tricks category and look for the JavaScript Sound Download Kit and you should have more than you need to accomplish your task.
Go to the top of the page
 
+Quote Post
dijkiej
post Oct 15 2005, 09:54 AM
Post #7


Newbie [ Level 1 ]
Group Icon

Group: Members
Posts: 5
Joined: 15-October 05
Member No.: 9,125


Before you add sounds to your links, think about your guests.
Do they like sounds?

You can ask them with a Poll on your website! smile.gif
Go to the top of the page
 
+Quote Post

Reply to this topicNew Topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   14 Grafitti 3,349 26th October 2009 - 06:34 AM
Last post by: iG-Khalid Mehmood Awan
No New Posts   14 demolaynyc 14,269 30th April 2009 - 07:34 AM
Last post by: HarryZhen1990
No New Posts   0 laniczech 1,452 25th December 2008 - 01:37 AM
Last post by: laniczech
No New Posts   7 Darasen 1,376 24th August 2008 - 02:04 PM
Last post by: jlhaslip
No New Posts   9 szupie 3,325 16th August 2008 - 09:14 PM
Last post by: Guest
No new   24 vujsa 6,399 1st August 2008 - 02:15 PM
Last post by: FreakinBro
No New Posts   2 Mordent 613 29th May 2008 - 01:54 PM
Last post by: Mordent
No New Posts   11 kenjvalip 2,533 20th February 2008 - 07:15 AM
Last post by: Habble
No New Posts 1 Mayur Ahir 672 13th February 2008 - 08:35 AM
Last post by: vmkrightpoint
No New Posts 9 miCRoSCoPiC^eaRthLinG 2,944 30th December 2007 - 05:10 PM
Last post by: ScepterDonFetti
No New Posts 15 Niru 2,977 15th July 2007 - 10:00 AM
Last post by: Ajay Shivaa
No New Posts   5 thekpo 1,853 9th April 2007 - 07:00 AM
Last post by: eminus
No New Posts   3 ginginca 1,081 8th July 2006 - 02:59 AM
Last post by: Arbitrary
No New Posts 3 Find3r 1,329 30th April 2006 - 01:17 AM
Last post by: Opethian
No New Posts   0 shiv 2,177 20th March 2006 - 08:16 PM
Last post by: shiv


Web Hosting Powered by ComputingHost.com.
HONESTY ROCKS! truth rules.
Creative Commons License