Updated lesson content function, genral clean up of js

This commit is contained in:
Jason White
2014-08-19 06:49:30 -04:00
parent e26dcf84a9
commit f2406eff52
16 changed files with 25 additions and 22 deletions

View File

@ -0,0 +1,6 @@
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);