|
Close a qTip from inside the tip content?
|
|
4th April, 15:36
Post: #1
|
|||
|
|||
|
Close a qTip from inside the tip content?
I've used the "close" link in the header of the Tip to close it, but I'm wondering if there's a way to close it by a trigger event from within the Tip content.
For example, if my Tip displays a form with a "Cancel" button, how can I set that cancel button to trigger the current qTip to close? Or perhaps, after the user successfully submits the form, I may want to trigger the qTip to close. Is there a way? |
|||
|
4th April, 16:22
Post: #2
|
|||
|
|||
|
Close a qTip from inside the tip content?
This can be achieved by using the tooltips API:
JS Code
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
5th August, 13:44
Post: #3
|
|||
|
|||
|
Close a qTip from inside the tip content?
I have two pages master and details. I click on the master to display the detail page using the following code. but i was not able to close the detail page using the close button.
$("#demo2").qtip({ content: { url: 'TBCoverLettersDetails.aspx', data: { id: $(this).attr('id') }, method: 'get', title: { text: 'Modal qTip', button: 'Close' }, }, but i was not able to close the detail page using the close button. function CloseDetails() { $("#qtipid").qtip("api").hide(); } I got an error that interfaces are null any help |
|||
|
6th August, 12:36
Post: #4
|
|||
|
|||
|
Close a qTip from inside the tip content?
nkadih, could you post the full page code including HTML so I can give it a test run myself? Also, try disabling all other jQuery plugins on the page and see if it makes a difference.
Craig Thompson Web Developer / Designer Craigsworks http://www.craigsworks.com |
|||
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads... | |||||
| Thread: | Author | Replies: | Views: | Last Post | |
| Open a modal popup window from a click inside qtip | poojakudesia | 1 | 1,125 |
10th August 19:32 Last Post: Craig |
|
| qtip-content background in CSS | interpotential | 4 | 2,666 |
25th August 18:48 Last Post: interpotential |
|
| nested qtip or a qtip inside another qtip | uberman | 4 | 2,112 |
20th July 18:12 Last Post: logan |
|
| close modal dialog from inside the content | siriusblack | 3 | 2,489 |
21st April 17:57 Last Post: Craig |
|
| Use hovered element's own HTML for qtip content | discern | 2 | 3,684 |
10th December 13:52 Last Post: discern |
|
| Open a new tip on a tip close | hari41980 | 3 | 1,739 |
31st August 11:49 Last Post: Craig |
|
| Forcing Tips to Close Before Next Opens... | PrimaryNumbers | 10 | 2,574 |
17th August 16:07 Last Post: Craig |
|
| qTip fixed and always visible inside img | caesar2k | 2 | 2,665 |
14th May 14:51 Last Post: caesar2k |
|
| Close button instead of link? | rseshadr | 2 | 4,919 |
25th March 23:05 Last Post: rseshadr |
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




