Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Qtip works but not always [stuck tooltip and sometimes not showing]
14th August, 09:21 (This post was last modified: 14th August 09:26 by bittyme.)
Post: #1
Qtip works but not always [stuck tooltip and sometimes not showing]
Hi there, just installed qtip on a site and using it on an image area map. qTip works, but if i do multiple hovers over the areas it stops after showing twice. eg.
Go to area 1 [shows qtip]
Go to area 2 [shows qtip]
Go to area 3 [shows qtip]
Go to area 1 [shows qtip]
Go to area 2 [shows qtip]
Go to area 3 [shows qtip]
Go to area 2 [DOESNT show qtip]

and sometimes when hovering over and then moving away the qtip just sticks and never fades and another one is unable to show up (see image)


JAVASCRIPT Code
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script type="text/javascript" src="js/drag/jquery-ui-1.7.1.custom.min.js"></script>
<script type="text/javascript" src="js/jquery.qtip.debug-1.0.0-rc3.js"></script>
<script type="text/javascript" src="js/jquery.qtip-1.0.0-rc3.min.js"></script>
 
// Create the tooltips only when document ready
$(document).ready(function(){
$('.ttcont1').qtip({
   tip: true,
   style: {
      width: 90,
      height: 23,
      background: '#c1c1c1',
      color: 'black',
      textAlign: 'center',
      border: 0,
      fontSize: '0.6em',
      fontFamily: 'Verdana',
      fontWeight: 'bold',  // Inherit from preset style
      cursor: 'pointer',
      hide: { fixed: true, delay: 500 }
   }
});
$('.ttcont2').qtip({
   tip: true,
   style: {
      width: 89,
      height: 21,
      background: 'yellow',
      color: 'black',
      textAlign: 'center',
      border: 0,
      fontSize: '0.6em',
      fontFamily: 'Verdana',
      fontWeight: 'bold',  // Inherit from preset style
      cursor: 'pointer',
      hide: { fixed: true, delay: 500 }
   }
});
$('.ttcont3').qtip({
   tip: true,
   style: {
      width: 89,
      height: 21,
      background: 'green',
      color: 'black',
      textAlign: 'center',
      border: 0,
      fontSize: '0.6em',
      fontFamily: 'Verdana',
      fontWeight: 'bold',  // Inherit from preset style
      cursor: 'pointer',
      hide: { fixed: true, delay: 500 }
   };
})
});



HTML Code
<area shape="rect" coords="207,286,239,316" class="ttcont2" title="Daily Gopher"/>
 
<area shape="rect" coords="56,377,94,407" href="archive/" class="ttcont2" title="Archive"/>
 
<area shape="rect" coords="344,210,366,231" class="ttcont2" title="Community"/>
 
<area shape="poly" coords="352,88,352,66,360,59,368,65,369,79" class="ttcont2" title="Login"/>
 
<area shape="rect" coords="623,124,660,164" class="ttcont2" title="Macbeth"/>
 
<area shape="rect" coords="438,175,454,187" class="ttcont1" title="About Us"/>
 
<area shape="rect" coords="41,264,69,295" class="ttcont2" title="Closed"/>


any ideas are appreciated
many thanks


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
14th August, 18:51
Post: #2
RE: Qtip works but not always [stuck tooltip and sometimes not showing]
bump... still need help with this please if pos Smile
Find all posts by this user
Quote this message in a reply
14th August, 22:08
Post: #3
RE: Qtip works but not always [stuck tooltip and sometimes not showing]
You could try setting show.solo to true, but this sounds like a 1.0 problem, so checkout qTip2 to solve this fully! Suggested you upgrade anywho since 1.0 is pretty much a dead project!

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
14th August, 22:16
Post: #4
RE: Qtip works but not always [stuck tooltip and sometimes not showing]
thanks for the reply craig, mmmm yeah ok i will Smile
how easy is it to upgrade to 2.0?
Find all posts by this user
Quote this message in a reply
14th August, 23:00
Post: #5
RE: Qtip works but not always [stuck tooltip and sometimes not showing]
Pretty easy. There's a code converter for your old 1.0 code, so just run it through that and include the new library + it's CSS file, and you're done. http://craigsworks.com/projects/qtip2/converter/

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
15th August, 00:14 (This post was last modified: 15th August 00:19 by bittyme.)
Post: #6
RE: Qtip works but not always [stuck tooltip and sometimes not showing]
i took a look at qtip2 and it looks ok, but i still have the same problem with the tooltips sticking even when mouse cursor isnt on them, as a result i got 3 sticking at the same time which dont fade away. (see new img)

also how to edit styles in qtip2 like i have done above in qtip1.0 to have 4 different styles


Attached File(s) Thumbnail(s)
   
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  tip showing 2 times gkielwasser 8 240 5th May 19:00
Last Post: Craig
  [Solved] qtip showing content from db doesn't change when content in db changes. vtoepel 2 144 23rd April 16:02
Last Post: vtoepel
  [Solved] Browser still showing regular tooltip in addition to qTip Ryan Williams 2 848 18th December 19:54
Last Post: Craig
  stuck qTip on images in tablerow ulktante 0 422 6th December 08:32
Last Post: ulktante
  [Solved] Dynamic content not showing? dabd 3 812 21st August 18:17
Last Post: Craig
  [Solved] code works in FF but not IE/ Opacity problem ictman1105 3 1,142 20th June 17:20
Last Post: Craig
  [Solved] qTip works on all pages except the homepage luukratief 10 837 8th June 08:24
Last Post: luukratief
  [Solved] Tip corner not showing in IE7 and IE8 danlefebvre 9 3,334 3rd June 08:17
Last Post: amitshahc
  updatePosition() works only once alexp 0 656 10th May 19:30
Last Post: alexp
  qTips no showing in IE7 adrielcrv 3 1,075 9th May 14:06
Last Post: Craig



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