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!

Support percentages as width attribute


Project:clueTip - flexible, enhanced tooltip
Version:0.9.8
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Is it possible to have a clueTip with a width that match the content of div.cluetip-inner?

Because the structure of clueTip is based on <div> it's not possible to set a width that is smaller than the content and then expect all the <div> to match to content width.
div.cluetip-inner will maybe get the right width but for sure the title part will not.

The idea is to show a picture in clueTip but I don't know it's width or height.
How can I have a nice title and borders that match the width of the picture ?

Comments

#1

Title:A clueTip with an automatic width» Support percentages as width attribute

the option for 'width' currently only works with fixed pixel sizes.
It would be great to be able to specify: width: '50%' -- browser windows aren't always the same size.

I could override this on .cluetip-default with: width: 50% !important in the css file, but the other dropshadow divs don't have classes access them.