|
How customize content modal tooltip?
|
|
13th September, 22:29
(This post was last modified: 13th September 22:30 by mobilemike.)
Post: #1
|
|||
|
|||
|
How customize content modal tooltip?
Hi, i have used your script
JS Code
But this script work only for one modal tooltip... for make more modals tooltips in my page, with different contents how do? Sorry for my bad english.. i'm italian. Thanks. |
|||
|
14th September, 12:28
Post: #2
|
|||
|
|||
|
How customize content modal tooltip?
dannythegreat, you can do this by setting un an initial settings object and supplying different content on a tip to tip basis like so:
JS Code
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
14th September, 14:20
Post: #3
|
|||
|
|||
|
How customize content modal tooltip?
Thank for your reply, i have two questions..
1- How i do to insert pngfix "$(document).pngFix();" if already exist "$(document).ready(function()" in your code? 2- How i do to insert image <img src="myimage"/> into tooltip title? Thanks. |
|||
|
14th September, 14:37
Post: #4
|
|||
|
|||
|
How customize content modal tooltip?
You can simply add the "$(document).pngFix();" statement before the contents array:
JS Code
And you can use a simple HTML string for the title button: JS Code
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
14th September, 16:24
Post: #5
|
|||
|
|||
|
How customize content modal tooltip?
Yes, for png fix I had tried so, but don't work.
For image in tooltip, no in modaltoptip but insert image into tooltip, how i do? |
|||
|
14th September, 16:46
Post: #6
|
|||
|
|||
|
How customize content modal tooltip?
Hmm if you want the PNG fix applied to the tooltip also you'll have to stick the method in the onRender callback also:
JS Code
Can't make out what you're trying to ask in your second sentence, could you elaborate? Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
23rd December, 12:44
Post: #7
|
|||
|
|||
How customize content modal tooltip?
dannythegreat Wrote:Yes, for png fix I had tried so, but don't work.If you want to insert image as the close button for tooltip without title JS Code
If you want just the image in the title JS Code
|
|||
|
25th December, 16:49
(This post was last modified: 25th December 16:53 by Spoonless Eddie.)
Post: #8
|
|||
|
|||
|
RE: How customize content modal tooltip?
Man, I cannot BELIEVE how easy this was. This is exactly what I've been looking for. I didn't know I could do this.
" button: '<img src="(path)" title="Close on click" />' " This makes my day. |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| [Solved] Take tooltip content from the element attributes | AndyG | 17 | 16,041 |
31st January 07:14 Last Post: eggpoker |
|
| [Solved] Using Complex HTML as Tooltip Content | sylvia | 1 | 2,378 |
3rd November 02:07 Last Post: Craig |
|
| close modal dialog from inside the content | siriusblack | 3 | 2,490 |
21st April 17:57 Last Post: Craig |
|
| Accessing cloned tooltip content | root66 | 2 | 1,396 |
29th June 16:23 Last Post: Craig |
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




