Вход Регистрация
Файл: public_html/js/jquery.tooltip.js
Строк: 23
<?php
(function($){
$(function() {

 $(
'.jQtooltip').each(function() {
  var 
el = $(this);
  var 
title = el.attr('title');
  if (
title && title != '') {
   
el.attr('title', '').append('<div>' + title + '</div>');
   var 
width = el.find('div').width();
   var 
height = el.find('div').height();
                        var 
jheight = el.height();
//alert(jheight);
   
el.hover(
    function() {
     
el.find('div')
 
      .
clearQueue()
      .
delay(200)
      .
show(200)
      .
animate({width: width, height: height}, 200);

                                               
    },
    function() {
     
el.find('div')
    
      .
animate({width: 'hide', height: 'hide'}, 150);
    }
   ).
mouseleave(function() {
    if (
el.children().is(':hidden')) el.find('div').clearQueue();
   });
  }
 })

})
})(
jQuery)
?>
Онлайн: 1
Реклама