Solved

playing bgsound in IE and Netscape

Posted on 1999-01-14
1
263 Views
Last Modified: 2006-11-17
Is there a script to play the same bgsound in either IE and/or netscape?  
0
Comment
Question by:slyly
1 Comment
 
LVL 11

Accepted Solution

by:
kmartin7 earned 80 total points
ID: 1276931
<script language="JavaScript">
<!--
if ("Netscape" == navigator.appName)
document.write("<embed src=sound1.wav autostart=true loop=true hidden=true volume=75%>")
else
document.write("<bgsound src=sound1.wav loop=infinite>")
//-->
</script>


Kurt
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
HTTPS jquery doesn't work 9 62
Jquery GMAP3 Hierarchy 1 28
Jquery keyup 4 20
"Pause" execution of javascript function for x miliseconds 2 28
This article shows how to create and access 2-dimensional arrays in JavaScript.  It includes a tutorial in case you are just trying to "get your head wrapped around" the concept and we'll also look at some useful tips for more advanced programmers. …
I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question