Hi! Suche Menüart

Fragen zu allen Themen rund ums Programmieren außerhalb von phpBB können hier gestellt werden - auch zu anderen Programmiersprachen oder Software wie Webservern und Editoren.
Antworten
Manu85

Hi! Suche Menüart

Beitrag von Manu85 »

Hi!! Kann mir jemand sagen, wo ich ein Menü finde, das dem von www.sd-6.de ähnlich ist? Wäre total nett!
Manu
Benutzeravatar
andreasOymann
Ehemaliges Teammitglied
Beiträge: 2392
Registriert: 10.06.2003 16:29
Wohnort: Hamminkeln
Kontaktdaten:

Beitrag von andreasOymann »

Bitteschön, nur noch anpassen ...

Code: Alles auswählen

<!--Links used to initiate the sub menus. Pass in the desired submenu index numbers (ie: 0, 1) -->
<a href="/index.php" onMouseover="showit(0)" class=menuetop>[ ALIAS - Die Serie ]</a>&nbsp;&nbsp;<a href="/index.php" onMouseover="showit(1)" class=menuetop>[ Behind ALIAS]</a>&nbsp;&nbsp;<a href="/index.php" onMouseover="showit(2)" class=menuetop>[ Schauspieler ]</a>&nbsp;&nbsp;<a href="/index.php" onMouseover="showit(3)" class=menuetop>[ Media ]</a>&nbsp;&nbsp;<a href="http://www.sd-6.de/forum" onMouseover="showit(4)" class=menue>[ Forum ]</a>&nbsp;&nbsp;<a href="/index.php" onMouseover="showit(5)" class=menuetop>[ Exit ]</a><img src="blank.gif" height="17" width="1" border="0" align="top"><br></font>

<!-- Edit the dimensions of the below, plus background color-->
<ilayer width=630 height=19 name="dep1" bgColor="#E6E6FF">
<layer name="dep2" width=630 height=19>
</layer>
</ilayer>
<div id="describe" style="background-color:;width:630px;height:19px" onMouseover="clear_delayhide()" onMouseout="resetit(event)" align="right"></div>

<script language="JavaScript1.2">

var submenu=new Array()

//Set submenu contents. Expand as needed. For each content, make sure everything exists on ONE LINE. Otherwise, there will be JS errors.
 
submenu[0]='<font size="1" face="Verdana"><b><a href="http://www.sd-6.de/episoden.php">Episodenguide</a> | <a href="http://www.sd-6.de/rambaldi.php">Rambaldi</a> | <a href="http://www.sd-6.de/characters.php">Charaktere</a> | <a href="http://www.sd-6.de/shop.php">Merchandise</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></font>'

submenu[1]='<font size="1" face="Verdana"><b><a href="http://www.sd-6.de/jjcomments.php">Kommentare</a> | <a href="http://www.sd-6.de/stunts.php">Stunts</a> | <a href="http://www.sd-6.de/faq.php">FAQ</a> | <a href="http://www.sd-6.de/giacchino.php">Sound</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></font>'

submenu[2]='<font size="1" face="Verdana"><b><a href="http://www.sd-6.de/actors.php">Hauptdarsteller</a> | <a href="http://www.sd-6.de/returningguests.php">Gastrollen</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></font>'

submenu[3]='<font size="1" face="Verdana"><b><a href="http://www.sd-6.de/game.php">Videospiel</a> | <a href="http://www.sd-6.de/pics.php">Bilder</a> | <a href="http://www.sd-6.de/music.php">Musik</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</b></font>'

submenu[4]='<font size="1" face="Verdana"><b>Zum Forum</b></font>'

submenu[5]='<font size="1" face="Verdana"><b><a href="http://www.sd-6.de/links.php">Links</a> | <a href="http://www.sd-6.de/linkme.php">Link Me</a> | <a href="http://www.sd-6.de/gb.php">G&auml;stebuch</a></b></font>'

//Set delay before submenu disappears after mouse moves out of it (in milliseconds)
var delay_hide=300

/////No need to edit beyond here

var menuobj=document.getElementById? document.getElementById("describe") : document.all? document.all.describe : document.layers? document.dep1.document.dep2 : ""

function showit(which){
clear_delayhide()
thecontent=(which==-1)? "" : submenu[which]
if (document.getElementById||document.all)
menuobj.innerHTML=thecontent
else if (document.layers){
menuobj.document.write(thecontent)
menuobj.document.close()
}
}

function resetit(e){
if (document.all&&!menuobj.contains(e.toElement))
delayhide=setTimeout("showit(-1)",delay_hide)
else if (document.getElementById&&e.currentTarget!= e.relatedTarget&& !contains_ns6(e.currentTarget, e.relatedTarget))
delayhide=setTimeout("showit(-1)",delay_hide)
}

function clear_delayhide(){
if (window.delayhide)
clearTimeout(delayhide)
}

function contains_ns6(a, b) {
while (b.parentNode)
if ((b = b.parentNode) == a)
return true;
return false;
}

</script>
Kein Support per PN / Mail / ICQ / MSN ! Dafür gibt´s dieses Forum...
Antworten

Zurück zu „Coding & Technik“