View Single Post
  #1 (permalink)  
Old 08-11-2008, 12:08 AM
sarel sarel is offline
Novice
Join Date: Jun 2008
Posts: 12
iTrader: (0)
sarel is on a distinguished road
Icon9 Accessing FireFox Style Object

Hi All

I am trying to access the style-object for firefox, this is an attempt to create dynamic web pages that would be specific to browser type.

My HTML tag is:
HTML Code:
<DIV id=darrow style="XX">image tag here</DIV>
Place object then in Jscript variable for IE4:

Code:
var newobj = eval("document.all.darrow.style")
and for Navigator is:
Code:
var newobj = document.darrow
Ok, so how would I get the object in FireFox?

Thanks for the help

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote