Please Log-in or Register to get full access to the forums.


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] qtip won't go away
11th August, 03:40
Post: #1
[Solved] qtip won't go away
I've got a qTip to display an unordered list with links to open a modal dialog box. When the qTip displays everything works fine, and I can click on the links inside the tip, however, the qTip never goes away.

Any ideas what I'm doing wrong? Thanks for any help you can give.

Here is my qTip code:
JS Code
var html = '<ul><li><a href="#" o<strong></strong>nclick="modal_popup_open()">click to open dialog box</a></li></ul>'
 
$("#qtip_id").qtip({
	content: 	{
					text: html
				},
	position: { corner: { 
						tooltip: "leftMiddle",
						target: "topRight" 
					} 
			},
	style: {  
			name: "dark",
			background: "white",
			width: "350",
			tip: { corner: "leftMiddle" }
			},
	show: {
			when: "mouseover", 
			solo: true 
		 },
 
	hide: "unfocus"
});
Find all posts by this user
Quote this message in a reply
11th August, 20:56
Post: #2
RE: qtip won't go away
Well you're telling it to hide on 'unfocus', so it will only disappear when clicking elsewhere on the page i.e. not the tooltip or target element.
Visit this user's website Find all posts by this user
Quote this message in a reply
11th August, 20:59
Post: #3
RE: qtip won't go away
(11th August 20:56)Craig Wrote:  Well you're telling it to hide on 'unfocus', so it will only disappear when clicking elsewhere on the page i.e. not the tooltip or target element.

Thanks for the reply, oddly, though, when I click on anything else on the page it still stuck there no matter what element I was clicking on.

I found another post that had this as a solution:

hide: { fixed: true, delay: 200 }

This got me what I was looking for. Thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Yet another simple test that won't work t_wysocki 0 849 11th August 20:11
Last Post: t_wysocki
  Qtip "tip" won't display in IE9 cmiller 1 1,852 21st November 00:55
Last Post: Craig
  [Solved] simple test won't work? formaideale 3 1,334 11th October 12:48
Last Post: Craig
  Show but won't hide wheelibin 2 1,130 12th August 14:20
Last Post: wheelibin
  qtip auto width won't work with IE7 grumpygamer 12 4,503 19th June 18:18
Last Post: Craig



User(s) browsing this thread: 1 Guest(s)