| 
               
   
 
 
  
   
  Home 
      
FrontPage Hosting 
        
mySQL Hosting 
      
Dedicated Servers 
      
Managed Services 
        
Domain Parking 
                | 
               
               
 
 
 
  
    
Search our FrontPage Support Area 
FrontPage Support Area Site Map 
     
   
 
                
               How to use 
               JavaScript to insert the proper sound tags
               
                    - Open the page (or create a 
                    page) in FrontPage Editor where you want the sound.
 
                    - Position your cursor where 
                    you want to place the tags.
 
                    - Click on Insert, HTML 
                    Markup.
 
                    - Paste the following code 
                    within the HTML Markup:
 
                
               
                    <script 
                    language="JavaScript"> 
                    <!-- 
                    if(navigator.appName.indexOf("Microsoft",0)>=0) 
                    { 
                    document.write("<BGSOUND SRC=sound.mid LOOP=infinite>") 
                    } 
                    else 
                    { 
                    if(navigator.appName.indexOf("Netscape",0)>=0) 
                    document.write("<embed src=sound.mid hidden=true 
                    align=baseline border=0 width=128 height=128 autostart=true 
                    autoplay=true>")  
                    } 
                    //--> 
                    </script> 
                
               
                    - Click on OK.
 
                
               Notes 
               
                    - Substitute the name of your 
                    midi file in place of "sound.mid" above.
 
                    - If your midi file is not in 
                    the same directory as your HTML file, then prefix the sound 
                    file with the relative or full path to the file.
 
                
               
               Peter Abraham  |