Log in or Create a profile

  • Support Home
  • Public Discussions
  • Knowledge Base
  • Go to Drew Wilson →

Home TipTip jQuery Plugin

Patch for dynamic content

spacer

Fabien Meghazi

14 Nov, 2011 01:08 PM

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
  1. 1 Posted by Fabien Meghazi on 14 Nov, 2011 01:46 PM

    spacer

    Sorry,

    Previous file is not good. Here's the good patch :

    • jquery.tipTip.patch 1.1 KB
  2. 2 Posted by Fabien Meghazi on 15 Nov, 2011 09:19 AM

    spacer

    Cool I found that your plugin is on github. I'll make pull request there

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 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

10 Jan, 2015 09:23 AM Beats By Dre Sale Studio Farrari Orange Headphones Originals
10 Jan, 2015 09:23 AM Beats By Dre Sale Studio Color Diamond Skull Black Headphones New 2014
15 Dec, 2014 04:37 PM Имиграцияв в Канаду
30 Nov, 2014 11:12 AM problem with independent set of keepAlive attribute for specified selector
11 Nov, 2014 03:20 AM The requested URL could not be retrieved

Recent Articles

Donations
TipTip | Options / API
ImgCenter | Downloads
TipTip | Downloads
AutoSuggest | Downloads
gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.