Home → TipTip jQuery Plugin →
Patch for dynamic content
Fabien Meghazi
Hi,
I found no way to contribute to you plugin. Here's a patch in order to allow dynamic tooltip content by allowing options.content to be a function :
34c34
< content: false, // HTML or String to fill TipTIp with
content: false, // HTML String or function to fill TipTIp with
55c55
< var org_title = opts.content;
var org_title = typeof opts.content === 'function' ? opts.content() : opts.content;
- jquery.tipTip.diff 273 Bytes
Reply to this discussion
Internal reply
Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)
Attached Files
- Remove
-
You can attach files up to 10MB
-
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
-
New Issue
-
Conversation Started
A conversation has been started with the Drew Wilson staff to resolve this discussion.
-
Close the discussion
Private Permissions
This discussion is private. Only you and Drew Wilson support staff can see and reply to it.
Public Permissions
This discussion is public. Everyone can see and reply to it.
- Comments Feed
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Recent Discussions
Beats By Dre Sale Studio Farrari Orange Headphones Originals | ||
Beats By Dre Sale Studio Color Diamond Skull Black Headphones New 2014 | ||
Имиграцияв в Канаду | ||
problem with independent set of keepAlive attribute for specified selector | ||
The requested URL could not be retrieved |
Recent Articles
Donations | |
TipTip | Options / API | |
ImgCenter | Downloads | |
TipTip | Downloads | |
AutoSuggest | Downloads |
1 Posted by Fabien Meghazi on 14 Nov, 2011 01:46 PM
Sorry,
Previous file is not good. Here's the good patch :
2 Posted by Fabien Meghazi on 15 Nov, 2011 09:19 AM
Cool I found that your plugin is on github. I'll make pull request there