在放大的时候,还是有个边框啊,我已经写border=0了啊,谁来看看。还有在图片放大后,我想取消它的链接效果。就是放大了之后,没有链接,不能点击
[html] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN " "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns= "http://www.w3.org/1999/xhtml ">
<head>
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 " />
<title> 无标题文档 </title>
</head>
<body>
<script language= "JavaScript " type= "text/JavaScript " >
function hideLayer()
{
var layer = document.getElementById( "popImageLayer ");
layer.style.visibility= 'hidden ';
}
function dispear(){
var layer = document.getElementById( "popImageLayer ");
if ((layer.style.width> 0)&& (layer.style.height> 0)){
layer.style.width-=1;
layer.style.height-=1;
}
else {
layer.style.visibility= 'hidden ';
if (window.interval)
clearInterval(interval);
}
}
function popImage(obj,img,href)
{
var layer = document.getElementById( "popImageLayer ");
var t=obj.offsetTop;
var l=obj.offsetLeft;
while(obj=obj.offsetParent){
t+=obj.offsetTop;
l+=obj.offsetLeft;
}
var content = " <table border=0 width=180 height=180> <tr> <td align= 'center ' valign= 'middle '> \n "+
" <A href= "+href+ " target=_blank> <IMG src= ' "+img+ " ' onload= 'DrawImage(this,180,180); ' onMouseOut= 'low(this);hideLayer(); ' onMouseOver=high(this) style= 'FILTER: alpha(opacity=10) '> </A> </td> </tr> </table> "; // onClick= 'hideLayer(); '