Home > Web Front-end > JS Tutorial > body text

jquery鼠标放上去显示悬浮层即弹出定位的div层_jquery

WBOY
Release: 2016-05-16 16:51:02
Original
1458 people have browsed it
复制代码 代码如下:


<script> <BR>function show(obj,id) { <BR>var objDiv = $("#"+id+""); <BR>$(objDiv).css("display","block"); <BR>$(objDiv).css("left", event.clientX); <BR>$(objDiv).css("top", event.clientY + 10); <BR>} <BR>function hide(obj,id) { <BR>var objDiv = $("#"+id+""); <BR>$(objDiv).css("display", "none"); <BR>} <BR></script>






鼠标放上去1






鼠标放上去2
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!