Deutsch
<html> <head> <title>http://www.downcodes.com</title> <style> body {font-size:12px;font-family:宋体} ul.TabBarLevel1{ list-style:none; Rand:0; Polsterung:0; Höhe:29px; Hintergrundbild:url(/u/info_img/2009-06/20/tabbar_level1_bk.gif); } ul.TabBarLevel1 li{ float:left; Polsterung:0; Höhe:29px; margin-right:1px; Hintergrund:url(/u/info_img/2009-06/20/tabbar_level1_slice_left_bk.gif) links oben ohne Wiederholung; } ul.TabBarLevel1 li a{ display:block; Zeilenhöhe:29px; Polsterung:0 20px; Farbe:#333; Hintergrund:url(/u/info_img/2009-06/20/tabbar_level1_slice_right_bk.gif) rechts oben ohne Wiederholung; Leerraum: nowrap; } ul.TabBarLevel1 li.Selected{ background:url(/u/info_img/2009-06/20/tabbar_level1_slice_selected_left_bk.gif) left top no-repeat; } ul.TabBarLevel1 li.Selected a{ background:url(/u/info_img/2009-06/20/tabbar_level1_slice_selected_right_bk.gif) right top no-repeat; } ul.TabBarLevel1 li a:link,ul.TabBarLevel1 li a:visited{ color:#333; } ul.TabBarLevel1 li a:hover,ul.TabBarLevel1 li a:active{ color:#F30; Textdekoration: keine; } ul.TabBarLevel1 li.Selected a:link,ul.TabBarLevel1 li.Selected a:visited{ color:#000; } ul.TabBarLevel1 li.Selected a:hover,ul.TabBarLevel1 li.Selected a:active{ color:#F30; Textdekoration: keine; } div.HackBox { padding : 2px 2px ; Rand links: 2 Pixel durchgehend #6697CD; Rand rechts: 2 Pixel fest #6697CD; border-bottom: 2px solide #6697CD; } </style> </head> <body> <div id="Whatever"> <ul class="TabBarLevel1" id="TabPage1"> <li id="Tab1"><a href="#" onclick= "javascript:switchTab('TabPage1','Tab1');">Weitere Informationen</a></li> <li id="Tab2" class="Selected"><a href="#" onclick="javascript :switchTab('TabPage1','Tab2');">Weitere Informationen</a></li> <li id="Tab3"><a href="#" onclick="javascript:switchTab('TabPage1', 'Tab3');">Weitere Informationen</a></li> <li id="Tab4"><a href="#" onclick="javascript:switchTab('TabPage1','Tab4');">留言簿</a></li> </ul> <div class="HackBox"><br><br>XXXXXXXX<br></div> </div> <script language="JavaScript"> // Switch Tab Effect-Funktion switchTab(tabpage,tabid){ var oItem = document.getElementById(tabpage); for(var i=0;i<oItem.children.length;i++){ var x = oItem.children(i); x.className = ""; var y = x.getElementsByTagName('a'); y[0].style.color="#333333"; } document.getElementById(tabid).className = "Ausgewählt"; } </script> </body> </html>