Line 18: | Line 18: | ||
var y=e.clientY - offset2; | var y=e.clientY - offset2; | ||
− | if(x>= | + | if(x>=31) |
if(x<=88) | if(x<=88) | ||
− | if(y>= | + | if(y>=153) |
− | if(y<= | + | if(y<=248) |
document.getElementById("myNav1").style.width = "100%"; | document.getElementById("myNav1").style.width = "100%"; | ||
if(x>=253) | if(x>=253) | ||
− | if(x<= | + | if(x<=319) |
− | if(y>= | + | if(y>=292) |
− | if(y<= | + | if(y<=285) |
document.getElementById("myNav2").style.width = "100%"; | document.getElementById("myNav2").style.width = "100%"; | ||
− | if(x>= | + | if(x>=327) |
− | if(x<= | + | if(x<=385) |
− | if(y>= | + | if(y>=154) |
− | if(y<= | + | if(y<=223) |
document.getElementById("myNav3").style.width = "100%"; | document.getElementById("myNav3").style.width = "100%"; | ||
− | if(x>= | + | if(x>=604) |
− | if(x<= | + | if(x<=685) |
− | if(y>= | + | if(y>=103) |
− | if(y<= | + | if(y<=199) |
document.getElementById("myNav4").style.width = "100%"; | document.getElementById("myNav4").style.width = "100%"; | ||
− | if(x>= | + | if(x>=699) |
if(x<=774) | if(x<=774) | ||
− | if(y>= | + | if(y>=14) |
− | if(y<= | + | if(y<=98) |
document.getElementById("myNav5").style.width = "100%"; | document.getElementById("myNav5").style.width = "100%"; | ||
− | if(x>= | + | if(x>=935) |
− | if(x<= | + | if(x<=1023) |
− | if(y>= | + | if(y>=87) |
− | if(y<= | + | if(y<=168) |
document.getElementById("myNav6").style.width = "100%"; | document.getElementById("myNav6").style.width = "100%"; | ||
− | if( | + | if(x>=1057) |
− | if( | + | if(x<=1136) |
− | if( | + | if(y>=16) |
− | if( | + | if(y<=129) |
document.getElementById("myNav7").style.width = "100%"; | document.getElementById("myNav7").style.width = "100%"; | ||
− | if( | + | if(x>=1150) |
− | if( | + | if(x<=1220) |
− | if( | + | if(y>=103) |
− | if( | + | if(y<=188) |
document.getElementById("myNav8").style.width = "100%"; | document.getElementById("myNav8").style.width = "100%"; | ||
− | if( | + | if(x>=1215) |
− | if( | + | if(x<=1277) |
− | if( | + | if(y>=189) |
− | if( | + | if(y<=265) |
document.getElementById("myNav9").style.width = "100%"; | document.getElementById("myNav9").style.width = "100%"; | ||
− | if( | + | if(x>=1190) |
− | if( | + | if(x<=1248) |
− | if( | + | if(y>=196) |
− | if( | + | if(y<=291) |
document.getElementById("myNav10").style.width = "100%"; | document.getElementById("myNav10").style.width = "100%"; | ||
− | if( | + | if(x>=1098) |
− | if( | + | if(x<=1183) |
− | if( | + | if(y>=299) |
− | if( | + | if(y<=411) |
document.getElementById("myNav11").style.width = "100%"; | document.getElementById("myNav11").style.width = "100%"; | ||
Revision as of 16:51, 1 November 2017