View Single Post
Old 06-28-2012, 07:07 PM   PM User | #4
DrDOS
Senior Coder

 
Join Date: Sep 2010
Posts: 1,155
Thanks: 10
Thanked 148 Times in 148 Posts
DrDOS is infamous around these parts
Quote:
Originally Posted by coidn View Post
Hi... thank you...

It wasnt exactly what i needed but helped me to understand what had to be done...

ff and chrome cant understand "imgbox.style.width"
they only need to be converted to "imgbox.width" for the zooming effect to work on ff and chrome..
Not exactly, when you use obj.style.width you have to use the +'px'; along with it.

obj.style.width = 300+'px';

I can't tell you how many times I've been caught out by forgetting to include the +'px'
DrDOS is offline   Reply With Quote