Results 1 to 5 of 5
January 30th, 2002, 11:37 PM #1
I've had a hard time figuring out how to post this question. I know it's easy enough, but can't for the life of me figure it.
I have a simple form with the typical buttons SUBMIT and CLEAR. My client (oh god, please don't even ask!) wants to add a third button to it -- DUCK.
When you push Duck, you get the sound of a duck quacking.
Ok, silly yes, but it's what he wants.
Anyway, I have no problem getting a simple image or rollover image to do that, but when within the bounds of a form field I have no clue! How do I get this darned thing to, when clicked on, call the .wav file and play it NOT open it in media player.
The only thing I can find on form field buttons is submit and clear. I did find one tutorial on making it make a sound, but it tampers with the whole form.
Any clues? Everyone think I'm absolutely nuts now?
ps. form in the works is at http://www.clearviewindustrial.com/request.html
January 31st, 2002, 11:14 AM #2
- Join Date
- January 18th, 2005
Jill, I'm not sure but you may be able to work with this applet!?
Or else you could make an applet with FP that plays the quack when you simple 'mouse over' a button. That way you would have to make the .wav a .au file though.
Hope that helps!
January 31st, 2002, 12:31 PM #3
INPUT TYPE="BUTTON" VALUE="DUCK" onClick ="self.location.href=('/duck.wav')
add a < in the front and a > at the end
January 31st, 2002, 01:32 PM #4
You guys rock [img]/infopop/emoticons/icon_smile.gif[/img] I TOLD him I'd find someone here who knew! onclick...THAT is what I was looking for (you know, one of those things you just can't remember but you know when you see it?!)
Off to try it now...Thanks, Haiko and Breeze
January 31st, 2002, 02:37 PM #5
Ok, works. One question though, how do you get it just to play? Right now, media player opens...is that just IE6/XP or is there something I'm still missing?
By KPR in forum Programming / Datafeeds / ToolsReplies: 11Last Post: June 25th, 2007, 07:31 PM
By Lurker Jones in forum Midnight Cafe'Replies: 4Last Post: October 1st, 2005, 07:43 PM
By Lasthope in forum Midnight Cafe'Replies: 6Last Post: September 10th, 2004, 12:08 AM