music on site built in html

Joined
12 Feb 2006
Posts
17,639
Location
Surrey
is this possible? i know it can easily be done in flash but no clue how to in html.

I know music on sites suck a lot, but the guy wants it if its possible.

Also while im here i stuck trying to get a page in the middle of the broswer window for the top and bottom. I can do it so its in the middle for left and right easy peesy, but troulbe is its just going to the top

im using margin: auto; at the moment and thought that that was all that was needed but obvioulsy not.

So how do i do it?

The content has a fixed height and width.

oh and also is there any javscripts that have a delayed fade in affect (sp?) for images and then it stops, e.g. the guys want first his logo to fade in, then the images, then the rest of the content.
 
Last edited:
if you are lazy
Code:
<embed src="http://www.somesite.com/somefile.mp3">
else
Code:
<object width="blah" height="blah">
<param name="audio" value="somefilename.mp3">
<embed src="somefilename.mp3" width="blah" height="blah">
</embed>
</object>
 
Last edited:
is this a good idea? i hate it when a website starts playing sounds. it's not so bad if it's flash and it has a mute/stop button but embedding it in a page will make a lot of people reach straight for the back button. or is it just me who's a miserable old git? :D
 
marc2003 said:
is this a good idea? i hate it when a website starts playing sounds. it's not so bad if it's flash and it has a mute/stop button but embedding it in a page will make a lot of people reach straight for the back button. or is it just me who's a miserable old git? :D
Nah, im sitting in the same chair as you on this :p
 
marc2003 said:
is this a good idea? i hate it when a website starts playing sounds. it's not so bad if it's flash and it has a mute/stop button but embedding it in a page will make a lot of people reach straight for the back button. or is it just me who's a miserable old git? :D

me too, i hate it, but the guy wants it so if its easy to put in i guess i will.

Is there not a way to make it so the music is stopable and also to have it as off when you first load the page and then you can if you want play the music?
 
Back
Top Bottom