"http://www.w3.org/TR/REC-html40/strict.dtd">
[DOM Tooltip] Example 10: Onload PopIn
Example 10: Onload PopIn
Okay, I know that some of you aren't going to like what you see in this example, but you have to admit, it is better than a popup window and can be used in a positive way without being too intrusive. So here is my introduction...
If you don't want to annoy users with a popup window, but you do want to alert the attention of your audience, this can be a nice middleground. Simply add the domTT_activate() call to the onload handler (or at any arbitrary time) and specify and 'x' and 'y' position for your tooltip (or else it will end up in the upper left corner). When creating tooltips that are not associated with a javascript event, the second parameter to domTT_activate() should be set to null
.
* The second popup uses a custom close link in its content.
domTT.zip( 45 k)