Go Back   CodingForums.com > Web Projects and Services Marketplace > Web Projects > Small projects (quick fixes and changes)

Notices

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-24-2009, 03:28 AM   PM User | #1
lthawkes
New to the CF scene

 
Join Date: Mar 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
lthawkes is an unknown quantity at this point
Thumbs up Need help with a "got ya gag" surprise

1) Project Details: (be as specific as possible): I'm not a programer, so I thought I would see if this catches anyone's interest.

What I'm looking for is a web page that has a small image on it that is used with the java onmouseout command that in turn initiates a .wav file.
Note: no onmouseover needed or wanted.

The image needs to just be a reference to a file on the hard drive that I can change to different images as needed.

Also the .wav file needs to be reference from the hard drive likewise. once the code works I can edit these two areas.

The purpose of this is to leave this web page up with the mouse arrow inside the image when walking away from the computer, and then having someone come along who thinks they are going to use your computer to do something and make it look like you did it. For example use your email to send some unsuspecting person a love note. But, when they move the mouse off of the image the onmouseout will initiate a .wav file which with the speakers turned up full blast, will play a siren that alerts everyone in the area and causes the person to have a panic that they deserve.

2) Payment Amount: If you like the idea, hopefully your willing to donate to the fun.

3) Payment method/ details (Paypal, check? Timeline?):

4) Additional Info (about project or potential bidders):

Last edited by lthawkes; 03-24-2009 at 08:32 PM.. Reason: Resolved
lthawkes is offline   Reply With Quote
Old 03-24-2009, 05:43 PM   PM User | #2
Rowsdower!
Senior Coder

 
Rowsdower!'s Avatar
 
Join Date: Oct 2008
Location: Some say it's everything.
Posts: 2,007
Thanks: 5
Thanked 395 Times in 388 Posts
Rowsdower! has a spectacular aura aboutRowsdower! has a spectacular aura aboutRowsdower! has a spectacular aura about
This is really not the appropriate way to go about asking for this service as this is a paid work forum.

That said, I was bored so I made a simple page that will do as requested in Internet Explorer. See attached...

Unzip everything to the same folder and test it out. Just replace the image (name the file "image.jpg") and the sound (name the file "noise.mp3") with whatever it is you have in mind and you won't have to change anything else.

If you want to use a *.wav file or a different image format you will have to adjust the HTML file accordingly but it should be hard to get lost in so doing...

Just open up "page.html" in Notepad and change the references on lines 7 and 12 of the HTML file to use whatever file extension you are after.

Please kindly mark your thread here as "resolved" as well so that nobody wastes time reviewing something that has already been covered.

Cheers and good luck!
Attached Files
File Type: zip onmouseout_alert.zip (22.0 KB, 78 views)
__________________
The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
See Mediocrity in its Infancy
It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
Seek and you shall find... basically:
validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting
Rowsdower! is offline   Reply With Quote
Users who have thanked Rowsdower! for this post:
lthawkes (03-24-2009)
Old 03-24-2009, 08:35 PM   PM User | #3
lthawkes
New to the CF scene

 
Join Date: Mar 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
lthawkes is an unknown quantity at this point
Thumbs up

Sweet, Thanks a bunch. This will do the trick perfectly. I'm sure this will be alot of fun.

Your help is greatly appreciated.

Larry
lthawkes is offline   Reply With Quote
Old 03-24-2009, 08:50 PM   PM User | #4
Rowsdower!
Senior Coder

 
Rowsdower!'s Avatar
 
Join Date: Oct 2008
Location: Some say it's everything.
Posts: 2,007
Thanks: 5
Thanked 395 Times in 388 Posts
Rowsdower! has a spectacular aura aboutRowsdower! has a spectacular aura aboutRowsdower! has a spectacular aura about
No problem, enjoy!
__________________
The object of opening the mind, as of opening the mouth, is to shut it again on something solid. –G.K. Chesterton
See Mediocrity in its Infancy
It's usually a good idea to start out with this at the VERY TOP of your CSS: * {border:0;margin:0;padding:0;}
Seek and you shall find... basically:
validate your markup | view your page cross-browser/cross-platform | free web tutorials | free hosting
Rowsdower! is offline   Reply With Quote
Old 03-25-2009, 05:20 PM   PM User | #5
lthawkes
New to the CF scene

 
Join Date: Mar 2009
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
lthawkes is an unknown quantity at this point
It works great. We caught the main culprit this morning. We had it play a .wav file that sounded a siren and also said "Warning Intruder alert".

He had such a red face and look of shock . The humor was fun for all in the area.

Edit:
Oh yes, We found that the audio was easily canceled with the escape key. To help with this problem we found that having another window open (any other program) and with it being the active window, the escape key didn’t work to cancel the audio in our java script window.

Last edited by lthawkes; 03-25-2009 at 05:26 PM..
lthawkes is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 06:57 AM.


Advertisement
Log in to turn off these ads.