Login   Register  
Icontem

File: parms.test.html

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Randal Allen Anderson III  >  Javascript Params Array  >  parms.test.html  >  Download  
File: parms.test.html
Role: Example script
Content type: text/plain
Description: Example of Parms using Blackbird logger
Class: Javascript Params Array
Manipulate arrays of named parameters
Author: By
Last change:
Date: 2013-05-11 18:17
Size: 3,421 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head>
 <title>
  Parms for Javascript with Blackbird message logging
 </title>
 <meta name="description" content="Custom parameters for technical projects.">
 <meta name="Keywords" content="Parameter, technical, specification, integer, float, decimal, boolean, choice, limit, maximum, minimum, checking, check, logging, log, messages, error, severe, info, debug, warn, warning"> 
 <meta http-equiv="content-language" content="en"> 
 <link rel="shortcut icon" href="./favicon.ico">
 <meta name="rating" content="General"> 
 <meta name="copyright" content="Copyright 2013, Randal Allen Anderson III. All Rights Reserved.">
 <meta name="ROBOTS" content="ALL"> 
 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <link type="text/css" rel="stylesheet" href="./blackbirdFiles/blackbird.css">
 <link type="text/css" rel="stylesheet" href="./parms.css">
</head>

<body>
 <h1>Parms for Javascript</h1>
 <h3>with Blackbird message logging</h3>

 <h3 id="scriptsuccessindicator" style="color:red;">Javascript must be turned on for this page to function properly, or Javascript may have failed!</h3>

 <p>Press "F2" to see log messages. And "F2" again to hide log messages.</p>

 <button class="Severe" title="Click me to create a severe error message" onclick="javascript:log.severe('Test of SEVERE ERRORS');">Test Severe Message</button>
 <button class="Error" title="Click me to create an error message" onclick="javascript:log.error('Test of ERRORS');">Test Error Message</button>
 <button class="Warn" title="Click me to create a warning message" onclick="javascript:log.warn('Test of Warnings');">Test Warning Message</button>
 <button class="Info" title="Click me to create an informational message" onclick="javascript:log.info('Test of information messages');">Test Info Message</button>
 <button class="Trace" title="Click me to create a trace message" onclick="javascript:log.trace('Test of trace messages');">Test Trace Message</button>
 <button class="Debug" title="Click me to create a debug message" onclick="javascript:log.debug('Test of debug messages');">Test Debug Message</button>

 <p id="parmslist"></p>
 <p id="newparm1"></p>
 <p id="newparm2"></p>

 <table id="tableexamples">
  <tr>
   <td valign="top">
    <div id="tableexample1" style="float:left;">
     <table id="showParmsTable" border="1">
     </table>
    </div>
   </td>
   <td valign="top"> &nbsp; &nbsp; </td>
   <td valign="top">
    <div id="tableexample2">
     <table id="showParmsTable2" border="1">
     </table>
    </div>
   </td>
  </tr>
 </table>

 <p>Parm Input Examples:</p>
 <table id="inputexamples">
  <tr>
   <th>Floating Point</th>
   <th>Integer</th>
   <th>String</th>
   <th>Choice</th>
   <th>Boolean</th>
  </tr>
  <tr>
   <td id="inputexample1">
   </td>
   <td id="inputexample2">
   </td>
   <td id="inputexample3">
   </td>
   <td id="inputexample4">
   </td>
   <td id="inputexample5">
   </td>
  </tr>
 </table>

 <p>Not in a table</p>
 <div id="inputexamplex">
 </div>

</body>
 <script type="text/javascript" src="./blackbirdFiles/blackbird.js"></script>
 <script type="text/javascript" src="./parms.js"></script>
 <script type="text/javascript" src="./parmstable.js"></script>
 <script type="text/javascript" src="./parmstest.js"></script>
</html>