new Rico.TabbedPanel( 'tabsExample', {panelHeight:160});\r
var cal=new Rico.CalendarControl("ricoCal",{position:'auto'});\r
cal.selectNow();\r
- cal.openPopup();\r
- var links=Rico.select('#themeGallery a');\r
- for (var i=0; i<links.length; i++) {\r
- links[i].onclick=themeClick;\r
- }\r
- dialog=new Rico.Window('',{height:'250px',width:'300px',overflow:'auto'}, 'dialog');\r
+ dialog=new Rico.Window('',{height:'250px',width:'300px',overflow:'auto'}, 'GettysburgContent');\r
});\r
\r
function openWindow(btn) {\r
div.ricoLG_cell {\r
white-space:nowrap;\r
}\r
+div.population_col1 .ricoLG_cell { text-align:right; }\r
+div.population_col2 .ricoLG_cell { text-align:right; }\r
+div.population_col3 .ricoLG_cell { text-align:right; }\r
+div.population_col4 .ricoLG_cell { text-align:right; }\r
+div.population_col5 .ricoLG_cell { text-align:right; }\r
</style>\r
\r
</head>\r
\r
\r
<body>\r
- \r
+\r
<table id='explanation' border='0' cellpadding='5' cellspacing='0' style='clear:both'><tr valign='top'><td>\r
-Base Library: \r
+Base Library:\r
<script type='text/javascript'>\r
document.write(Rico.Lib+' '+Rico.LibVersion);\r
</script>\r
<hr>\r
-This example displays some of the widgets that come with Rico. \r
+This example displays some of the widgets that come with Rico.\r
The widgets are compatible with all base libraries and themes.\r
</td>\r
<td>\r
<table class="ricoLiveGrid" id="population">\r
<thead>\r
<tr> <td class='ricoFrozen'></td> <td colspan=5>Population (thousands)</td> </tr>\r
- <tr> <td class='ricoFrozen'>Country or area</td> <td>1950</td> <td>2009</td> <td>2015</td> <td>2025</td> <td>2050</td> </tr>\r
+ <tr> <th class='ricoFrozen'>Country or area</th> <th>1950</th> <th>2009</th> <th>2015</th> <th>2025</th> <th>2050</th> </tr>\r
</thead>\r
</table>\r
\r
-<p style='font-size:smaller;'>Data source: <a href="http://www.un.org/esa/population/unpop.htm">Population Division of the \r
-Department of Economic and Social Affairs of the United Nations Secretariat</a> (2009). \r
-<em>World Population Prospects: The 2008 Revision. Highlights.</em> New York: United Nations. </p> \r
+<p style='font-size:smaller;'>Data source: <a href="http://www.un.org/esa/population/unpop.htm">Population Division of the\r
+Department of Economic and Social Affairs of the United Nations Secretariat</a> (2009).\r
+<em>World Population Prospects: The 2008 Revision. Highlights.</em> New York: United Nations.</p>\r
\r
\r
<p> </p>\r
<h2>Rico Dialog Window</h2>\r
\r
<p><button onclick='openWindow(this)'>Open Dialog Window</button>\r
-<div id='dialog' title='The Gettysburg Address'>\r
-<p>Four score and seven years ago our fathers brought forth on this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal. \r
-<p>Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting place for those who here gave their lives that that nation might live. It is altogether fitting and proper that we should do this. \r
-<p>But, in a larger sense, we can not dedicate -- we can not consecrate -- we can not hallow -- this ground. The brave men, living and dead, who struggled here, have consecrated it, far above our poor power to add or detract. The world will little note, nor long remember what we say here, but it can never forget what they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they who fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great task remaining before us -- that from these honored dead we take increased devotion to that cause for which they gave the last full measure of devotion -- that we here highly resolve that these dead shall not have died in vain -- that this nation, under God, shall have a new birth of freedom -- and that government of the people, by the people, for the people, shall not perish from the earth. \r
+<div id='GettysburgContent' title='The Gettysburg Address'>\r
+<p>Four score and seven years ago our fathers brought forth on this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.\r
+<p>Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battle-field of that war. We have come to dedicate a portion of that field, as a final resting place for those who here gave their lives that that nation might live. It is altogether fitting and proper that we should do this.\r
+<p>But, in a larger sense, we can not dedicate -- we can not consecrate -- we can not hallow -- this ground. The brave men, living and dead, who struggled here, have consecrated it, far above our poor power to add or detract. The world will little note, nor long remember what we say here, but it can never forget what they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they who fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great task remaining before us -- that from these honored dead we take increased devotion to that cause for which they gave the last full measure of devotion -- that we here highly resolve that these dead shall not have died in vain -- that this nation, under God, shall have a new birth of freedom -- and that government of the people, by the people, for the people, shall not perish from the earth.\r
</div>\r
\r
<p> </p>\r
\r
<h2>Rico Calendar</h2>\r
\r
-<table border='0' cellpadding='0' cellspacing='0'>\r
-<tr>\r
-<td id="ricoCal" style='position:relative;'></td>\r
-</tr>\r
-</table>\r
+<div id="ricoCal"></div>\r
\r
</body>\r
</html>\r