RobG wrote:
Try:
obj.style.backgroundImage
hyphens are not allowed in JavaScript identifiers. [...]
That is not entirely true. The hyphen is in fact a minus which acts as
an operator in JS, and operator whitespace is optional. That is why it
cannot be part of an identifier.
PointedEars
--
************************************************** **********
* NEW: psf suited for <http://tagzilla.mozdev.org/>! *
* <http://pointedears.de/psf/> *
************************************************** **********