It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
|
|
#1 (permalink) |
|
Senior Member
|
This code will add any music from your system to your home page enabling you to have your visitors entertained,
all you have to do is add this code to your Home page Simply insert the below into the <body> section of your page. Be sure to configure the URL to the music file inside the script: Code:
<script>
<!--
/*
Background music script
By Southy23*/
//specify FULL path to midi
var musicsrc="http://www.yourdomain.com/allfor.mid"
if (navigator.appName=="Microsoft Internet Explorer")
document.write('<bgsound src='+'"'+musicsrc+'"'+' loop="infinite">')
else
document.write('<embed src=\"'+musicsrc+'\" hidden="true" border="0" width="20" height="20" autostart="true" loop="true">')
//-->
</script>
__________________
YourOnlineXray |
|
|
|
|
|
|
|
#5 (permalink) |
|
Senior Member
Join Date: Sep 2006
Age: 22
Posts: 460
|
What's wrong with the html <embed> code?
Anyway, in most cases it's a bad idea to add music to your homepage. Only in special cases is it appropriate, otherwise it's annoying.
__________________
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Welcome to our new home! | lisah746 | All Things General | 7 | 08-02-2006 05:44 PM |
| Setting site as home page | natalie | Website Design | 0 | 07-13-2006 04:59 PM |
| Headshots on Home Page | gabriel | Graphics & Multimedia | 2 | 07-11-2006 02:47 AM |
| Take.ME.Home | .Exodus | Marketing | 10 | 05-10-2006 09:06 PM |