<!
DOCTYPE
HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<
html
>
<
head
><
title
>H-Flip Menü von Jan Erdmann</
title
>
<
style
TYPE
=
"text/css"
>
BODY {margin:0; cursor:default;}
.je_back {BACKGROUND-IMAGE: url(images/back.gif); height:25px; width:100%;}
.je_but1 {BACKGROUND-IMAGE: url(images/b1.gif); FONT-FAMILY: verdana; FONT-SIZE: 10px; COLOR: #cccccc; height:25px;}
.je_but2 {BACKGROUND-IMAGE: url(images/b2.gif); FONT-FAMILY: verdana; FONT-SIZE: 10px; COLOR: #cccccc; height:25px;}
.je_tab1 {FONT-FAMILY: verdana; FONT-SIZE: 10px; COLOR: #000000; BACKGROUND-COLOR:#aaaaaa;}
.je_tab2 {FONT-FAMILY: verdana; FONT-SIZE: 10px; COLOR: #000000; BACKGROUND-COLOR:#bbbbbb;}
.je_tabo {FONT-FAMILY: verdana; FONT-SIZE: 10px; COLOR: #000000; BACKGROUND-COLOR:#ff9999;}
.je_tabb {BACKGROUND-COLOR:#000000;}
</
style
>
<
script
language
=
"JavaScript"
type
=
"text/javascript"
>
///////////////////////////////////////////////////////////////////
/// (C)opyright 2004 - Jan Erdmann // info@je0.de // www.je0.de ///
///////////////////////////////////////////////////////////////////
/// Das Copyright muß unverändert hier im Quelltext bleiben. ///
///////////////////////////////////////////////////////////////////
/////////////////////////// Einstellung Buttons ///////////////////////////
/////////////////////////// Nummer, Name, Link, Framename (""=neues fenster, "self"=gleicher)
Buttons = new Array(
"1", "Home" , "", "",
"2", "Button2" , "", "",
"3", "Button3" , "", "",
"4", "Button4" , "seite4.html", "",
"5", "Button5" , "", ""
);
/////////////////////////// Nummer, Name, Link, Framename (""=neues fenster, "self"=gleicher)
UButton = new Array(
"1", "Button1" , "seite1.html", "",
"1", "Button2" , "seite2.html", "self",
"1", "Button3" , "seite3.html", "haupt",
"1", "Button4" , "seite4.html", "haupt",
"1", "Button5" , "seite5.html", "",
"1", "Button6" , "seite6.html", "haupt",
"1", "Button7" , "seite6.html", "",
"1", "Button8" , "seite8.html", "haupt",
"1", "Button9" , "seite9.html", "haupt",
"2", "Button1" , "seite1.html", "",
"2", "Button2" , "seite2.html", "self",
"2", "Button3" , "seite3.html", "",
"3", "Button1" , "seite1.html", "",
"3", "Button2" , "seite2.html", "self",
"3", "Button3" , "seite3.html", "",
"3", "Button4" , "seite4.html", "haupt",
"3", "Button5" , "seite5.html", "",
"3", "Button6" , "seite6.html", "haupt",
"5", "Button1" , "seite1.html", "",
"5", "Button2" , "seite2.html", "haupt",
"5", "Button3" , "seite3.html", "haupt",
"5", "Button4" , "seite4.html", "haupt",
"5", "Button5" , "seite5.html", "",
"5", "Button6" , "seite6.html", "self",
"5", "Button7" , "seite7.html", "",
"5", "Button8" , "seite8.html", "haupt"
);
/////////////////////////// Weitere Einstellungen wenn Buttons verändert werden ///////////////////////////
var pfad="images"; // Pfad zu den Grafiken, ohne / am Ende
var butbr=113; // Buttonbreite
var menbr=90; // Menübreite
var vo=10; // Menü von Oben
///////////////////////////////////////////////////////////////////////
var anzahl=Buttons.length, uanzahl=UButton.length, jecou="",tu1="", bi1="",st1="",nr1="",hflink="";
function zeiver(tu,nummer) {
if (tu==1) {
bi1="b2";
tu1="visible";
} else {
bi1="b1";
tu1="hidden";
}
document.getElementById(['lay'+nummer]).style.visibility=tu1;
document.getElementById(['bild'+nummer]).style.backgroundImage='url('+pfad+'/'+bi1+'.gif)';
}
function tabwech(bid,nr) {
if (st1!="")
document.getElementById(nr1).className=st1;
nr1=nr;
st1=document.getElementById(nr).className;
if (bid==1)
document.getElementById(nr).className='je_tabo';
}
function hfpop(kmurl) {
kmfenster=window.open (kmurl)
}
document.write('<
div
class
=
"je_back"
style
=
"position:absolute; top:'+vo+'"
><
center
><
table
cellspacing
=
0
cellpadding
=
0
><
tr
>');
for (anz=0; anz<
anzahl
;
anz
=anz+4) {
hflink
=
""
;
if (Buttons[anz+2]){
hflink
=
"parent.frames."
+Buttons[anz+3]+".location.href=\'"+Buttons[anz+2]+"\'";
if (Buttons[anz+3]=="")
hflink
=
"hfpop(\'"
+Buttons[anz+2]+"\')";
if (Buttons[anz+3]=="self")
hflink
=
"location.href=\'"
+Buttons[anz+2]+"\'";
}
document.write('<td
id
=
"bild'+Buttons[anz]+'"
class
=
"je_but1"
width
=
'+butbr+'
onmouseover
=
"zeiver(1,'+Buttons[anz]+')"
onmouseout
=
"zeiver(0,'+Buttons[anz]+')"
onclick
=
"'+hflink+'"
align
=
"center"
>'+Buttons[anz+1]+'<\/td>');
}
document.write('<\/tr><
tr
>');
for (anz=0; anz<
anzahl
;
anz
=anz+4) {
if (Buttons[anz+2]=="") {
document.write('<td><
div
id
=
"lay'+Buttons[anz]+'"
style
=
"position:absolute; visibility:hidden; width:'+butbr+';"
>');
document.write('<
center
><
table
cellspacing
=
1
class
=
"je_tabb"
width
=
'+menbr+'
onmouseover
=
"zeiver(1,'+Buttons[anz]+')"
onmouseout
=
"zeiver(0,'+Buttons[anz]+')"
>');
for (uanz=0; uanz<
uanzahl
;
uanz
=uanz+4) {
hflink
=
""
;
if (UButton[uanz+2]) {
hflink
=
"parent.frames."
+UButton[uanz+3]+".location.href=\'"+UButton[uanz+2]+"\'";
if (UButton[uanz+3]=="")
hflink
=
"hfpop(\'"
+UButton[uanz+2]+"\')";
if (UButton[uanz+3]=="self")
hflink
=
"location.href=\'"
+UButton[uanz+2]+"\'";
}
if (UButton[uanz]==Buttons[anz]) {
if (jecou=="je_tab1")
jecou
=
"je_tab2"
;
else
jecou
=
"je_tab1"
;
document.write('<tr><
td
class
=
"'+jecou+'"
id
=
"'+uanz+'_'+UButton[uanz]+'"
onmouseover
=
"tabwech(1,\''+uanz+'_'+UButton[uanz]+'\')"
onmouseout
=
"tabwech(0,\''+uanz+'_'+UButton[uanz]+'\')"
onclick
=
"'+hflink+'"
>'+UButton[uanz+1]+'<\/td><\/tr>');
} }
document.write('<\/table><\/div><\/td>');
} else {
document.write('<
td
><
div
style
=
"position:absolute; visibility:hidden;"
id
=
"lay'+Buttons[anz]+'"
> <\/div><\/td>');
} }
document.write('<\/tr><\/table><\/center><\/div>');
</
script
>
</
head
>
<
body
bgcolor=#999999>
<
div
style
=
"height:45px"
> </
div
>
</
body
>
</
html
>