buon pomeriggio,
di seguito uno script che mi gestisce un menù
che però mi crea problemi solo con ie che non riesco a risolvere
in pratica:
i codici
eye.x = 350; // x offset from point of insertion on page
eye.y = 150; // y offset from point of insertion on page
mi settano la posizione del menù
però su ff e chrome tutto a posto
per ie mi sballa la posizione all'interno del mio contenitore
di seguito il codice
<html>
<head>
<script type="text/javascript">
..........
</script>
</head>
<body scroll=no>
<font color="#FF0000">Menu rotante</font></p>
<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 = 150; // 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 = 8; // scale in space (for 3D effect)
eye.color = '#000000'; // normal text color
eye.colorover = '#ff0000'; // mouseover text color
eye.backgroundcolor = '#FFFF00'; // normal background color
eye.backgroundcolorover = '#FFFF00'; // mouseover background color
eye.bordercolor = '#FF0000'; //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, "center") //relatively position it
eye.y+=getposOffset(eye.anchor, "top") //relatively position it
//menuitem: eye.spinmenuitem(text, link, target)
eye.spinmenuitem("ciao","http://www.xxxxxx.xxx");
eye.spinmenuitem("ciao1","#");
eye.spinmenuitem("ciao2","#");
eye.spinmenuitem("ciao3","#");
eye.spinmenuitem("ciao4","#");
eye.spinmenuitem("ciao5","#");
eye.spinmenuclose();
}
-->
</script>
</body>
</html>
vi ringrazio anticipatamente
saluti