蓝森林首页 | 返回主页 | 本站地图 | 站内搜索 | 联系信箱 |
 您目前的位置:首页 > 自由软件 > 技术交流 > 应用编程


    

蓝森林 http://www.lslnet.com 2006年8月22日 18:28

[css]帮我把图片超连接后的颜色去掉(我在帖子中没找)谢!

去掉图片后面的颜色
==============================================
[html]
<SCRIPT Language="JavaScript">
<!--
var nos=null;
var mw=1500;
var mstep=0;
var msop=10;

function doMar(dir, src, amount) {
    if (amount==null) amount=10;
    switch (dir) {
    case "left":
        document.all[src].style.pixelLeft-=amount;
         mstep=mstep+1;

          if (mstep==mw) {
            mstep=0;
            document.all.sl.style.pixelLeft=0;
            document.all.sl.style.pixelLeft=0;
           }
        if (-document.all[src].style.pixelLeft>=document.all[src].offsetWidth)
            document.all[src].style.pixelLeft=document.all[src].offsetParent.offsetWidth;
        break;
    case "right":
        document.all[src].style.pixelLeft+=amount;
          mstep=mstep-1
          if (mstep==0) {
            mstep=mw;
            document.all.sl.style.pixelLeft=0;

            document.all.sl.style.pixelLeft=mw;
           }
        if (document.all[src].style.pixelLeft>document.all[src].offsetParent.offsetWidth)
            document.all[src].style.pixelLeft = -document.all[src].offsetWidth;
        break;
    }
    return false;

}

function RunMar(sDir,sWhich) {
clearInterval(nos);
iAmount=1;
nos = setInterval("doMar('"+sDir+"','"+sWhich+"'," + iAmount+")",msop);
}


function doLoad() {
window.document.all.sl.ondragstart = new Function("return false");
RunMar("left","sl");
}

window.onload=doLoad;

// -->
</SCRIPT>
<DIV id="tk"
style="Z-INDEX: 1; BACKGROUND: #333333; LEFT: 0px; VISIBILITY: visible; OVERFLOW: hidden; WIDTH: 100%; CLIP: rect(0px 100% 100px 0px); POSITION: absolute; TOP: 10px; HEIGHT:50px;">

<DIV id="sl" style="WIDTH: 100%; POSITION: absolute" onmouseover="javascript:clearInterval(nos);" onmouseout="javascript:RunMar('left','sl');">
<table width="100%" border="0" cellspacing="0" cellpadding="0" boder="0"></a><tr>
<td><a href="http://www.chinatelecom.com.cn"><img src="dianxin.gif" width="110" height="40" boder="0"></a></td>
<td><a href="http://www.build.com.cn"><img src="jianshe.gif" width="110" height="40" boder="0"></a></td>
<td><a href="http://www.chinaunicom.com.cn"><img src="liantong.gif" width="110" height="40" boder="0"></a></td>
<td><a href="http://www.petrochina.com.cn"><img src="shiyou.gif" width="110" height="40" boder="0"></a></td>
<td><a href="http://www.cnc.net.cn"><img src="wangtong.gif" width="110" height="40" boder="0"></a></td>
<td><a href="http://www.chinamobile.com"><img src="yidong.gif" width="110" height="40" boder="0"></a></td>
<td><a href="http://www.chinapost.gov.cn"><img src="youzheng.gif" width="110" height="40"  boder="0"></a></td>
<td><a href="http://www.chinapower.com.cn"><img src="dianli.gif" width="110" height="40"></td>

<td><a href="http://www.chinaunicom.com.cn"><img src="liantong.gif" width="110" height="40" boder="0"></a></td>
<td><a href="http://www.build.com.cn"><img src="jianshe.gif" width="110" height="40" boder="0"></a></td>
<td><a href="http://www.chinatelecom.com.cn"><img src="dianxin.gif" width="110" height="40" boder="0"></a></td>
<td><a href="http://www.cnc.net.cn"><img src="wangtong.gif" width="110" height="40" boder="0"></a></td>
<td><a href="http://www.chinaunicom.com.cn"><img src="liantong.gif" width="110" height="40" boder="0"></a></td>

<td><a href="http://www.chinapost.gov.cn"><img src="youzheng.gif" width="110" height="40" boder="0"></a></td>
<td><a href="http://www.chinamobile.com"><img src="yidong.gif" width="110" height="40" boder="0"></a></td>
<td><a href="http://www.chinapower.com.cn"><img src="dianli.gif" width="110" height="40" boder="0"></a></td>
<td><a href="http://www.build.com.cn"><img src="jianshe.gif" width="110" height="40" boder="0"></a></td>
<td><a href="http://www.chinaunicom.com.cn"><img src="liantong.gif" width="110" height="40" boder="0"></a></td>
<td><a href="http://www.chinapost.gov.cn"><img src="youzhe




Copyright © 1999-2000 LSLNET.COM. All rights reserved. 蓝森林网站 版权所有。 E-mail : webmaster@lslnet.com