CyberiaPC.com Community Forums Main Page
RSS Feeds: Late(st) News | Zenith Picture Gallery | Most Recent Community Topics | Tips, Tricks and Other Useful Stuff

Welcome Guest ( Log In | Register )

Reply to this topicStart new topic
> Music & IE
PamBreeze
post Sep 28 2007, 01:40 AM
Post #1


New Member
*

Group: Members
Posts: 44
Joined: 11-August 07
From: Pennsylvania, USA
Member No.: 8,635

United States




Okay I Do Not Know If Anyone Can Help Or Not.I Installed A Ecards Script Called Sendcard On My Web Site. I Pretty Much Got Everything To Work But The MiDi Files. It Works Fine In FireFox(Of Course thumbsup.gif ) But Will Not Work In IE(Surprise! blink.gif )
I am about ready to rip my hair out.
My Website

This post has been edited by PamBreeze: Sep 28 2007, 10:52 PM


--------------------

Go to the top of the page
 
+Quote Post
PamBreeze
post Sep 28 2007, 08:28 PM
Post #2


New Member
*

Group: Members
Posts: 44
Joined: 11-August 07
From: Pennsylvania, USA
Member No.: 8,635

United States




Okay Now I Got It working In IE and It won't work In FF... pinch.gif

I figured out it has to do with this...

<!-- BEGIN music_block -->
<script LANGUAGE="JavaScript">
<!--
if(navigator.userAgent.indexOf("MSIE") != 25)
document.writeln ('');
else
document.writeln ('<EMBED SRC="{MUSIC}" AUTOSTART="true" HIDDEN="true" VOLUME="80%">');
//-->
</SCRIPT>
<BGSOUND SRC="{MUSIC}">
<!-- END music_block -->


This line: if(navigator.userAgent.indexOf("MSIE") != 25)

The 25 was a -1 which allowed it to work in FF but not IE
Now is there a way to get it to work in both?


--------------------

Go to the top of the page
 
+Quote Post
usr.c
post Sep 29 2007, 02:37 AM
Post #3


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




Hi, Try the suggestion here.


--------------------


Things that I don't suck at: Photography (flickr, JPG Mag), Skydiving, Splitting atoms, Flying a space shuttle
"Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch
I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com
Go to the top of the page
 
+Quote Post
PamBreeze
post Sep 29 2007, 03:15 AM
Post #4


New Member
*

Group: Members
Posts: 44
Joined: 11-August 07
From: Pennsylvania, USA
Member No.: 8,635

United States




Had to change a few things but that worked...Thanks Bunches!!!!! thumbsup.gif


--------------------

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th May 2013 - 06:29 AM