Home > Web Front-end > JS Tutorial > jquery mouse is placed on it to display the floating layer and the positioned div layer pops up_jquery

jquery mouse is placed on it to display the floating layer and the positioned div layer pops up_jquery

WBOY
Release: 2016-05-16 16:51:02
Original
1527 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