Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Solved] qtip clone at bottom of page becomes visible sometimes
25th April, 14:38
Post: #1
[Solved] qtip clone at bottom of page becomes visible sometimes
Hi, qtip is great, by the way.

I have a strange problem that only happens sometimes - if I scroll the page at a certain moment (it might be when the tooltip is first being rendered) then it seems to 'fly' up into the top corner of the page, and then it stays visbible in that position.

I think this is something to do with the 'copy' that qtip keeps at the end of the body tag becoming visible somehow.

See attached screenshot showing the normal qtip (near bottom right) and its clone that is visible at the top left.

[Image: qtipclonebug.gif]

I am using fixed tooltips that use existing content and remove it, perhaps that relates to my problem.

JS Code
$('.playlistEntry').each(function() {
            var elementid = this.id;
            $(this).qtip(
            {
                content: $("#" + elementid + " .popmenu").remove(), // use the hidden element below
                position: {
                    corner: {
                        target: 'topMiddle',
                        tooltip: 'topLeft'
                    },
                    adjust: {
                        x: 0,
                        y: 10
                    }
                },
                hide: {
                    fixed: true // Make it fixed so it can be hovered over
                },
                style: {
                    "width": 160,
                    "height": 80,
                    "padding": 5,
                    "background": "#ffffff",
                    "color": "black",
                    border: {
                        radius: 2,
                        width: 2,
                        color: "#d9d9d9"
                    }
                }
            });
        });


using jquery 1.4.2 and the latest revision of qtip 1.x

will try and get a jfiddle example working ...

Thanks in advance for any help or suggestions...
Find all posts by this user
Quote this message in a reply
26th April, 11:58
Post: #2
RE: qtip clone at bottom of page becomes visible sometimes
See here: http://craigsworks.com/projects/forums/t...ion-on-1-0

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
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Solved] Dynamic Content From Page Element frogg3862 2 91 3rd May 17:12
Last Post: frogg3862
  [Solved] Multiple qtips on one page, content disappearing russau 3 123 3rd May 16:38
Last Post: Craig
  [Solved] Center tooltip on page and also use a thumb image to popup the real image ChileCaliente 2 257 26th March 22:54
Last Post: ChileCaliente
  [Solved] Jump to top of the page snicker 4 1,307 15th February 03:31
Last Post: phpmysqlguy
  under IE browser,the titlebar is not visible,except we choice Compatibility View jinger18 1 405 27th December 17:49
Last Post: Craig
  [Solved] Always visible? skyrocket777 1 468 12th December 17:10
Last Post: Craig
  [Solved] QTip content from existing div element on page? dcash 4 2,525 8th December 18:29
Last Post: Craig
  [Solved] Positioning tooltip inside page dmilne 1 505 30th September 14:56
Last Post: Craig
  [Solved] Open page within Qtip? EMB 3 824 25th August 18:28
Last Post: Craig
  qtip code altering the link state/classes on page? qqtime 4 1,103 20th July 14:49
Last Post: Craig



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