Nabídkové menu a rozetmění :-))

       


Pod každým smajlíkem (obrázkem) najdete odkaz :-))
Dle mého názoru je to moc a moc vtipné řešení nabídkového menu !!

A zesvětlení a ztmavení načítající se stránky ?? Proč ne ?! :-):-):-)



HTML kod pro rozetmění :
<script language="JavaScript">
<!--
function makearray(n) {
this.length = n;
for(var i = 1; i <= n; i++)
this[i] = 0;
return this;
}

hexa = new makearray(16);
for(var i = 0; i < 10; i++)
hexa[i] = i;
hexa[10]="a"; hexa[11]="b"; hexa[12]="c";
hexa[13]="d"; hexa[14]="e"; hexa[15]="f";

function hex(i) {
if (i < 0)
return "00";
else if (i > 255)
return "ff";
else
return "" + hexa[Math.floor(i/16)] + hexa[i%16];
}

function setbgColor(r, g, b) {
var hr = hex(r); var hg = hex(g); var hb = hex(b);
document.bgColor = "#"+hr+hg+hb;
}

function fade(sr, sg, sb, er, eg, eb, step) {
for(var i = 0; i <= step; i++) {
setbgColor(
Math.floor(sr * ((step-i)/step) + er * (i/step)),
Math.floor(sg * ((step-i)/step) + eg * (i/step)),
Math.floor(sb * ((step-i)/step) + eb * (i/step)));
}
}

function fadein() {
fade(255,255,255,0,0,0,200);
}

/* do fadein */
fadein();
//-->
</script>




HTML kod pro menu :
<SCRIPT language=JavaScript>

<!--
manu=navigator.appName;
vers=navigator.appVersion;

if (manu.indexOf("Microsoft")>=0 && vers.indexOf("3")>=0) {
// do nothing
}
else {

if (document.images) {
var t1o = new Image()
t1o.src = "smajlik/smilee.jpg"

var t1x = new Image()
t1x.src = "smajlik/ee.jpg"

var t2o = new Image()
t2o.src = "smajlik/smilee.jpg"

var t2x = new Image()
t2x.src = "smajlik/rr.jpg"

var t3o = new Image()
t3o.src = "smajlik/smilee.jpg"

var t3x = new Image()
t3x.src = "smajlik/rr.jpg"

var t4o = new Image()
t4o.src = "smajlik/smilee.jpg"

var t4x = new Image()
t4x.src = "smajlik/oo.jpg"

var t5o = new Image()
t5o.src = "smajlik/smilee.jpg"

var t5x = new Image()
t5x.src = "smajlik/rr.jpg"

}
}

// -->

</SCRIPT>

<TBODY>
<TR>
<CENTER>

<a HREF="http://error.hyperlink.cz" onmouseout="LightOff('t1')"
onmouseover="return LightUp('t1','galerie ERROR')" target=main1><IMG border=0
height=51 name=t1 src="smajlik/smilee.jpg" vspace=1 width=50></A>
 
<A HREF="http://mr-web.hyperlink.cz" onmouseout="LightOff('t2')"
onmouseover="return LightUp('t2','galerie ERROR')" target=main1><IMG border=0
height=51 name=t2 src="smajlik/smilee.jpg" vspace=1 width=50></A>
 
<A HREF="http://no-drog.hyperlink.cz" onmouseout="LightOff('t3')"
onmouseover="return LightUp('t3','galerie ERROR')" target=main1><IMG border=0
height=51 name=t3 src="smajlik/smilee.jpg" vspace=1 width=50></A>
 
<A HREF="http://javascript.hyperlink.cz" onmouseout="LightOff('t4')"
onmouseover="return LightUp('t4','galerie ERROR')" target=main1><IMG border=0
height=51 name=t4 src="smajlik/smilee.jpg" vspace=1 width=50></A>
 
<A HREF="http://gastronomie-zde.hyperlink.cz" onmouseout="LightOff('t5')"
onmouseover="return LightUp('t5','galerie ERROR')" target=main1><IMG border=0
height=51 name=t5 src="smajlik/smilee.jpg" vspace=1 width=50></A>

</CENTER>
</TD>
</TR>
</TBODY>
</TABLE>
</DIV>
</BODY>


Pokračujte kliknutím na tlačítko ENTER !




© 2000 ERROR