project-totopia/w-demo.com_capture/html_sources/어드민1/admin_개별통계_files/cocer.js.다운로드

30 lines
690 B
Plaintext
Raw Permalink Normal View History

2019-07-20 21:39:16 +00:00
$(function(){
var a;
$(".cover-list").hover(function(){
if(a){
window.clearTimeout(a)
}
var c=this;
a=window.setTimeout(function(){
var g=$(".detail-frame",c).html();
var i=$(c).offset().left;
var h=$(c).offset().top;
var j=$(c).width()+8;
$("body").append('<div class="detail-tip"></div>');
if($(c).hasClass("r-end")){
$(".detail-tip").html(g).append('<span class="arrow-right"></span>').css("left",i+j-600).css("top",h);
}else{
$(".detail-tip").html(g).append('<span class="arrow-left"></span>').css("left",i+j).css("top",h);
}
},200)
},function(){
if(a){
window.clearTimeout(a)
}
$(".detail-tip").remove()
});
});