H
Hans0001
Hallo Zusammen,
ich habe ein menü mit 6 punkten. Wenn man auf den dritten Punkt geht soll er nach rechts ausfahren und drei weitere Punkte anzeigen.
Kann mir jemand helfen wie ich das anstelle ohne java.
CSS:
#button { width:200px; height:926px; font-family:Verdana, Helvetica, Arial, sans-serif; background:url(../img/bg01.jpg) repeat-x #e2e3e3; color:#333; float:left; }
#button ul { list-style: none; margin: 0; padding: 0; border: none; }
#button li { border-bottom: 1px solid #ffffff; margin: 0; }
#button li a { display: block; padding: 5px 5px 5px 0.5em; border-left: 10px solid #545858; background-color: #717878; color: #fff; text-decoration: none; width: 100%; }
html>body #button li a { width: auto; }
#button li a:hover { border-left: 10px solid #940d20; background-color: #b5152b; color: #fff; }
#button #currentpage a { text-decoration:none; color:#ffffff; border-left: 10px solid #940d20; background:#b5152b; }
Navi:
<div id="button">
<ul>
<li<?php if ($thisPage=="001.php") echo " id=\"currentpage\""; ?>><a href="001.php">Startseite</a></li>
<li<?php if ($thisPage=="002.php") echo " id=\"currentpage\""; ?>><a href="002.php">Produkte</a></li>
<li<?php if ($thisPage=="003.php") echo " id=\"currentpage\""; ?>><a href="003.php">Technik</a></li>
<li<?php if ($thisPage=="004.php") echo " id=\"currentpage\""; ?>><a href="004.php">Partner</a></li>
<li<?php if ($thisPage=="005.php") echo " id=\"currentpage\""; ?>><a href="005.php">Kontakt</a></li>
<li<?php if ($thisPage=="006.php") echo " id=\"currentpage\""; ?>><a href="006.php">Impressum</a></li>
</ul>
</div>
Bei Technik sollen die drei weiteren Punkte kommen.
Vielen Dank für die Hilfe.
Gruß
Hans
ich habe ein menü mit 6 punkten. Wenn man auf den dritten Punkt geht soll er nach rechts ausfahren und drei weitere Punkte anzeigen.
Kann mir jemand helfen wie ich das anstelle ohne java.
CSS:
#button { width:200px; height:926px; font-family:Verdana, Helvetica, Arial, sans-serif; background:url(../img/bg01.jpg) repeat-x #e2e3e3; color:#333; float:left; }
#button ul { list-style: none; margin: 0; padding: 0; border: none; }
#button li { border-bottom: 1px solid #ffffff; margin: 0; }
#button li a { display: block; padding: 5px 5px 5px 0.5em; border-left: 10px solid #545858; background-color: #717878; color: #fff; text-decoration: none; width: 100%; }
html>body #button li a { width: auto; }
#button li a:hover { border-left: 10px solid #940d20; background-color: #b5152b; color: #fff; }
#button #currentpage a { text-decoration:none; color:#ffffff; border-left: 10px solid #940d20; background:#b5152b; }
Navi:
<div id="button">
<ul>
<li<?php if ($thisPage=="001.php") echo " id=\"currentpage\""; ?>><a href="001.php">Startseite</a></li>
<li<?php if ($thisPage=="002.php") echo " id=\"currentpage\""; ?>><a href="002.php">Produkte</a></li>
<li<?php if ($thisPage=="003.php") echo " id=\"currentpage\""; ?>><a href="003.php">Technik</a></li>
<li<?php if ($thisPage=="004.php") echo " id=\"currentpage\""; ?>><a href="004.php">Partner</a></li>
<li<?php if ($thisPage=="005.php") echo " id=\"currentpage\""; ?>><a href="005.php">Kontakt</a></li>
<li<?php if ($thisPage=="006.php") echo " id=\"currentpage\""; ?>><a href="006.php">Impressum</a></li>
</ul>
</div>
Bei Technik sollen die drei weiteren Punkte kommen.
Vielen Dank für die Hilfe.
Gruß
Hans