Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] Trouble with qtips adding a scrollbar momentarily to window
2nd December, 19:40 (This post was last modified: 2nd December 19:49 by patricia.)
Post: #1
[solved] Trouble with qtips adding a scrollbar momentarily to window
Hello,

I'm seeing some strange behaviour with my qtips today.

If a qtip gets initialize and shown, while another is visible, the page momentarily gets a scrollbar and causes everything to jump a bit. Of course on pages with scrollbars this isn't a problem, which may be why i never noticed it before.

here is the javascript i use to set up my qTips:

JS Code
$('span.InteractiveToolTipMe, div.InteractiveToolTipMe').live("mouseover", function () {
 
        var $this = $(this);
        if (!$this.data("toolTipAttached")) {
            var content = $(this).parent().find('.InteractiveToolTip').html();
 
            $this.qtip({
                content: {
                    text: content
                },
                position: {
                    target: 'mouse',
                    adjust: {
                        mouse: false
                    },
                    viewport: $(window)
                },
                hide: {
                    fixed: true,
                    delay:350,
                    when: 'mouseout'
                },
                show: {
 
                    solo: true,
                    delay: 350,
                    ready: true
                },
                style: {
                    widget: true,
                    tip:false,
                    classes: "LegendTip"
 
                }
            });
 
            $this.data("toolTipAttached", true);
 
        }
 
    });


If I mouse away from the tipped elements and let the tip hide before i mouse over a different one, it's fine.

I'll work on putting a fiddle together for this and edit my post when it's done.

I am using version 2.0 pre Date: Thu Feb 3 13:48:54 2011 +0000


OK, nevermind this, i fixed it by changing the hide delay to 0 and the show delay to 550. Which is fine for me.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Trouble getting results bmzarzaur 3 67 13th May 12:52
Last Post: Craig
  [Solved] Multiple qtips on one page, content disappearing russau 3 123 3rd May 16:38
Last Post: Craig
  Qtips with jquery UI Issue sherwoodbear79 2 439 15th February 15:36
Last Post: sherwoodbear79
  Changing HTML Content on Click & Remove/Reinit qTips ifthatdoesntdoit 5 1,228 17th November 09:46
Last Post: ifthatdoesntdoit
  [Solved] Prevent qTip to be displayed outside the window SDirk 2 852 9th August 15:48
Last Post: usman
  Trouble getting started with qTip eventide 10 861 26th June 12:29
Last Post: Craig
  [Solved] multiple qtips and 1.4.2 - popup not being removed michaelg 9 2,630 11th May 13:57
Last Post: cooldeeps
  qTips no showing in IE7 adrielcrv 3 1,077 9th May 14:06
Last Post: Craig
  adding DOM action meatbun 1 684 12th March 10:26
Last Post: Craig
  [Solved] adding success handler makes things go wonky deco81 3 634 16th February 23:00
Last Post: Craig



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