Originally Posted by rnd me
you can define a new property, like element.display, and then use getters and setters to instantly push the updates to the actual element.style.display property. that also gives you the event you need, and with zero CPU cost and no polling.
this sounds good (the second sounds good, too, but a little over my head). Sorry for being thick, but can you give me an example of how the first one would look?