Search


Change Language


Ajax Downloads Home arrow Other Ajax Scripts
Free AJAX Scripts by Freeajaxscripts.net
Tooltip for forms - AJAX Script

Displays a tooltip next to form elements when the element receives focus.

Configuration

Include files

First, you need to include the js files and css files as in the demo(form-field-tooltip.html)

Define tooltip text

Tooltip text is something you add manually to your <INPUT> or <TEXTAREA> tags by creating a tooltipText attribute. Example:

<input type="text" id="firstname" name="firstname" tooltipText="Type in your firstname in this box">

Initialize and configure the script

At the bottom of your page, add code similar to this:

<script type="text/javascript">
var tooltipObj = new DHTMLgoodies_formTooltip();
tooltipObj.setTooltipPosition('right');
tooltipObj.setPageBgColor('#EEE');
tooltipObj.setCloseMessage('Exit');
tooltipObj.initFormFieldTooltip();
</script>

Which methods you want to call depends on what you need. Look at the complete documentation for more help.




Average Visitor Rating: 3.99 (Out of 5)
Number of ratings: 18

Select your rating
Excellent  Good  Average  Fair  Poor 
Script Information
Website: Home of Tooltip for forms
Demo: Demo
Download: Download
Average Visitor Rating: 3.99 (Out of 5)
Number of ratings: 18
Hits: 10707
Added: 2007-01-14 19:50:24
Last updated: 2007-01-14 20:09:43


There are 279 free ajax scripts and 31 categories in our directory





Lost Password?
No account yet? Register
We have 29 guests online