Home  >  Article  >  Web Front-end  >  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
WBOYOriginal
2016-05-16 16:51:021501browse
复制代码 代码如下:


<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
Statement:
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