/*
3D Spin Menu- By Petre Stefan (http://www.eyecon.ro)
*/
eye={p:0,x:0,y:0,w:0,h:0,r:0,v:0,s:0,isVertical:0,a1:0,a2:0,a3:0,color:'#ffffff',colorover:'#ffffff',backgroundcolor:'#0099ff',backgroundcolorover:'#000000',bordercolor:'#000000',fontsize:12,fontfamily:'Arial',pas:0,spinmenu:function(){this.p=this.r/this.s;this.a1=this.a2=this.isVertical?0:Math.PI/2},spinmenuitem:function(a7,a6,a5){a4=" onclick='window.open(""+a6+"""+(a5?(",""+a5+"""):","_self"")+")'";document.write("
"+a7+"
");this.a3++},muta:function(){a8=document.getElementById("controale");for(i=0;ithis.a2)?(this.a1-this.pas/this.v):(this.a1+this.pas/this.v);if(Math.abs(this.a1-this.a2) ');eye.muta()}};
function getposOffset(what, offsettype)
{
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;
var parentEl=what.offsetParent;
while (parentEl!=null)
{
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft :totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}
eye.isVertical = 0; //if it's vertical or horizontal [0|1]
eye.x = 150; // x offset from point of insertion on page
eye.y = 0; // y offset from point of insertion on page
eye.w = 150; // item's width
eye.h = 30; // height
eye.r = 100; // menu's radius
eye.v = 20; // velocity
eye.s = 4; // scale in space (for 3D effect)
eye.color = '#ffffff'; // normal text color
eye.colorover = '#ffffff'; // mouseover text color
eye.backgroundcolor = 'blue'; // normal background color
eye.backgroundcolorover = 'gold'; // mouseover background color
eye.bordercolor = '#000000'; // border color
eye.fontsize = 12; // font size
eye.fontfamily = 'Arial'; //font family
if (document.getElementById)
{
document.write('')
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("Javarea","http://www.javarea.de/");
eye.spinmenuitem("Java-Script","http://www.javarea.de/index.php3?opencat=Javascript");
eye.spinmenuitem("Java-Appelts","http://www.javarea.de/index.php3?opencat=Javaapplet");
eye.spinmenuitem("Java-Tools","http://www.javarea.de/index.php3?opencat=Javtool");
eye.spinmenuitem("Java-Games","http://www.javarea.de/index.php3?opencat=Javagames");
eye.spinmenuitem("DHTML/XML/CSS","http://www.javarea.de/index.php3?opencat=xhtml-css");
eye.spinmenuitem("PHP-MYSQL","http://www.javarea.de/index.php3?opencat=PHP");
eye.spinmenuclose();
}
. . . mit uns wird Ihre Veranstaltung noch mehr zum highlight der Saison