L
Laura
Gast
Hallo zusammen!
Auf der suche nach einem schönen Menü habe ich im Netz dieses Script für ein kreisendes Menü gefunden:
[/color]
Meine dumme Frage ist jetzt: Ich möchte 2 weitere Links einfügen. Wie geht das? Ich habe schon ein bisschen rumprobiert, aber nichts hat gefunzt.
Auf der suche nach einem schönen Menü habe ich im Netz dieses Script für ein kreisendes Menü gefunden:
Code:
[color=orange]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Java09</TITLE>
<SCRIPT LANGUAGE="JavaScript">
var r = 150; // radius
var pi = Math.PI; // pi
var a=-1; // Startwinkel
var breite, hoehe;
var Bildbreite=140, Bildhoehe=80;
function abfrage ()
{
if (navigator.appName=='Netscape' && navigator.appVersion.charAt(0)>='4')
{
breite=screen.width;
hoehe=window.innerHeight;
window.document.logo.left=breite/2-Bildbreite/2;
window.document.logo.top=hoehe/2-Bildhoehe/2;
window.setTimeout ('rotation_nc()', 20);
}
if (navigator.appName=='Microsoft Internet Explorer' && navigator.appVersion.charAt(0)>='4')
{
breite=screen.width;
hoehe=screen.height;
logo.style.left=breite/2-Bildbreite/2;
logo.style.top=hoehe/2-Bildhoehe/2;
window.setTimeout ('rotation_ie()', 20);
}
}
function rotation_nc ()
{
a++;
window.document.neu.left=(r * Math.cos(a*(pi/180))) + breite/2-Bildbreite/2;
window.document.neu.top=(r * Math.sin(a*(pi/180))) + hoehe/2-Bildhoehe/2;
window.document.impressum.left=(r * Math.cos((a+120)*(pi/180))) + breite/2-Bildbreite/2;
window.document.impressum.top=(r * Math.sin((a+120)*(pi/180))) + hoehe/2-Bildhoehe/2;
window.document.feedback.left=(r * Math.cos((a+240)*(pi/180))) + breite/2-Bildbreite/2;
window.document.feedback.top=(r * Math.sin((a+240)*(pi/180))) + hoehe/2-Bildhoehe/2;
window.setTimeout ('rotation_nc()', 75);
}
function rotation_ie ()
{
a++;
neu.style.left=(r * Math.cos(a*(pi/180))) + breite/2-Bildbreite/2;
neu.style.top=(r * Math.sin(a*(pi/180))) + hoehe/2-Bildhoehe/2;
impressum.style.left=(r * Math.cos((a+120)*(pi/180))) + breite/2-Bildbreite/2;
impressum.style.top=(r * Math.sin((a+120)*(pi/180))) + hoehe/2-Bildhoehe/2;
feedback.style.left=(r * Math.cos((a+240)*(pi/180))) + breite/2-Bildbreite/2;
feedback.style.top=(r * Math.sin((a+240)*(pi/180))) + hoehe/2-Bildhoehe/2;
window.setTimeout ('rotation_ie()', 75);
}
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#f5e287" BACKGROUND="bg.gif" onload="abfrage()">
<DIV ID="neu" STYLE="position: absolute; left:-100px; top:-100px">[url="java06.htm"]Link 1[/url] </DIV><DIV ID="impressum" STYLE="position: absolute; left:-100px; top:-100px">[url="java07.htm"]Link 2[/url] </DIV><DIV ID="feedback" STYLE="position: absolute; left:-100px; top:-100px">[url="java08.htm"]Link 3[/url] </DIV><DIV ID="logo" STYLE="position: absolute; left:-100px; top:-100px"></DIV></P>
<CENTER><FONT COLOR="#990000" SIZE="+1">Hier fliegen die Links!</FONT></CENTER></P>
<CENTER><FONT COLOR="#990000" SIZE="+1">Kopieren Sie den Quelltext
und passen Sie ihn nach
Ihren W&nschen an. Sie k&nnen diese Seite
komplett unter Workshop 49 downloaden.</FONT></CENTER>
</BODY>
</HTML>
Meine dumme Frage ist jetzt: Ich möchte 2 weitere Links einfügen. Wie geht das? Ich habe schon ein bisschen rumprobiert, aber nichts hat gefunzt.