![]()
I've been asked a lot about music coding .. so - I'll add it here .. I'm going to do the coding for Netscape first since I am more familiar with it then do Internet Explorer
![]() Here's the coding and underneath I'll explain just want it is that each function does ...
VOLUME - okay this is a pet peeve of mine .. most people have this cranked right up - music is supposed to be in the background .. not a concert. So, I suggest having the volume at a level that is in the background and not going to send a visitor running for earplugs or away from your site. Besides several people surf at work and they shouldn't and that will just get them in hot water with their bosses and they'll leave your site faster than you can blink. CONTROLS - there are several control options - this one gives you the smaller box with just the stop, and play controls. Using HEIGHT and WIDTH gives you the small black box that can be right clicked on and doesn't detract from your page. AUTOSTART - this one I always recommend to be set at false - reason being .. this gives your visitor a choice of hearing music or not .. it is always preferrable to give a choice. This can be set at true to have the music start automatically. LOOP - this says home many times the midi file should repeat itself .. true is always playing - you can insert a number value instead for it to play that many times. Adding a Clickable Link instead This will allow your visitors to click on a link and have a window pop up with the player .. This is how I have chosen to do music on my pages .. I've used images to click on - but they really don't look good with this page :)
Internet Explorer Coding
![]()
![]() ![]()
|
|