...

Method doesn't work in IE6?

BubikolRamios
10-17-2008, 04:39 PM
EDIT: sory for bad caption, cant edit it.

damn, just noticed:


mDiv.setAttribute('class','mDiv');


has no effect in IE6.

Arty Effem
10-17-2008, 04:47 PM
EDIT: sory for bad caption, cant edit it.

damn, just noticed:


mDiv.setAttribute('class','mDiv');


has no effect in IE6.Fortuneately className does.

BubikolRamios
10-17-2008, 05:32 PM
u mean like that:


mClickDiv.setAttribute('class','mClickDiv');// for FF
mClickDiv.setAttribute('className','mClickDiv');//for IE 6.0


thanks, saved me a cuple of lines of code.

by the way, ie not understandig that --> the output was devastating (-:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum