goTOP
March 11, 2015
突然的、在路邊被問有上帝嗎?
突然、神様がいませんかと聞かれると、、、

點擊在新視窗中瀏覽此圖片
March 8, 2015
css部分
<style type="text/css">
div#show{ margin:10px 0 0 0; padding:5px; border:#999 dashed 1px;}
</style>


javascript部分
<script type="text/javascript">
<!--
  function show(obj,item){
    document.getElementById(item).style.display = obj.checked?"block":"none";
  }
//-->
</script>


html部分
<input type="checkbox" onclick="show(this,'show');" />
<div id="show" style="display:none">這是顯示的內容</div>

註:show可以任意改為其他文字
分頁: 4/4 第一頁 上頁 1 2 3 4 最後頁 [ 顯示模式: 摘要 | 清單 ]