Foros ZackYFileS

Foros ZackYFileS (http://foros.zackyfiles.com/index.php)
-   PROGRAMACIÓN Lenguajes: Visual Basic, C++, etc (http://foros.zackyfiles.com/forumdisplay.php?f=370)
-   -   Tooltip (http://foros.zackyfiles.com/showthread.php?t=631691)

Wao 17/12/2010 18:14

Tooltip
 
Tengo istalado en mi foro un tooltip, me funciona en todos menos en las caratulas que rotan, solo al principio se me ve pero en cuanto aparecen las siguientes caratulas deja de verse, este es el codigo...

Código PHP:

this.tooltip = function(){    
    
/* CONFIG */        
        
xOffset 57;
        
yOffset 13;        
        
// these 2 variable determine popup's distance from the cursor
        // you might want to adjust to get the right result        
    /* END CONFIG */        
    
$("a.tooltip").hover(function(e){                                              
        
this.this.title;
        
this.title "";                                      
        $(
"body").append("<p id='tooltip'>"this.+"</p>");
        $(
"#tooltip")
            .
css("top",(e.pageY xOffset) + "px")
            .
css("left",(e.pageX yOffset) + "px")
            .
fadeIn("fast");        
    },
    function(){
        
this.title this.t;        
        $(
"#tooltip").remove();
    });    
    $(
"a.tooltip").mousemove(function(e){
        $(
"#tooltip")
            .
css("top",(e.pageY xOffset) + "px")
            .
css("left",(e.pageX yOffset) + "px");
    });            
};



// starting the script on page load
$(document).ready(function(){
    
tooltip();
}); 



La franja horaria es GMT +2. Ahora son las 14:09.

Powered por vBulletin™ Version 3.8.10
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.
Traducido por vBsoporte - vBulletin en español
ZackYFileS - Foros de Debate