Show and Hide Tool Tip v1.0 for Macromedia's Dreamweaver ============================ About ===== These actions let you make popup sections of HTML code appear in response to events in an HTML page. Most people will have seen something similar as tool-tips under MS Windows. I've written the code to make it function as near as identically on both IE and NN. Also, I spent a lot of time getting the Dreamweaver UI as user-friendly as possible. Installation ============ Place the action files (Show Tool Tip.htm & Hide Tool Tip.htm) in the Configuration/Behaviors/Actions folder of your Dreamweaver installation directory. Note, if you did not download the action files as part of the ZIP archive you will have to rename them to their original names ("Show Tool Tip.htm" & "Hide Tool Tip.htm") from showtooltip.htm & hidetooltip.htm. Use === The action dialog will display a list of the available layers to use as the layer which will show the tool-tip. You've basically got to choose which layer to use for the tool-tip (must be inserted by Dreamweaver before assigning the action) and to type in what text you want to appear in the "tool tip" (although if you don't type anything in you'll just get an empty tip!). The rest is optional. You can put whatever HTML you want in the tool tip, carriage returns are converted to
tags so if you want text to wrap normally just type in and let the line scroll to the right of the text box. (You should see what I mean when you use it). I've designed the action with the Dreamweaver 1.0 Behavior Development Kit specs so it works in both 1.0 and 1.2a (although scroll bars appear in the action dialog in 1.0) but I'd recommend using 1.2a so that the inserted action code is surrounded by the HTML comment tags. There are two actions, "Show Tool Tip.htm" (for onmouseover) and "Hide Tool Tip.htm" (for onmouseout) to get the showing/hiding on mouseover and out. More ==== I've included a demo page just to show some of the different types of tooltip, changing text size, color, font, bold, bgcolor, bordercolor, border thickness, etc. Hope you find it useful. It's available at http://www.arrakis.es/~andrewc/downloads/archives/tooltipdemo.htm As ever, comments, suggestions, etc should be sent to me at the address below. For more actions and behaviours check out http://www.arrakis.es/~andrewc/downloads/dream.htm ============== Andrew Castles andrewc@arrakis.es