AnnualDataSummary: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
m
→‎Understanding the Basics: updated jQuery library
m (→‎Alternative JavaScript: Added "advantages ... revision...")
m (→‎Understanding the Basics: updated jQuery library)
: In the <HEAD> section.....
<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.18/jquery.js" type="text/javascript"&gt;&lt;/script&gt;
&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); and loads the Javascript to build the table
:use the code <pre><?php include('readDayfile.php');?></pre>
 
Please note that the table needs a good amount of space to show a full year of data (at least 900 pixels unless you start reducing the font size!)
 
 
== Localization / Language ==
5,838

edits

Navigation menu