Difference between revisions of "Access Engine version"

From Level Access Web Labs
Jump to navigation Jump to search
(Simple page and favlet to check Access Engine version)
 
(Clean up the JavaScript)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
     <h1>Access Engine version display</h1>
 
     <h1>Access Engine version display</h1>
  
     <p>The Level Access Access Engine (AE) is: <span id="AEver">UNKNOWN</span></p>
+
     <p>The Level Access Access Engine (AE) is: <span id="AEver">UNKNOWN (JavaScript may not be enabled)</span></p>
  
     <a href="javascript:(function(){if(window.LevelAccess_AccessEngine){var v=window.LevelAccess_AccessEngine.getVersion();alert('Level Access Access Engine (AE) version is ' + v);}else{alert('Level Access Access Engine (AE) is not present')}})();">Access Engine version favlet</a>
+
     <p><a href="javascript:(function(){if(window.LevelAccess_AccessEngine){var v=window.LevelAccess_AccessEngine.getVersion();alert('Level Access Access Engine (AE) version is ' + v);}else{alert('Level Access Access Engine (AE) is not present')}})();">Access Engine version favlet</a> drag this link to your bookmarks bar to create a favlet for showing the Access Engine version</p>
 
 
      <p>You can drag the link above to your bookmarks bar to create a favlet for showing the Access Engine version</p>
 
  
 
     <!--
 
     <!--
Line 29: Line 27:
 
                 if (window.LevelAccess_AccessEngine) {
 
                 if (window.LevelAccess_AccessEngine) {
 
                     var v = window.LevelAccess_AccessEngine.getVersion();
 
                     var v = window.LevelAccess_AccessEngine.getVersion();
                     t = "<strong>version " + v + "</strong>";
+
                     var t = "<strong>version " + v + "</strong>";
 +
                    $("#AEver").html(t);
 +
                } else {
 +
                  $("#AEver").html("not present");
 +
                  setTimeout(detectAEversion, 1000);
 
                 }
 
                 }
                $("#AEver").html(t);
 
 
             }
 
             }
  
 
             detectAEversion();
 
             detectAEversion();
            setInterval(detectAEversion, 1000);
 
 
 
         });
 
         });
  
 
     </script>
 
     </script>
 
</html>
 
</html>

Latest revision as of 19:43, 19 April 2018

Access Engine version display

The Level Access Access Engine (AE) is: UNKNOWN (JavaScript may not be enabled)

Access Engine version favlet drag this link to your bookmarks bar to create a favlet for showing the Access Engine version