Tuesday, September 04, 2007 at 1:33 PM
Recently, while working on a gadget, I had a number of elements that needed to disappear as the mouse moved away from the gadget. Originally I was using code like this: label1.visible = false; label2.visible = false;.... But then I remembered the div element. I encapsulated all my labels in one div and wrote labelDiv.visible = false. Teo's knowledge base article describes other situations where the div element is useful.
Have a tip you'd like to share? Send it to gd-developer AT google DOT com.