to use a hyphenated CSS property with DHTML you remove the hyphen "-" and then set the first letter of the second word to uppercase.
so background-image becomes
Code:
element.style.backgroundImage = "url(pic_path)"
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
|