<style>  
#content,#intro{  
    font: 13px/25px;  
    width: 200px;  
    height: 40px;  
    background: #eee;  
    padding: 10px;  
    border: 4px #ccc double;  
        border-bottom:0;  
    overflow: hidden;  
}  
 
#intro {  
    color: #036;  
    font:12px;  
        border: 4px #ccc double;  
        border-top:0;  
        height:70px;  
}  
#key{color:#900;float:right}  
hr{height:1px;border:1px #ccc dotted}  
</style>  
<script>  
var s=5;  
var minheight=40;  
var maxheight=500;  
function shoppingcat(){  
    var key = document.getElementById("key").innerText;  
    if(key=="展开"){  
        content.style.pixelHeight+=s;  
        if(content.style.pixelHeight<maxheight){  
            setTimeout("shoppingcat();",1);  
        }else{  
            document.getElementById("key").innerText="关闭";  
        }  
    }else{  
        content.style.pixelHeight-=s;  
        if(content.style.pixelHeight>minheight){  
            setTimeout("shoppingcat();",1);  
        }else{  
            document.getElementById("key").innerText="展开";  
        }  
    }  
}  
</script>  
<div >   
孤雁儿  
<br><br>  
世人作梅词,下笔便俗。予试作一篇,乃知前言不妄耳。<br><br>  
藤床纸帐朝眠起,<br>   
说不尽、无佳思。<br>  
沈香烟断玉炉寒,<br>  
伴我情怀如水。<br>  
笛声三弄,<br>  
梅心惊破,<br>  
多少春情意。<br><br>  
 
小风疏雨萧萧地,<br>  
又催下、千行泪。<br>  
吹箫人去玉楼空,<br>   
肠断与谁同倚?  
一枝折得,<br>  
人间天上,<br>  
没个人堪寄。  
</div>  
 
<div >展开</span><br>来源:中国诗辞网</div>  

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2022-12-23
  • 2021-06-12
  • 2021-07-23
  • 2022-12-23
  • 2021-07-25
猜你喜欢
  • 2022-03-01
  • 2022-12-23
  • 2021-08-03
  • 2022-12-23
  • 2021-07-19
  • 2022-01-09
相关资源
相似解决方案