日期:2014-05-18 浏览次数:20427 次
<asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanelOnline"> <ProgressTemplate> <img src="update1.gif" />正在刷新,请稍候... </ProgressTemplate> </asp:UpdateProgress>
------解决方案--------------------
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<img src="test.jpg" style="width: 70px; height: 94px" onmouseover="show(this)" onmouseout="hide(this)"/>
<div id="enlarge_images" style="position: absolute; z-index:2; height:100px; width:80px;"></div>
<script type="text/javascript" language="javascript">
function show(_this) {
document.getElementById("enlarge_images").innerHTML = "<img src='" + _this.src + "' >";
}
function hide(_this) {
document.getElementById("enlarge_images").innerHTML = "";
}
function move_layer(event){
event = event || window.event;
enlarge_images.style.left=event.clientX+document.body.scrollLeft+10;
enlarge_images.style.top=event.clientY+document.body.scrollTop+10;
}
document.onmousemove =move_layer;
</script>
</div>
</form>
</body>
</html>
------解决方案--------------------
div+css+js可以实现
------解决方案--------------------