»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 11-01-2003, 04:49 AM   #1 (permalink)
Registered User
 
Join Date: Mar 2003
Location: Surrey, UK
Posts: 74
fishsponge is on a distinguished road
Send a message via ICQ to fishsponge Send a message via AIM to fishsponge Send a message via Yahoo to fishsponge
Kids Can't get "embed" and browser detection working...

Hey ppl... can anyone help? I can't get my browser detection and MIDI file to work in Netscape... here's the code i'm using:
Code:
<SCRIPT LANGUAGE="JavaScript"> <!--
if (navigator.appName == "Netscape")
 { document.write('<embed SRC="music.mid" AUTOSTART=true HIDDEN=true LOOP=true></embed>');
 }
 else
 { document.write('<bgsound src="music.mid" loop=-1 width=200 height=55>');
 }
//-->
</SCRIPT>
i've placed the code into "index.htm" here:
Code:
<html>
<head><title></title></head>
<body>
(SCRIPT STARTS HERE)
any ideas why Netscape doesn't play the MIDI file, but IE does??

Thanks in advance...

__________________
><> FishSponge <><
Registered Linux User: 313906

FOR ALL YOUR UNIX QUESTIONS & DISCUSSIONS, VISIT: http://unixforum.co.uk
fishsponge is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 06:56 AM.