1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | <!--以下是背景顯示,請修改下方網址http://i.imm.io/s89G.png,左右移動請修改50%,數字越小越靠左--> <STYLE>body{ background-image: url(http://i.imm.io/s89G.png); background-repeat: no-repeat;background-attachment: fixed; background-position: 50%}</STYLE> <div align="center"> <!--以下是頂端圖片的語法,請修改圖片網址http://k.h.gs/image/ba.png--> <img border="0" src="http://k.h.gs/image/ba.png"><br> <!--以下是選單的語法,請修改標題及文字--> <a href="JavaScript:ShowSubMenu(1)">標題1</a>˙ <a href="JavaScript:ShowSubMenu(2)">標題2</a>˙ <a href="JavaScript:ShowSubMenu(3)">標題3</a>˙ <a href="JavaScript:ShowSubMenu(4)">標題4</a>˙ <a href="JavaScript:ShowSubMenu(5)">標題5</a>˙ <a href="JavaScript:ShowSubMenu(6)">標題6</a>˙ <a href="JavaScript:ShowSubMenu(7)">標題7</a>˙ <a href="JavaScript:ShowSubMenu(8)">標題8</a>˙ <a href="JavaScript:ShowSubMenu(9)">標題9</a> <div id="SubMenu1" class="SubMenu" style="display:none">文字1</div> <div id="SubMenu2" class="SubMenu" style="display:none">文字2</div> <div id="SubMenu3" class="SubMenu" style="display:none">文字3</div> <div id="SubMenu4" class="SubMenu" style="display:none">文字4</div> <div id="SubMenu5" class="SubMenu" style="display:none">文字5</div> <div id="SubMenu6" class="SubMenu" style="display:none">文字6</div> <div id="SubMenu7" class="SubMenu" style="display:none">文字7</div> <div id="SubMenu8" class="SubMenu" style="display:none">文字8</div> <div id="SubMenu9" class="SubMenu" style="display:none">文字9</div> <script language="JavaScript"> var currentMenu = 1; function ShowSubMenu(id) { if (document.all["SubMenu" + id].style.display == "") { document.all["SubMenu" + id].style.display = "none"; currentMenu = 0; } else { if (currentMenu != 0) {document.all["SubMenu" + currentMenu].style.display = "none";} document.all["SubMenu" + id].style.display = ""; currentMenu = id; } } </script> <br> <!--以下是音樂語法,請修改下方網址http://f11.wretch.yimg.com/rr870217/6/1372744763.mp3--> <embed src="http://l.yimg.com/e/serv/video/video_player/BGMusicPlayer.swf?file=http://f11.wretch.yimg.com/rr870217/6/1372744763.mp3&autostart=true&showeq=false&repeat=true&backcolor=0xCFA788&frontcolor=0xFFFFFF&lightcolor=0xF7C8A3" width="200" height="20" ></embed> |
Direct link: https://paste.plurk.com/show/1133006