Line 17: | Line 17: | ||
if(e.pageY<=205) | if(e.pageY<=205) | ||
document.getElementById("myNav1").style.width = "100%"; | document.getElementById("myNav1").style.width = "100%"; | ||
− | + | ||
if(x>=142 && x<=201 && y>=224 && y<=326) | if(x>=142 && x<=201 && y>=224 && y<=326) | ||
− | document.getElementById("myNav2").style.width = "100%";*/ | + | document.getElementById("myNav2").style.width = "100%"; |
+ | |||
+ | if(e.pageX>=142) | ||
+ | if(e.pageX<=201) | ||
+ | if(e.pageY>=224) | ||
+ | if(e.pageY<=326) | ||
+ | document.getElementById("myNav2").style.width = "100%"; | ||
+ | |||
+ | /*if(e.pageX>=365) | ||
+ | if(e.pageX<=436) | ||
+ | if(e.pageY>=112) | ||
+ | if(e.pageY<=205) | ||
+ | document.getElementById("myNav1").style.width = "100%"; | ||
+ | |||
+ | if(e.pageX>=365) | ||
+ | if(e.pageX<=436) | ||
+ | if(e.pageY>=112) | ||
+ | if(e.pageY<=205) | ||
+ | document.getElementById("myNav1").style.width = "100%"; | ||
+ | |||
+ | if(e.pageX>=365) | ||
+ | if(e.pageX<=436) | ||
+ | if(e.pageY>=112) | ||
+ | if(e.pageY<=205) | ||
+ | document.getElementById("myNav1").style.width = "100%"; | ||
+ | |||
+ | if(e.pageX>=365) | ||
+ | if(e.pageX<=436) | ||
+ | if(e.pageY>=112) | ||
+ | if(e.pageY<=205) | ||
+ | document.getElementById("myNav1").style.width = "100%"; | ||
+ | |||
+ | if(e.pageX>=365) | ||
+ | if(e.pageX<=436) | ||
+ | if(e.pageY>=112) | ||
+ | if(e.pageY<=205) | ||
+ | document.getElementById("myNav1").style.width = "100%"; | ||
+ | |||
+ | if(e.pageX>=365) | ||
+ | if(e.pageX<=436) | ||
+ | if(e.pageY>=112) | ||
+ | if(e.pageY<=205) | ||
+ | document.getElementById("myNav1").style.width = "100%"; | ||
+ | |||
+ | if(e.pageX>=365) | ||
+ | if(e.pageX<=436) | ||
+ | if(e.pageY>=112) | ||
+ | if(e.pageY<=205) | ||
+ | document.getElementById("myNav1").style.width = "100%"; | ||
+ | |||
+ | if(e.pageX>=365) | ||
+ | if(e.pageX<=436) | ||
+ | if(e.pageY>=112) | ||
+ | if(e.pageY<=205) | ||
+ | document.getElementById("myNav1").style.width = "100%"; | ||
+ | |||
+ | if(e.pageX>=365) | ||
+ | if(e.pageX<=436) | ||
+ | if(e.pageY>=112) | ||
+ | if(e.pageY<=205) | ||
+ | document.getElementById("myNav1").style.width = "100%"; | ||
+ | |||
+ | if(e.pageX>=365) | ||
+ | if(e.pageX<=436) | ||
+ | if(e.pageY>=112) | ||
+ | if(e.pageY<=205) | ||
+ | document.getElementById("myNav1").style.width = "100%"; | ||
+ | |||
+ | if(e.pageX>=365) | ||
+ | if(e.pageX<=436) | ||
+ | if(e.pageY>=112) | ||
+ | if(e.pageY<=205) | ||
+ | document.getElementById("myNav1").style.width = "100%"; | ||
+ | |||
+ | if(e.pageX>=365) | ||
+ | if(e.pageX<=436) | ||
+ | if(e.pageY>=112) | ||
+ | if(e.pageY<=205) | ||
+ | document.getElementById("myNav1").style.width = "100%"; | ||
+ | |||
+ | if(e.pageX>=365) | ||
+ | if(e.pageX<=436) | ||
+ | if(e.pageY>=112) | ||
+ | if(e.pageY<=205) | ||
+ | document.getElementById("myNav1").style.width = "100%"; | ||
+ | |||
+ | if(e.pageX>=365) | ||
+ | if(e.pageX<=436) | ||
+ | if(e.pageY>=112) | ||
+ | if(e.pageY<=205) | ||
+ | document.getElementById("myNav1").style.width = "100%"; | ||
+ | |||
+ | if(e.pageX>=365) | ||
+ | if(e.pageX<=436) | ||
+ | if(e.pageY>=112) | ||
+ | if(e.pageY<=205) | ||
+ | document.getElementById("myNav1").style.width = "100%"; | ||
+ | |||
+ | */ | ||
} | } | ||
Revision as of 15:04, 1 November 2017