Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,162,674 members, 7,851,295 topics. Date: Wednesday, 05 June 2024 at 04:32 PM

Sound Activated When A Search Result Is Found - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Sound Activated When A Search Result Is Found (791 Views)

10 Smart Ways To Dominate Google’s Top 10 Search Result / My Web App: NoPay - A Search Engine For Free Things Like Airtime, Data, Etc / Building A Search Engine Like Google (2) (3) (4)

(1) (Reply)

Sound Activated When A Search Result Is Found by chatykrew(m): 8:15pm On Sep 04, 2007
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
Re: Sound Activated When A Search Result Is Found by my2cents(m): 8:30pm On Sep 04, 2007
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):

[list]
[li]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.[/li]
[li]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"[/li]
[/list]

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.

(1) (Reply)

Need Help, Integrating Barcode With Php / A Forum For Nigerian Computer Scientist / Web4africa Launches New Hosting Packages

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 10
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.