|
July 9, 2000 HTC-Master Focus/Blur Events Tips: July 2000
Yehuda Shiran, Ph.D.
|
|
One of the most frustrating deficiencies
of scripting a DHTML element is that you must initialize its STYLE
before you can set or modify it during a script. Suppose you have the following
DIV
element:
And at some point during your
script you want to set the position of the above
You try to run it and nothing
comes up on the screen. The reason? The
Once the style parameters are predefined, you can modify them via the script, as shown above.
People who read this tip also read these tips: Look for similar tips by subject: |