|
[Solved] Pass title AND content in attr:title with separator
|
|
7th July, 17:42
Post: #1
|
|||
|
|||
|
[Solved] Pass title AND content in attr:title with separator
Is there any possible way to duplicate a behavior of the bassistance.de Tooltip system (http://bassistance.de/jquery-plugins/jqu...tooltip/)? They basically allow you to pass the title of the tooltip AND the content of the tooltip in the title attribute of the element. So you could do this:
And the script would take the part previous to the | and make it the title, then the rest would be the content. Is that possible with qTip2? |
|||
|
12th July, 17:26
Post: #2
|
|||
|
|||
|
RE: Pass title AND content in attr:title with separator
Sure, just implement it manually
![]() JS Code
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
20th July, 22:27
(This post was last modified: 20th July 22:28 by johndubya.)
Post: #3
|
|||
|
|||
|
RE: [Solved] Pass title AND content in attr:title with separator
That works a charm, thank you so much! I am running qTip2 inside of a live() setting, so I had to do a bit of modifying, but it works great. Here's what my code ended up looking like:
JS Code
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help





