0
http://www.foundersfund.com/ 請注意,當您點擊右上角的菜單按鈕時,會出現一個ex 按鈕,您可以點擊該按鈕並將菜單返回起來,這 是我想要的,但是這是我的網頁是幹什麼的,嘗試一下:文件:///Users/MacbookPro2011/Desktop/RedWeave/JQuery/redweave.html我想讓一個圖標出現在點擊後刪除的圖標上
here is my code:
<body>
<div id="mainBar">
<div id="menuButton">
<div id="exButton"></div>
</div>
</div>
<script text="type/javascript">
$("#menuButton").click(function() {
$("#mainBar").animate({ height:"300px" },500);
$("#menuButton").animate({ height:"0px", width:"0px"},5);
$("#exButton").animate({ height:"30px", width:"30px"},5);
});
$("#exButton").click(function() {
$("#mainBar").animate({ height:"100px" },500);
$("#menuButton").animate({ height:"30px", width:"30px"},5);
$("#exButton").animate({ height:"0px", width:"0px"},5);
});
</script>