AnnualDataSummary: Difference between revisions

4 bytes removed ,  09:23, 30 January 2013
m
→‎Understanding the Basics: updated jQuery library
m (→‎Alternative JavaScript: Added "advantages ... revision...")
m (→‎Understanding the Basics: updated jQuery library)
Line 118: Line 118:
: 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.1/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); 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  
Line 127: Line 127:
:use the code <pre><?php include('readDayfile.php');?></pre>
: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!)  
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  ==
== Localization / Language  ==
5,838

edits