Sha256: 73495569a7478ca9ee99afadf1d18ef52255034fe7a338cf7416f90a209c9cbc

Contents?: true

Size: 911 Bytes

Versions: 5

Compression:

Stored size: 911 Bytes

Contents

<style>
table.simple-table {
	border: solid #777;
	border-width: 0px 0px 1px 1px;
	margin-top: 8px;
}
table.simple-table thead {
	background: #777;
	border-bottom: 1px solid #333;
	color: #fff;
}
table.simple-table tfoot {
	background: #ccc;
	border-top: 1px solid #333;
	color: #777;
}
table.simple-table td, table.simple-table th {
	padding: 4px;
	border-right: 1px solid #777;
	border-top: 1px solid #777;
}
</style>
<p>
	You should see a simple html table below.
	<table id="table-id" class="simple-table"></table>
</p>
<!-- no html -->
<script src="/depender/build?require=More/HtmlTable"></script>
<script>
var t = new HtmlTable('table-id', {
	headers: ['fruit', 'colors'],
	footers: ['fruit', 'colors']
});
t.inject(document.body);
t.push(['apple', 'red']);
t.push(['lemon', 'yellow']);
t.push([{
		content: 'grapes',
		properties: {rowspan: 2, valign: 'top'}
},
'purple']);
t.push(['green']);
</script>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
lsd_rails-0.1.4 Packages/mootools-more/Tests/Interactive/Interface/HtmlTable_(id).html
lsd_rails-0.1.3 Packages/mootools-more/Tests/Interactive/Interface/HtmlTable_(id).html
lsd_rails-0.1.2 Packages/mootools-more/Tests/Interactive/Interface/HtmlTable_(id).html
lsd_rails-0.1.1 Packages/mootools-more/Tests/Interactive/Interface/HtmlTable_(id).html
lsd_rails-0.1 Packages/mootools-more/Tests/Interactive/Interface/HtmlTable_(id).html