Hejsa
jeg mangler en kode som gør at min menu punkter kun vises i ca 5 sek pga
ellers viser den menuen hele tiden når jeg har haft cursorer over menuen og
det er sku ikke så genialt =) her er noget af min kode.
Hilsen
Inferno
<script language="JavaScript">
function tmt_findObj(n){
var x,t; if((n.indexOf("?"))>0&&parent.frames.length){t=n.split("?");
x=eval("parent.frames['"+t[1]+"'].document.getElementById('"+t[0]+"')");
}else{x=document.getElementById(n)}return x;
}
function MM_showHideLayers() { //v3.0A Modified by Al Sparber and Massimo
Foti for NN6 Compatibility
var i,p,v,obj,args=MM_showHideLayers.arguments;if(document.getElementById){
for (i=0; i<(args.length-2); i+=3){ obj=tmt_findObj(args[i]);v=args[i+2];
v=(v=='show')?'visible':(v='hide')?'hidden':v;
if(obj)obj.style.visibility=v;}} else{
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) {
v=args[i+2];
if (obj.style) { obj=obj.style;
v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }}
}
</script>
<script language="JavaScript">
// Netscape resize browser fix
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
location.reload();
}
MM_reloadPage(true);
</script>
</head>
<body>
<h3><a href="index.asp"><img src="images/link_forside.gif" border="0"
width="82" height="39"></a><a
onmouseover="MM_showHideLayers('button2','','show','button3','','hide','butt
on4','','hide','button6','','hide')"
href="#"><img src="images/link_cyberdesign.gif" width="118" height="39"
border="0"></a><a
onmouseover="MM_showHideLayers('button2','','hide','button3','','show','butt
on4','','hide','button6','','hide')"
|