Post Reply  Post Thread 

browser javascript to detect if the browser is MAC Firefox
Author Message
idaba
Junior Member



Posts: 6
Group: Registered
   
Cash: 0.00 Donate
browser javascript to detect if the browser is MAC Firefox

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.


web designers melbourne | dialup internet access | promotional usb flashdrives
07-01-2008 06:16 PM
Send the author a private message Find all posts by this author Quote this message in a reply

Advertisements

This is an ad revenue sharing forum
Nameslot
Administrator

Administrators

Posts: 1,532
Group: Administrators
   
Cash: 500.50 Donate
RE: browser javascript to detect if the browser is MAC Firefox

Humm.. I think you could search for Browser detection javascript and you will find exactly what you are looking for.

Dynamicdrive.com has many resources like it.


Nameslot.com | Do you have a question? shoot me a PM.
07-01-2008 07:47 PM
Send the author an email Send the author a private message Visit authors website Find all posts by this author Quote this message in a reply

Post Reply  Post Thread 


Similar Threads
Thread: Author Replies: Last Post
Conditional Javascript loading Nameslot 1 07-08-2008 04:40 PM
Internet explorer and Firefox problems nick 6 06-05-2007 03:01 AM

View a Printable Version | Send this Thread to a Friend | Subscribe to this Thread | Add Thread to Favorites
Rate This Thread:
Forum Jump: