View Single Post
  #2 (permalink)  
Old Sep 25th, 2007, 17:13
ScottR ScottR is offline
Reputable Member
Join Date: Dec 2005
Location: U.S.A.
Posts: 151
Thanks: 0
Thanked 4 Times in 4 Posts
Re: Changing image not working in Firefox

There are much easier ways of doing this, but...

At first glance I would remove the quotes from style.display = .

Quotes are for strings and that is not a string.

But what is applied to the display is a string, so I would try this.

Code: Select all
  eval(currentPic + .style.display="none");
Scott
__________________
Web Design and Development
Reply With Quote