Plugins

User login
Can't find a Plugin?

Can't find a Plugin you are looking for? Check out the jQuery Wiki page.

Are you a plugin developer? Please move your plugin over to this site.

Website Bug or Feature Request?

Found a bug on the new jQuery Plugin website? Have a feature request?

Submit it to the jQuery Plugin website issue queue to ensure it is noticed!

ajaxSetting data only applied once


Project:clueTip - flexible, enhanced tooltip
Version:0.9.8
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active (needs more info)
Description

$('a.tooltip').cluetip({
dropShadowSteps: 2, showTitle: false, titleAttribute:'donotuse',
ajaxSettings: {
data: "type=tooltip"
}
});

ajax setting type=tooltip is only applied once. After showing the first cluetip data is set to null.
Example on live website:
www.lekkerweg.nl/nl/
if you look with firebug, the first cluetip at the top will send:
GET http://www.lekkerweg.nl/nl/system/search/tooltip.jsp?label=global.help.s...
The second tooltip on the blue search box will show in firebug
GET http://www.lekkerweg.nl/nl/system/search/tooltip.jsp?label=vrijetekst.on...

The type=tooltip is not submitted with the second (or third etc.) tooltip.

I have searched the code for a fix, but sorry cannot come up with a fix.

regards,

Vincent Spek

Comments

#1

Status:active» active (needs more info)

Hi Vincent,

I'm pretty sure this is due to a bug in the deep recursive $.extend() method in jQuery versions prior to 1.2.5. Would you mind updating your jQuery file to 1.2.6 and trying again? Also, you might want to grab the latest jquery.cluetip.js from the svn repo.

#2

I have created an example with all files from the svn repo (jquery, cluetip) , if you look with firebug you will see that only the first tooltip sends type=tooltip to the server.
Example location:
http://www.spek.info/cluetip/