我需要一个这个网站http://www.alixixi.com/,首页两侧的对联广告代码
显示精美韩国商业模板的那个
但是我弄了很久都取不出来,谁帮我取下,谢谢

解决方案 »

  1.   

      <script> 
    lastScrollY=0;
    function heartBeat(){ 
    var diffY;
    if (document.documentElement && document.documentElement.scrollTop)
    diffY = document.documentElement.scrollTop;
    else if (document.body)
    diffY = document.body.scrollTop
    else
        {/*Netscape stuff*/}

    //alert(diffY);
    percent=.1*(diffY-lastScrollY); 
    if(percent>0)percent=Math.ceil(percent); 
    else percent=Math.floor(percent); 
    document.getElementById("lovexin12").style.top=parseInt(document.getElementById
     
    ("lovexin12").style.top)+percent+"px";
    document.getElementById("lovexin14").style.top=parseInt(document.getElementById
     
    ("lovexin12").style.top)+percent+"px";
     
    lastScrollY=lastScrollY+percent; 
    //alert(lastScrollY);
    }//from alixixi.com
    suspendcode12="<DIV id=\"lovexin12\" style='left:0;POSITION:absolute;TOP:190px;width:18px;height:220px;background:#efefef'><a href='http://shop.alixixi.com/' target='_blank'><img src='http://www.alixixi.com/adsview/ad1.gif'></a></div>"
    suspendcode14="<DIV id=\"lovexin14\" style='right:0;POSITION:absolute;TOP:190px;width:18px;height:220px;background:#efefef''><a href='http://shop.alixixi.com/?p=1777' target='_blank'><img src='http://www.alixixi.com/adsview/ad2.gif'></a></div>"
    document.write(suspendcode12); 
    document.write(suspendcode14); 
    window.setInterval("heartBeat()",1);
      </script> 
      

  2.   

    用firebug去,三下五除二就搞定了。