Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
<bgsound src> stop button
Old 07-22-2005, 08:38 AM <bgsound src> stop button
Novice Talker

Posts: 5
Trades: 0
Is it possible to code a 'stop button' for a page that has a <bgsound source> playing a looped wav. file.

I know I could get an interface using <embed> but they look really tacky.

Thanks for your help.
Lyle Christine is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-22-2005, 10:29 AM
Minaki's Avatar
Defies a Status

Posts: 1,626
Location: Guildford, UK
Trades: 0
Personally I'd havily advise against using bgsound, or any type of sound on a web page (unless it's a user initiated thing).

A lot of people, (me included), simply hit the close button as soon as they hear music coming from a site.
__________________
Minaki Serinde MCP
"Wow, Linux is nearly on-par with Windows ME!"

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Minaki is offline
Reply With Quote
View Public Profile Visit Minaki's homepage!
 
Old 07-22-2005, 11:11 AM
numbenator's Avatar
Webmaster Talker

Posts: 523
Location: London
Trades: 0
WHY do you hit clsoe button when you hear music. I don't believe this is a norm. People would normally switch thier volume of on pc if they don't want to hear.
__________________

Please login or register to view this content. Registration is FREE
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
Old 07-22-2005, 11:29 AM
Harvey's Avatar
Super Spam Talker

Posts: 901
Name: Harvey C
Location: Brighton, UK
Trades: 0
I too would advise against having background sound, but here's the code:

HTML Code:
<input type="button" value="Stop" onclick="document.music.stop();document.cookie='SO=N;PATH=/;'">
It goes in a form
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
Harvey is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to <bgsound src> stop button
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.16001 seconds with 12 queries