Home  >  Article  >  Web Front-end  >  CSS+DIV实现图片动态显示(完美版)_html/css_WEB-ITnose

CSS+DIV实现图片动态显示(完美版)_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:31:541851browse

Show Photo

   function ImageDivMouseOver(obj)

   {

        document.getElementById(obj).style.left=window.event.x+15+document.documentElement.scrollLeft;

        document.getElementById(obj).style.top=window.event.y+15+document.documentElement.scrollTop;

   }

.showImage a{

display:block;/**//*璁╅

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