Sound Activated When A Search Result Is Found

A Member? Please Login  
type your username and password to login
Date: December 05, 2008, 04:20 AM
268327 members and 165338 Topics
Latest Member: Ayoben
Nairaland [Nigerian Forum] Home Help Search Who is currently online? Login Register
Nairaland Forum  |  Technology  |  Webmasters (Moderator: OmniPotens)  |  Sound Activated When A Search Result Is Found
Pages: (1) Go Down Send this topic Notify of replies
Author Topic: Sound Activated When A Search Result Is Found  (Read 123 views)
chatykrew (m)
Sound Activated When A Search Result Is Found
« on: September 04, 2007, 08:15 PM »

Hi guys, am designing my project work which designing an interactive website that activate a sound "fake drug" whenever a search result displays a fake drug and "genuine drug" whenever it gets a genuine drug.

Please i need help am using dreamweaver 8, asp, IIS 5.1 and IE 5.0 as my webbrowser, MS Access 2003.

Thanks
my2cents (m)
Re: Sound Activated When A Search Result Is Found
« #1 on: September 04, 2007, 08:30 PM »

so, although I don't use any of the technologies you have listed, here is what I would do, from a logic standpoint (I assume you would be doing an onload event for the sound.  Regardless, just plug in your code.  It should work):

  • You start off by having, say, A.sound and B.sound in your file system.  In your call to the file, you have a variable that holds either "A" or "B", depending on what kind of drug.
  • You determine the type of drug, based on type, you assign variable "A" or "B" like so:
    <?php echo $drugType; ?>.sound (where $drugType is either "A" or "B"

If you are using a database, then you get the value of the "drugType" column and again, based on type, assign the necessary variable.

That should do it.  If I don't understand, break it down for me and whoever happens to read this post as well.
 Help! Can Anyone Make A Browser Active.  Tops Links Bid Directory  Java Script  Page 2
Pages: (1) Go Up Send Topic to Friend by E-mail Reply 
Google
 
Web www.nairaland.com
Sections: TV/Movies (2) Music/Radio (2) Celebrities Job Talk Jobs/Vacancies (2) Career Talk Romance Books Politics Sports Fashion Travel
Health Schooling Religion General(2) Business Webmaster Programming Computers Phones Cars & Trucks

Links: Page1 Page2 Page3 Page4 Page5 Page6 Page7 Page8 Page9 Page10

Nairaland is owned by Oluwaseun Osewa
Nairaland Forum | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.