FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
browser javascript to detect if the browser is MAC

 
Post new topic   Reply to topic    Cambodia eXPlore Forum Index -> Client - Server Side Development
Author Message
idaba



Joined: 26 Jun 2008
Posts: 6

PostPosted: Tue Jul 01, 2008 3:32 pm    Post subject: browser javascript to detect if the browser is MAC Reply with quote

I need an inline browser javascript to detect if the browser is MAC
Firefox and to load a gif. If not mac firefox load an SWF.

eg:

detect if Mac firefox if yes load src="/content/flash/WYD03.gif"

if other browser load src="/content/flash/WYD03.swf"

is this possible?

I would need it to be in the code NOT in the header as there are
several swf's on one page and Mac Firefox is making the SWF on top of
all other divs therefore not displaying the divs.

see the problem here beamcreative.com/menutest.aspx

index does not work with .swf files. I have a work around for all
other browsers but Mac/Firefox has a bug that prevents SWF files to be
at the bottom layer.

Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cambodia eXPlore Forum Index -> Client - Server Side Development All times are GMT + 8 Hours
Page 1 of 1



by phpBB