UK SEO and Internet Marketing Forums
browser javascript to detect if the browser is MAC Firefox and to load a gif

December 02, 2008, 04:19:45 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: We are back and we've changed software
 
   Home   Help Search Login Register  
Del.icio.us Digg FURL FaceBook Stumble Upon Reddit SlashDot

Pages: [1]
  Print  
Author Topic: browser javascript to detect if the browser is MAC Firefox and to load a gif  (Read 66 times)
idaba
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 7


View Profile
« on: July 01, 2008, 07:55:16 AM »

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 http://www.beamcreative.com/menutest.aspx

Z-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.
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by SMF | SMF © 2006-2008, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!


Google visited last this page August 16, 2008, 11:21:22 AM