Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] [Solved] Hide all other tips
22nd August, 08:36
Post: #1
[Solved] [Solved] Hide all other tips
Hi,
Let me first start with thanking your for the wonderful library. I am using version 1.

Now for my problem. It is probably easy to solve, but I am not directly a JavaScript expert.

I am using qtip on two different divs. As the popups will include links and so on I have set both to hide: { when: { event: 'unfocus' } }

The problem is that I want to hide the other div so they do not overlap. So in short I want to either hide all other divs or hide the specific one.

I have tried this:
[php] jQuery('.brands-popup').qtip({
...
hide: { when: { event: 'unfocus',target: jQuery('.manu-popup') } }
..[/php]

and:
[php] jQuery('.manu-popup').qtip({
...
hide: { when: { event: 'unfocus',target: jQuery('.brands-popup') } }
..
[/php]

I am not getting the desired effect. Any ideas?
Find all posts by this user
Quote this message in a reply
22nd August, 10:59
Post: #2
RE: Hide all other tips
Sorry to bother you with my post. I have solved it myself.

qTip provides the option with show..

show: { solo: true }

Thanks very much for this great library.
Find all posts by this user
Quote this message in a reply
30th September, 14:31
Post: #3
RE: [Solved] Hide all other tips
Thank you, this was very helpful ( solo : true) as I was having the same problem.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Recover title attribute content on hide baps 2 19 Yesterday 23:38
Last Post: baps
  [Solved] Show on click, hide on unfocus ttomor 4 154 3rd May 14:39
Last Post: ttomor
  [Solved] Hovering over same tip location causes it to hide jaredf 1 282 22nd March 14:52
Last Post: Craig
  can't hide qtip in a “position: absolute;” div shdog 1 281 14th March 17:35
Last Post: Craig
  [Solved] One Target Multiple Tool Tips rd42 1 267 19th February 18:24
Last Post: rd42
  hide on unfocus in build 55 bradw2k 1 341 20th January 17:03
Last Post: Craig
  [Solved] Multi tips not 100% times work dmhorse 1 273 9th January 18:19
Last Post: Craig
  [Solved] Is there an easier way to show/hide tooltips dynamically? gloosemo 1 683 17th October 15:58
Last Post: Craig
  [Solved] Hide tooltip when clicked dabd 10 1,218 23rd August 18:55
Last Post: dabd
  specify different positions for separate tool tips c_martini 2 1,010 6th July 19:58
Last Post: Craig



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