AnnualDataSummary: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
129 bytes removed ,  20:42, 13 April 2018
no edit summary
No edit summary
No edit summary
Line 111: Line 111:
: In the <HEAD> section.....  
: In the <HEAD> section.....  
<pre>&lt;link rel="stylesheet" type="text/css" media="screen" href="datasummary.css"  /&gt;  
<pre>&lt;link rel="stylesheet" type="text/css" media="screen" href="datasummary.css"  /&gt;  
&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script src="readDayfile.js" type="text/javascript"&gt;&lt;/script&gt;</pre>  
&lt;script src="readDayfile.js" type="text/javascript"&gt;&lt;/script&gt;</pre>  
: This loads the stylesheet; loads a jQuery library from Google servers (rather than having the file on your server, note later versions of jQuery are available, but not supported by old versions of Internet Explorer, amend the '1.5' used by DAJ if you want to); and loads the Javascript to build the table  
: This loads the stylesheet; loads a jQuery library from Google servers (rather than having the file on your server); and loads the Javascript to build the table  
: Once the page is loaded it runs readDayfile.js and will look for a DIV called 'tableData'; inserting the data table within it. You can change the DIV it inserts into (see above).
: Once the page is loaded it runs readDayfile.js and will look for a DIV called 'tableData'; inserting the data table within it. You can change the DIV it inserts into (see later in this article).


*for the PHP version
*for the PHP version
5,838

edits

Navigation menu