#!/COMMUNITY
Members: 5374
davon online: 1
weitere User: 31
12.02.2012 / 09:47
Community-Member werden
|
Paßwort vergessen
|
OnlineMonitor (1)
Perl-Archiv
Forum
Javascript
Home
PERLscripts
PHPscripts
JAVAscripts
Hilfreiches
Links2www
Newscenter
Community
Interna
Javascript
Archivübersicht
Tutorials
Zum Forum
JS-Links
BuchTipps
WebForen
Forenübersicht
Neueste Themen
Ohne Antwort
Aktivste Themen
Themensuche
Forenarchiv
Newsgroups
Javascript » Navigationen » Layermenu 3
zur Übersicht
Kategorie
Navigationen
Bezeichnung
Layermenu 3
ScriptDemo
Neues Fenster für Demo öffnen
Statistik
66887 Aufrufe davon 0x gestern
Keine Beschreibung vorhanden.
Javascript-Quellcode
(einfach markieren, kopieren und lokal abspeichern)
<script LANGUAGE="JavaScript"> <!-- Begin function setVariables() { if (navigator.appName == "Netscape") { v = ".top="; h = ".left="; dS = "document."; sD = ""; y = "window.pageYOffset"; x = "window.pageXOffset"; iW = "window.innerWidth"; iH = "window.innerHeight"; } else { h = ".pixelLeft="; v = ".pixelTop="; dS = ""; sD = ".style"; y = "document.body.scrollTop"; x = "document.body.scrollLeft"; iW = "document.body.clientWidth"; iH = "document.body.clientHeight"; } xyz = 500; innerX = eval(iW) - 350; innerY = eval(iH) - 100; object = "logo"; checkLocationA(); } movex = 0; movey = 0; xdiff = 0; ydiff = 0; ystart = 0; xstart = 0; function checkLocation() { yy = eval(y); xx = eval(x); ydiff = ystart - yy; xdiff = xstart - xx; if ((ydiff < (-1)) || (ydiff > (1))) movey = Math.round(ydiff / 10), ystart -= movey; if ((xdiff < (-1)) || (xdiff > (1))) movex = Math.round(xdiff / 10), xstart -= movex; eval(dS + object + sD + v + (ystart + innerY)); eval(dS + object + sD + h + (xstart + innerX)); setTimeout("checkLocation()", 10); } function checkLocationA() { ystart = eval(y); xstart=eval(x); } function switchLogo(abc) { if (abc == "menu") { eval(dS + object + sD + v + 0); eval(dS + object + sD + h + (-350)); object = abc; } else xyz = setTimeout("delayLogo()", 2000) } function delayLogo() { eval(dS + object + sD + v + 0); eval(dS + object + sD + h + (-110)); object = 'logo'; } // End --> </script> <body OnLoad="setVariables();checkLocation()" bgcolor="#407491" link="#C0C0C0" vlink="#DADADA" alink="#9DC0D4"> <div id="logo" style="position:absolute; visibility:show; left:0px; top:-200px; z-index:2"> <table border="0" cellspacing="10" cellpadding="0" width="100"> <tr> <td><p align="center"><a href="javascript:void(0)" ; onmouseover="switchLogo('menu')"><img src="http://www.get-allfree.com/jswelt/jswelt_logo2.gif" alt="jswelt_logo2.gif (1356 bytes)" border="0"></a></td> </tr> </table> </div><div id="menu" style="position:absolute; visibility:show; left:0px; top:-200px; z-index:2"> <table border="0" cellspacing="10" cellpadding="0" width="117"> <tr> <td width="107"><p align="center"><strong><small><font face="Verdana"><a href="http://www.jsunity.de/index.php?opencat=JavaScripts" ; onmouseover="clearTimeout(xyz)" ; onmouseout="switchLogo('logo')">Java Scripts</a> </font></small></strong></td> </tr> <tr> <td width="107"><p align="center"><strong><small><font face="Verdana"><a href="http://www.jsunity.de/index.php?opencat=PHP+%2F+MySQL" ; onmouseover="clearTimeout(xyz)" ; onmouseout="switchLogo('logo')">PHP/MySQL</a> </font></small></strong></td> </tr> <tr> <td width="107"><p align="center"><strong><small><font face="Verdana"><a href="http://www.jsunity.de/index.php?opencat=Photoshop" ; onmouseover="clearTimeout(xyz)" ; onmouseout="switchLogo('logo')">Photoshop</a> </font></small></strong></td> </tr> </table> </div>
Kommentare zu
Layermenu 3
4 Kommentar(e) vorhanden / Anzeige der neuesten 5
am 20.10.2005 um 13:02 Uhr von ananda
Funktioniert nicht im Firefox / mac...
am 30.04.2004 um 07:54 Uhr von Felix
Funktioniert nicht mit Firebird 0.8...
am 30.01.2004 um 12:51 Uhr von praktikant
Funktioniert nicht Firebird 0.7...
am 26.02.2003 um 12:15 Uhr von Andreas Drexler
Funktioniert nicht im Netscape 7...
Alle Kommentare anzeigen
-
Kommentar hinzufügen
© PERL/CGI/
PHP
/JS/SCRIPT/unity.de 1998-2009 .::.
interaktiv.shop
.::.
CGI-Service
.::.
Kontakt
.::.
Impressum
Link: /javascript/scripts/javascript_0231_main.shtml .::. Aufrufe heute: 1 .::. Aufrufe gesamt: 21592