Options only applied to first element
| Project: | clueTip - flexible, enhanced tooltip |
| Version: | 0.9.7 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
When instantiating the plugin with the certain options, only the first element found in the jquery object selection has the settings applied to it.
I suspect there isn't any iteration happening amongst the elements in order to apply it to all found elements.
Options found to be in fault:
- fx
- delayedClose
- hoverIntent
This may be prevalent with other plugins, however these are the ones I've attempted to use with problems.
Example Initialization:
//Set up ClueTip tooltips for all rows with a relation for local content
$('tr[@rel]')
.cluetip({
arrows: true,
dropShadow: false,
sticky: true,
width: 200,
hoverClass: 'register-highlight',
cluetipClass: 'jtip',
positionBy: 'auto',//'bottomTop'
closePosition: 'title',
closeText: '<img src="/images/icons/action_delete.png" alt="Close" />',
local: true,
fx: {
open: 'slideDown',
},
});
Comments
#1
fixed in 0.9.8!