$(function(){
var x;
var y = 38;
$(".classTab td:parent").live('mouseover',function(e){
 this.myTitle = this.title;
 this.title = "";
 var popHtml ='<div class="tishiBox"><span class="spanL"><\/span><span class="spanR"><\/span><p>'+this.myTitle+'<\/p><em><\/em><\/div>';
 $("body").append(popHtml);
 //alert(e.pageX)
 x = $(".tishiBox").width()-10;
 $(".tishiBox").css({
  left:(e.pageX - x) + "px",
  top:(e.pageY - y) + "px"
  }).show()
 }).live('mouseout',function(){
  this.title = this.myTitle;
  $(".tishiBox").remove();
  }).live("mousemove",function(e){
   x = $(".tishiBox").width()-10;
   $(".tishiBox").css({
   left:(e.pageX - x) + "px",
   top:(e.pageY - y) + "px"
   })  
   })
 
})

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
  • 2021-10-11
  • 2022-01-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案