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] qtips are visible only once
17th February, 13:31 (This post was last modified: 17th February 13:35 by fourgood.)
Post: #1
[Solved] qtips are visible only once
hey,

im using the "movingBoxes" slider to display images of the newest wordpress post.
there is a navigation under the images and therefor i want to use qtip to preview the picture of the post which slides in if click the nav-point.

so far everything works as it should, but only once. i hover over the navigation points and qtip shows the images. if i hover again, it simply shows the title and not the image.

this is the code for my movingboxes plugin, which generates the preview images.
PHP Code:
    <script>
    $(function(){

        $(
'#slider').movingBoxes({
            
/* width and panelWidth options deprecated, but still work to keep the plugin backwards compatible
            width: 980,
            panelWidth: 0.5,
            */
            
wrap         true,   // if true, the panel will "wrap" (it really rewinds/fast forwards) at the ends
            
buildNav     true,   // if true, navigation links will be added
            
initAnimationfalse,
            
reducedSize  0.999999999,
            
navFormatter : function(indexpanel){ _title=panel.find('span').text();  _url=panel.find('a img').attr('src');
                return 
"<div class='formInfo' id='"+_title+"' title='"+_title+"'>‚óŹ<img width='80' height='80' class='imag' src='"+_url+"' style='display: none' /></div>";  }

        });

    });
    
</script> 

this is my qtip code
PHP Code:
    <script>
    $(
document).ready(function() {
        $(
".formInfo").live("mouseover", function(){
        
            $(
this).qtip({
    
                
show: { readytrueevent'mouseenter'delay0solotrue },
        
                
position: { my'top center'at'bottom center'adjust: { x0y15 }, },
        
                
content: $(this).find('img'),
        
                
hide: { event'mouseleave'delay1000fixedtrue },
        
                
style: { tip'topMiddle'classes"ui-tooltip-dark ui-tooltip-rounded ui-tooltip-shadow" }
    
            });
    
        });
    });
    
</script> 

see example here: http://jsfiddle.net/fDavN/2710/

any help is highly appreciated
Find all posts by this user
Quote this message in a reply
17th February, 14:08
Post: #2
RE: qtips are visible only once
Set overwrite to false, so that the tooltip is rendered every time the live event occurs: http://jsfiddle.net/fDavN/2711/
Visit this user's website Find all posts by this user
Quote this message in a reply
17th February, 14:29
Post: #3
RE: qtips are visible only once
(17th February 14:08)Craig Wrote:  Set overwrite to false, so that the tooltip is rendered every time the live event occurs: http://jsfiddle.net/fDavN/2711/

thank you so much!
Find all posts by this user
Quote this message in a reply
12th December, 16:10
Post: #4
RE: [Solved] qtips are visible only once
Sorry for necroing this thread, but i'm having pretty much the same problem except overwrite: false doesn't help.

http://jsfiddle.net/fDavN/8044/
Find all posts by this user
Quote this message in a reply
12th December, 21:01
Post: #5
RE: [Solved] qtips are visible only once
content.text is evalauated each time the tooltip is shown if you supply a callback. Don't use one Smile http://jsfiddle.net/fDavN/8048/
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
  Using fullCalendar and qtips. Qtip doesn't show in ipad and iphone devices gargmanu 0 178 29th July 13:15
Last Post: gargmanu
  nested qtips Schaumburg 2 252 20th May 16:45
Last Post: Schaumburg
  Stacking order between qTips and modal dialogs mindshar 1 227 10th April 18:28
Last Post: Craig
  [Solved] How to grab different qtips-content out of multi page divs? Voxs 3 425 24th February 17:41
Last Post: Voxs
  open qtip on top among the others qtips mainpart 1 508 30th October 09:44
Last Post: Craig
  [Solved] qtips content only appearing in safari - not in other browsers sol1234 6 880 7th October 13:56
Last Post: sol1234
  [Solved] Using nested qtips ashmenon 2 470 12th September 16:02
Last Post: ashmenon
  [Solved] qTips only flip on 2nd hover coastph 4 1,179 9th August 10:26
Last Post: Craig
  [Solved] Position qtip to div but still stay always visible on screen gorczas 7 1,341 9th April 14:53
Last Post: gorczas
  [Solved] qTips image disappeared btjandra 2 692 4th April 20:09
Last Post: btjandra



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