Forum Moderators: not2easy
I use the code (for IE5.5/Win):
eval( tag + '.style.' + type + ' = "' + newValue + '"' );
e.g. eval("H1.style.fontWeight = 'bold');
I would like to do the same for the a:hover case, but I cannot figure out how or where to include the "hover" in the statement. I haven't been able to find anything usefull in the JS documentation, so I don't know if it's possible at all.
Any suggestions?
One possible work-aroung could be to change the properties of an already defined class (say ".a_hover"), but that doesn't seem to be possible with JS either.
Any suggestions are highly appreciated... :)