당신은 당신의 페이지에이 있습니다 imgtag에서
li.mouseenter(function(kmouse) {
kmouse.preventDefault();
my_tooltip.css({
opacity : 0.8,
display : "none"
}).fadeIn(400);
}).mousemove(function(kmouse){
kmouse.preventDefault();
my_tooltip.css({
left : kmouse.pageX + 15,
top : kmouse.pageY + 15
});
}).mouseleave(function(kmouse) {
kmouse.preventDefault();
my_tooltip.fadeOut(400);
});
/:
<div id="photo1" class="taggedimg">
<img id="atag" src="img/photo1.jpg">
<li style="top: 0px; left: 0px; height: 45px; width: 77px; margin-top: 15px; margin-left: 0px; " class="tag mytag"></li>
<li style="top: 55px; left: 45px; height: 340px; width: 960px; margin-top: 15px; margin-left: 0px; " class="tag mytag"></li>
</div>
... 나에게 weard 보인다
와 기본 동작을 방지하십시오 core.js
기적적인 답변! :) 나는 그 이유를 결코 알지 못할 것이다. Btw, 나는 당신의 해결책을 이해하지 못했습니다. ( –
@Omar, 설명과 이미지에 대한 링크가 업데이트되었습니다 .. –
고마워요, 록 :) –