Search in forum:
Search


Author Message
Post11/03/2008 at 3:10pm (UTC)    
Post subject: Background Music

Description:

Liven up your webpage with music, using this cross browser background music script. Note that the visitor's browser must have the appropriate midi plugin installed in order to hear it (default download with full install of both NS and IE).

Code:
<script>
    <!--
    //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>
Post12/13/2008 at 2:06pm (UTC)    
Post subject: Re: Background Music

freetrafficexchange wrote:
Description:

Liven up your webpage with music, using this cross browser background music script. Note that the visitor's browser must have the appropriate midi plugin installed in order to hear it (default download with full install of both NS and IE).

Code:
<script>
    <!--
    //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>
Display posts from previous:   


Powered by phpBB © 2001, 2005 phpBB Group