|
|
(5 intermediate revisions not shown) |
Line 1: |
Line 1: |
- | <html>
| + | {{Template:KIT-Kyoto/menu}} |
- | | + | <table border=0 width="965px" align="center"><tr><td> |
- | | + | [[Team:KIT-Kyoto|Home]] > [[Team:KIT-Kyoto/Note|Notebook]] > [[Team:KIT-Kyoto/Notebook|Lab Note]] > [[Team:KIT-Kyoto/Notebook-week8|Week8]]</td></tr></table> |
- | <head>
| + | <table border=0 width="965px" align="center"><tr><td width="165px" valign="top" align="left"><div>{{Template:KIT-Kyoto/menu1}} |
- | <script type="text/javascript" src="index3_files/prototype.js"></script>
| + | </div></td><td width="800px" valign="top" align="left"><div id="MIGI"> |
- | <script type="text/javascript" src="index3_files/effects.js"></script> | + | {{Template:KIT-Kyoto/Labdaily}} |
- | <script type="text/javascript" src="index3_files/accordion.js"></script>
| + | {{Template:KIT-Kyoto-week11}} |
- | | + | </div></td></tr></table> |
- | <script type="text/javascript"> | + | {{Template:KIT-Kyoto-1}} |
- | Event.observe(window, 'load', function(){
| + | |
- | var acc = new accordion("accordion");
| + | |
- | acc.activate($$("#accordion .accordion_toggle")[0]);
| + | |
- | }, false);
| + | |
- | </script>
| + | |
- | | + | |
- |
| + | |
- |
| + | |
- | <style type="text/css">
| + | |
- | /* ▼ アコーディオンメニュー ▼ */
| + | |
- | #accordion_menu{
| + | |
- | width: 180px; /*width of accordion menu*/
| + | |
- | background-color:#fff;
| + | |
- | letter-spacing:1px;
| + | |
- | margin:5px 10px;
| + | |
- | }
| + | |
- | /* アコーディオンのカテゴリの指定 */ | + | |
- | #accordion_menu .menuheader{
| + | |
- | background-image: url(image/bg_menu.jpg);
| + | |
- | background-repeat: no-repeat;
| + | |
- | height:32px;
| + | |
- | margin-bottom: 3px;
| + | |
- | text-decoration: none;
| + | |
- | line-height: 32px;
| + | |
- | font-size: 16px;
| + | |
- | font-weight:bold;
| + | |
- | text-indent: 1.4em;
| + | |
- | color: #000;
| + | |
- | cursor: hand;
| + | |
- | cursor: pointer;
| + | |
- | /* ステータスアイコンを使用する場合 以下の2行が必要です。使用しない場合は削除しても構いません。 */
| + | |
- | display: block;
| + | |
- | position: relative;
| + | |
- | }
| + | |
- | #accordion_menu .menuheader:hover{
| + | |
- | color: #FF0;
| + | |
- | }
| + | |
- | /* openheader はカテゴリが開いている状態のCSS */
| + | |
- | #accordion_menu .openheader{
| + | |
- | background-image: url(image/bg_menu.jpg);
| + | |
- | background-position: 0 -32px;
| + | |
- | background-repeat: no-repeat;
| + | |
- | color: #FFFFFF;
| + | |
- | }
| + | |
- | /* 子メニューの指定 */
| + | |
- | #accordion_menu div.categoryitems ul{
| + | |
- | list-style-type: none;
| + | |
- | margin: 0;
| + | |
- | padding: 0;
| + | |
- | margin-bottom: 8px; /*bottom spacing between each UL and rest of content*/
| + | |
- | }
| + | |
- | /*ステータスアイコンのCSS*/
| + | |
- | #accordion_menu div.menuheader .statusicon{
| + | |
- | position: absolute;
| + | |
- | top: 10px;
| + | |
- | left: 5px;
| + | |
- | border: none;
| + | |
- | }
| + | |
- | #accordion_menu div.categoryitems ul li{
| + | |
- | padding-bottom: 2px;
| + | |
- | }
| + | |
- | #accordion_menu div.categoryitems ul li a{
| + | |
- | color: #A70303;
| + | |
- | background: url(image/arrow.png) no-repeat 2px 5px;
| + | |
- | display: block;
| + | |
- | padding: 2px 0;
| + | |
- | padding-left: 19px;
| + | |
- | text-decoration: none;
| + | |
- | border-bottom: 1px solid #dadada;
| + | |
- | font-size: 14px;
| + | |
- | font-weight: bold;
| + | |
- | }
| + | |
- | #accordion_menu div.categoryitems ul li a:visited{
| + | |
- | color: #A70303;
| + | |
- | }
| + | |
- | #accordion_menu div.categoryitems ul li a:hover{
| + | |
- | color: #A70303;
| + | |
- | background-color: #eee;
| + | |
- | }
| + | |
- | /* ▲ アコーディオンメニュー ▲ ここまで */
| + | |
- | </style> | + | |
- | | + | |
- | | + | |
- | <div id="accordion">
| + | |
- | <div class="accordion_toggle"><p class="genre-name">PS3</p></div>
| + | |
- | <div style="height: auto; display: block;" class="accordion_content">
| + | |
- | <ul>
| + | |
- | <li><a href="#">アクション</a></li>
| + | |
- | <li><a href="#">アドベンチャー</a></li>
| + | |
- | <li><a href="#">シューティング</a></li>
| + | |
- | ・・中略・・
| + | |
- | </ul>
| + | |
- | </div>
| + | |
- | <div class="accordion_toggle"><p class="genre-name">PS2</p></div>
| + | |
- | <div style="height: 0px; display: none;" class="accordion_content">
| + | |
- | <ul>
| + | |
- | | + | |
- | <li><a href="#">アクション</a></li>
| + | |
- | <li><a href="#">アドベンチャー</a></li>
| + | |
- | </html>
| + | |