Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: irt.org FAQ Knowledge Base Q1223, June 29, 2001 at 01:03:26:

You are here: irt.org | About | Feedback | 2920 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q1223

Sent by
Shibu Nair on June 29, 2001 at 01:03:26:

Length:
Too long

Comments:
Hello., The Below code works in Both IE and Netscape.

<script language="JavaScript">

function MM_controlSound(x, _sndObj, sndFile) { //v3.0
var i, method = "", sndObj = eval(_sndObj);
if (sndObj != null) {
if (navigator.appName == 'Netscape') method = "play";
else {
if (window.MM_WMP == null) {
window.MM_WMP = false;
for(i in sndObj) if (i == "ActiveMovie") {
window.MM_WMP = true; break;
} }
if (window.MM_WMP) method = "play";
else if (sndObj.FileName) method = "run";
} }
if (method) eval(_sndObj+"."+method+"()");
else window.location = sndFile;
}
</script>
<a href="anklet.htm" onMouseOut="ChangeImageOver('l1')" onMouseOver="ChangeImage('l1');MM_controlSound('play','document.CS993792961750','Laser.wav')">
<body>

</body>


Other feedback on 'irt.org FAQ Knowledge Base Q1223' - show all

©2018 Martin Webb