• Das Erstellen neuer Accounts wurde ausgesetzt. Bei berechtigtem Interesse bitte Kontaktaufnahme über die üblichen Wege. Beste Grüße der Admin

fading menü

PRINZ

Lounge-Member
fading menü-page

hallo leut, hab n kleines Table Menü gebastelt, kuckts euch mal an und klickt mal drauf (IE)
wenn ihr lange weile habt(so wie ich) könnter ja mal weiterbasteln:p

nehme gern auch tips entgegen um den script zu kürzen
und eure komentare hät ich auch gern gehört(bedenkt aber das ich nochn beginner bin ;) )

<HTML>
<HEAD>
<TITLE>Example of Background Fader</TITLE>
<style TYPE="text/css">
<!--
A:LINK {text-decoration: none}
A:VISITED {text-decoration: none}
A:ACTIVE {text-decoration: none}
-->
</style>



<STYLE TYPE="text/css">
<!--
BODY
{

scrollbar-arrow-color:ff6600;
scrollbar-base-color:9900ff;
scrollbar-DarkShadow-Color:black;
scrollbar-Face-Color:darkblue;
scrollbar-Highlight-Color:00ff00;
scrollbar-Shadow-Color:000022;
scrollbar-Track-Color:lightblue;

}
//
-->
</STYLE>



<script language="JavaScript">
<!--


function mach(n){

if(n==1){
x=document.form.radio1.value
document.form.da.value=x
document.form.radio2.checked = false
document.form.radio3.checked = false
document.form.radio4.checked = false
document.form.radio5.checked = false
document.form.radio6.checked = false
}
if(n==2){
document.form.radio1.checked = false
x=document.form.radio2.value
document.form.da.value=x
document.form.radio3.checked = false
document.form.radio4.checked = false
document.form.radio5.checked = false
document.form.radio6.checked = false
}
if(n==3){
document.form.radio1.checked = false
document.form.radio2.checked = false
x=document.form.radio3.value
document.form.da.value=x
document.form.radio4.checked = false
document.form.radio5.checked = false
document.form.radio6.checked = false
}
if(n==4){
document.form.radio1.checked = false
document.form.radio2.checked = false
document.form.radio3.checked = false
x=document.form.radio4.value
document.form.da.value=x
document.form.radio5.checked = false
document.form.radio6.checked = false
}
if(n==5){
document.form.radio1.checked = false
document.form.radio2.checked = false
document.form.radio3.checked = false
document.form.radio4.checked = false
x=document.form.radio5.value
document.form.da.value=x
document.form.radio6.checked = false
}
if(n==6){
document.form.radio1.checked = false
document.form.radio2.checked = false
document.form.radio3.checked = false
document.form.radio4.checked = false
document.form.radio5.checked = false
x=document.form.radio6.value
document.form.da.value=x
//seltsamerweise blieben die radiobuttons immer angekreuzt... *grübel*
}
}


function mail()
{
an=document.form.addy.value;
betreff=document.form.betreff.value
name=document.form.name.value
note=document.form.da.value
text=document.form.text.value


if (confirm("Wirklich Senden?")==true)

{
parent.location.href ="mailto:" + an + "?subject=" + betreff + "&body=Hey, ich bin " + name + " und dein Menü " + note + " Und nochwas, " + text;
}
}


if(navigator.appName!="Microsoft Internet Explorer")
{
alert("SCHADE, SCHADE, SCHADE...");
self.close();
}
else
alert('links kannst du auch klicken, nur so als test :)');


r=0;
g=0;
b=0;
flag=0;
t=new Array;
o=new Array;
d=new Array;

function hex(a,c)
{
t[a]=Math.floor(c/16)
o[a]=c%16
switch (t[a])
{
case 10:
t[a]='A';
break;
case 11:
t[a]='B';
break;
case 12:
t[a]='C';
break;
case 13:
t[a]='D';
break;
case 14:
t[a]='E';
break;
case 15:
t[a]='F';
break;
default:
break;
}
switch (o[a])
{
case 10:
o[a]='A';
break;
case 11:
o[a]='B';
break;
case 12:
o[a]='C';
break;
case 13:
o[a]='D';
break;
case 14:
o[a]='E';
break;
case 15:
o[a]='F';
break;
default:
break;
}
}

function ran(a,c)
{
if ((Math.random()>2/3||c==0)&&c<255)
{
c++
d[a]=2;
}
else
{
if ((Math.random()<=1/2||c==255)&&c>0)
{
c--
d[a]=1;
}
else d[a]=0;
}
return c
}
function do_it(a,c)
{
if ((d[a]==2&&c<255)||c==0)
{
c++
d[a]=2
}
else
if ((d[a]==1&&c>0)||c==255)
{
c--;
d[a]=1;
}
if (a==3)
{
if (d[1]==0&&d[2]==0&&d[3]==0)
flag=1
}
return c
}
function disco()
{
if (flag==0)
{
r=ran(1, r);
g=ran(2, g);
b=ran(3, b);
hex(1,r)
hex(2,g)
hex(3,b)
menu.style.backgroundColor="#"+t[1]+o[1]+t[2]+o[2]+t[3]+o[3]
table.style.backgroundColor="#"+t[3]+o[3]+t[1]+o[1]+t[2]+o[2]
table.style.borderColor="#"+t[2]+o[2]+t[3]+o[3]+t[1]+o[1]
document.all.neon.style.color="#"+t[2]+o[2]+t[3]+o[3]+t[1]+o[1]
document.all.neon1.style.color="#"+t[1]+o[1]+t[2]+o[2]+t[3]+o[3]
document.all.neon2.style.color="#"+t[2]+o[2]+t[3]+o[3]+t[1]+o[1]
document.all.neon3.style.color="#"+t[3]+o[3]+t[1]+o[1]+t[2]+o[2]
document.all.neon4.style.color="#"+t[1]+o[1]+t[3]+o[3]+t[2]+o[2]
document.all.neon5.style.color="#"+t[2]+o[2]+t[1]+o[1]+t[3]+o[3]
document.bgColor="#"+t[3]+o[3]+t[2]+o[2]+t[1]+o[1]
document.all.neon6.style.color="#"+t[2]+o[2]+t[3]+o[3]+t[1]+o[1]
flag=50
}
else
{
r=do_it(1, r)
g=do_it(2,g)
b=do_it(3,b)
hex(1,r)
hex(2,g)
hex(3,b)
menu.style.backgroundColor="#"+t[1]+o[1]+t[2]+o[2]+t[3]+o[3]
table.style.backgroundColor="#"+t[3]+o[3]+t[1]+o[1]+t[2]+o[2]
table.style.borderColor="#"+t[2]+o[2]+t[3]+o[3]+t[1]+o[1]
document.all.neon.style.color="#"+t[2]+o[2]+t[3]+o[3]+t[1]+o[1]
document.all.neon1.style.color="#"+t[1]+o[1]+t[2]+o[2]+t[3]+o[3]
document.all.neon2.style.color="#"+t[2]+o[2]+t[3]+o[3]+t[1]+o[1]
document.all.neon3.style.color="#"+t[3]+o[3]+t[1]+o[1]+t[2]+o[2]
document.all.neon4.style.color="#"+t[1]+o[1]+t[3]+o[3]+t[2]+o[2]
document.all.neon5.style.color="#"+t[2]+o[2]+t[1]+o[1]+t[3]+o[3]
document.bgColor="#"+t[3]+o[3]+t[2]+o[2]+t[1]+o[1]
document.all.neon6.style.color="#"+t[2]+o[2]+t[3]+o[3]+t[1]+o[1]





flag--
}
if (document.all)
setTimeout('disco()',10)
}

function check(link)
{
x="gold"
punkte.style.borderColor=x;
if(link==1)
{
ignore1.style.backgroundColor=x;
}
if(link==2)
{
ignore2.style.backgroundColor=x;
}
if(link==3)
{
ignore3.style.backgroundColor=x;
}
setTimeout('check2()',300);
return true;
}

function check2()
{
y=""
z="black";
punkte.style.borderColor=z;
ignore1.style.backgroundColor=y;
ignore2.style.backgroundColor=y;
ignore3.style.backgroundColor=y;
}
//-->
</script>
</HEAD>
<BODY bgcolor="black" onload="disco()" alink="firebrick" vlink="firebrick">
<CENTER>
<font size=5><b>
<span id="neon1">P</span>
<span id="neon2">R</span>
<span id="neon3">I</span>
<span id="neon4">N</span>
<span id="neon5">Z</span>
</b></font>
<pre>

</pre>
<pre>
</pre>
<p id="punkte" style="border-width:2; border-color:; border-style:dotted;width:100;height:100;">
<table border="10" id="table" width="100" height="100">
<tr>
<td id="menu"><MARQUEE BEHAVIOR="slide" SCROLLDELAY="70" SCROLLAMOUNT="1" ALIGN="middle" DIRECTION="right" width=60><font color=darkgreen><b>MENÜ</b></font></td>
</tr>
<tr>
<td id="ignore1" onclick="check(1)" ><MARQUEE BEHAVIOR="slide" SCROLLDELAY="50" SCROLLAMOUNT="1" DIRECTION="left"><b><a href="#">LINK</a></b></MARQUEE></td>
</tr>
<tr>
<td id="ignore2" onclick="check(2)"><MARQUEE BEHAVIOR="slide" SCROLLDELAY="50" SCROLLAMOUNT="1" DIRECTION="left"><a href="#"><b>LINK</b></a></MARQUEE></td>
</tr>
<tr>
<td id="ignore3" onclick="check(3)" ><MARQUEE BEHAVIOR="slide" SCROLLDELAY="50" SCROLLAMOUNT="1" DIRECTION="left"><a href="#"><b>LINK</b></a></MARQUEE></td>
</tr>
</table></p>
<pre>


</pre>
<span id="neon6">Schick mir mal ne Mail :)<br>
<FORM name="form">
<input type=hidden name="addy" value="prinz-tr@gmx.de">
Name:<input type=text name="name" value="Lutz" style="background-color: 0099FF;color:330099;border-COLOR: darkblue;"><BR>
<font size=-1><b>
1:<input type=radio onclick="mach(1)" value=" is rischtsch gail !" name=radio1 style="background-COLOR:00ff00;">
2:<input type=radio onclick="mach(2)" value=" geht schon..." name=radio2 style="background-COLOR:55bb00;">
3:<input type=radio onclick="mach(3)" value="... hm, naja..." name=radio3 style="background-COLOR:ffff00;">
4:<input type=radio onclick="mach(4)" value=" is nich das gelbe vom Ei !" name=radio4 style="background-COLOR:bb9900;">
5:<input type=radio onclick="mach(5)" value=" ... WASN DAAS ?? *kröhl&weglauf* " name=radio5 style="background-COLOR:ff5500;">
6:<input type=radio onclick="mach(6)" value="... ey,neh, das kreuzte bitte nich an." name=radio6 style="background-COLOR:ff0000;">
<input type=text name=da value=NOTE? readonly size=30 style="background-color: 0079FF;color:110099;border-COLOR: darkblue;">
</b>
<BR>Betreff:
<input type=text name="betreff" value="Von Fading Page" style="background-color: 0059FF;color:000088;border-COLOR: darkblue;"><BR>
Nachricht:<BR></span>
<textarea name="text" rows=2 cols=30 style="background-color: 0039FF;color:000077;border-COLOR: darkblue;">Das wollt ich dir schon immer mal sagen...</textarea><BR>
<input type=button value="Senden" onClick="mail()" style="background-color: 0019FF;color:000055;border-COLOR: darkblue;">
</FORM>

<pre>


<pre><span id="neon">written by Prinz</span>
</CENTER>
</BODY>
</HTML>
 
Zuletzt bearbeitet:
und das hier erst recht, sorry, aber ich bin davon ausgegangen das, wenn man nicht löschen kann auch nicht editieren kann...
aber wieso darf man nich seine posts löschen?
 
Zuletzt bearbeitet:
Zurück
Oben