Forum Home
|
Marketplace
|
Articles
|
Blogs
|
Interviews
|
Tools
REGISTER
|
SEARCH
|
MEMBERS
|
F.A.Q.
Register Here
Forum Rules
Webmaster-Talk.com
>
Coding Talk
>
HTML Forum
>
<bgsound src> stop button
Link Back
Thread Tools
<bgsound src> stop button
07-22-2005, 09:38 AM
#
1
(
permalink
)
<bgsound src> stop button
Lyle Christine
Novice Talker
Posts: 5
Talkupation:
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.
When You
Register
, These Ads Go Away!
07-22-2005, 11:29 AM
#
2
(
permalink
)
Minaki
Defies a Status
Posts: 1,626
Location: Guildford, UK
Talkupation:
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!"
Inoxia Pyrotechnics Supplies
|
Surrey Angels Cheerleading Squad
07-22-2005, 12:11 PM
#
3
(
permalink
)
numbenator
Ultra Talker
Posts: 413
Location: London
Talkupation:
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.
__________________
www.mastech-solutions.com
07-22-2005, 12:29 PM
#
4
(
permalink
)
Harvey
Super Spam Talker
Posts: 901
Name: Harvey C
Location: Brighton, UK
Talkupation:
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
__________________
Buy wii fit
|
Gift ideas
« Reply to
<bgsound src> stop button
Previous Thread
|
Next Thread
Webmaster-Talk.com
>
Coding Talk
>
HTML Forum
>
<bgsound src> stop button
Thread Tools
Show Printable Version
Email this Page
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
vB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
Off
Webmaster Resources Marketplace:
Software Development Company
|
Webhosting.UK.com
|
Text Link Brokers
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
Mark Forums Read
-
View Forum Leaders
-
Contact Us
-
Webmaster Forum
-
Advertise
-
Archive
-
Privacy Statement
-
Top
Page generated in
0.11686
seconds with
12
queries