navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

background sound codes

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> background sound codes
Page: [1]
 
Flex

 

Posts: 28
Joined: 9/11/2003
From: Fraser, MI
Status: offline

 
background sound codes - 11/24/2003 21:54:05   
Outfronters:

I've installed through the page properties a background sound file. My questions are:

  • Can I add a user control button to turn the sound on/off?
  • Do you know a javascript code for this?
  • What's the best sound file extension to use?
  • How can I make a link to the sound file?


Thanks,

Flex

_____________________________

Giomanach

 

Posts: 6128
Joined: 11/19/2003
From: England
Status: offline

 
RE: background sound codes - 11/25/2003 11:19:38   
Here we go...

1. Control on/off for sounds is only available with Flash at the moment, no other script for webpages has it yet.

2. Javascript won't do it. Java will, but it will be embedded within the Java Applet, so the answer to this one is no

3. the best file extension is either .mid or .au for one main reason. They are small files, and will play on virtually any media player.

4. Link to a sound file, two main ways for this:

4a. Backgroud sound - in the <head> tag enter this:- <bgsound src="yoursong.mid" loop="-1">. This will download and play throughout the time the surfer is on that page, the song will repaeat until they exit the page.

4b. Download - Where you want the download link enter this <a href="yoursong.mid">Download</a> That will either opne from current location or ask for a target to save to

Hope this answers your questions


Thumbnail Image
:)

Attachment (1)

_____________________________




(in reply to Flex)
Page:   [1]

All Forums >> Web Development >> General Web Development >> background sound codes
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts