Line 9: | Line 9: | ||
alert(e.pageX + "+" + e.pageY); | alert(e.pageX + "+" + e.pageY); | ||
− | / | + | //x = e.pageX, y = e.pageY; |
− | if( | + | if(e.pageX>=365 && e.pageX<=436 && e.pageY>=112 && e.pageY<=205) |
document.getElementById("myNav1").style.width = "100%";//alert(e.pageX + "+" + e.pageY); | document.getElementById("myNav1").style.width = "100%";//alert(e.pageX + "+" + e.pageY); | ||
− | + | /* | |
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%";*/ |
Revision as of 14:45, 1 November 2017