* Home
* FrontPage Hosting
* mySQL Hosting
* Dedicated Servers
* Managed Services
* Domain Parking

Direct Email Marketing with Constant Contact

Search our FrontPage Support Area
FrontPage Support Area Site Map

How to use JavaScript to insert the proper sound tags

  1. Open the page (or create a page) in FrontPage Editor where you want the sound.
  2. Position your cursor where you want to place the tags.
  3. Click on Insert, HTML Markup.
  4. Paste the following code within the HTML Markup:

<script language="JavaScript">
document.write("<BGSOUND SRC=sound.mid LOOP=infinite>")
document.write("<embed src=sound.mid hidden=true align=baseline border=0 width=128 height=128 autostart=true autoplay=true>")

  1. Click on OK.


  1. Substitute the name of your midi file in place of "sound.mid" above.
  2. 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

Direct Email Marketing with Constant Contact

Dynamic Net, Inc.

Legal Notices; Copyright © 1996 - 2006 Dynamic Net™, Inc. All rights reserved.
See our privacy statement for questions on how we use information gained by our site.
Managed Services provided by We Manage Servers; hosted by Dynamic Net, Inc.
Last updated: Thursday November 16, 2006 18:22 -0500