diedVIPs

html knowhow

Menü das sich dreht










Menü das sich dreht

Das Menü dreht sich durch Button-Druck dreht
So sieht´s aus






Quellcode
<html>
<head>
<script type="text/javascript" src="../scripte/spinmenu.js"></script>

<style type="text/css">Hier nichts</style>
</head>

<body>
<script type="text/javascript">
eye.isVertical = 0; //if it's vertical or horizontal [0|1]
eye.x = 350; // x offset from point of insertion on page
eye.y = 10; // y offset from point of insertion on page
eye.w = 150; // item's width
eye.h = 50; // height
eye.r = 100; // menu's radius
eye.v = 20; // velocity
eye.s = 3; // scale in space (for 3D effect)
eye.color = '#ffffff'; // normal text color
eye.colorover = '#ffffff'; // mouseover text color
eye.backgroundcolor = '#0099ff'; // normal background color
eye.backgroundcolorover = '#990000'; // mouseover background color
eye.bordercolor = '#000000'; //border color
eye.fontsize = 12; // font size
eye.fontfamily = 'Arial'; //font family
if (document.getElementById){
document.write('<div id="spinanchor" style="height:'+eval(eye.h+20)+'"></div>')
eye.anchor=document.getElementById('spinanchor')
eye.spinmenu();
eye.x+=getposOffset(eye.anchor, "left") //relatively position it
eye.y+=getposOffset(eye.anchor, "top") //relatively position it
//menuitem: eye.spinmenuitem(text, link, target)
eye.spinmenuitem("JavaScript Kit","http://www.javascriptkit.com");
eye.spinmenuitem("Free JavaScripts","http://www.javascriptkit.com/cutpastejava.shtml");
eye.spinmenuitem("JS Tutorials","http://www.javascriptkit.com/javaindex.shtml");
eye.spinmenuitem("Advanced JS Tutorials","http://www.javascriptkit.com/javatutors/");
eye.spinmenuitem("DHTML/ CSS Tutorials","http://www.javascriptkit.com/dhtmltutors/index.shtml");
eye.spinmenuitem("Web building tutorials","http://www.javascriptkit.com/howto/");
eye.spinmenuclose();
}
</script>
</body>

</html>
Download Button   Laden Sie sich die Javadatei herunter








Kontakt    Datenschutz    Impressum