view default/node_modules/tablesaw/demo/colspan-vv.html @ 0:1d038bc9b3d2 default tip

Up:default
author Liny <dev@neowd.com>
date Sat, 31 May 2025 09:21:51 +0800
parents
children
line wrap: on
line source

<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>TableSaw Column Toggle Table</title>

	<link rel="stylesheet" href="../dist/tablesaw.css">
	<link rel="stylesheet" href="demo.css">
	<link rel="stylesheet" href="//filamentgroup.github.io/demo-head/demohead.css">
	<style>
	th,
	td {
		border: 1px solid #000;
	}
	</style>

	<script src="../dist/tablesaw.js"></script>
	<script src="../dist/tablesaw-init.js"></script>
	<script src="//filamentgroup.github.io/demo-head/loadfont.js"></script>
</head>
<body>
	<div class="demo-header">
		<div class="company">
			<img src="http://filamentgroup.com/images/fg-logo-positive-sm-crop.png">
		</div>
		<div class="details">
			<h1 class="description-container">Demo of <span class="repo-name">Tablesaw</span>
				<span class="description">A group of plugins for responsive tables.</span>
			</h1>
			<ul class="outbound-links">
				<li><a href="https://github.com/filamentgroup/tablesaw">Code</a></li>
				<li><a href="https://github.com/filamentgroup/tablesaw/issues">Issues</a></li>
			</ul>
		</div>
	</div>
	<div class="nav-container">
		<div class="docs-globalnav">
			<nav class="docs-nav">
			<a href="kitchensink.html" class="current">Kitchen Sink</a>
			<a href="modeswitch.html">Mode Switch</a>
			<a href="sort.html">Sortable</a>
			<a href="stack.html">Stack</a>
			<a href="stackonly.html">Stack Only</a>
			<a href="swipe.html">Swipe Table</a>
			<a href="toggle.html">Toggle</a>
			</nav>
		</div>
	</div>
	<div class="docs-main">
		<h2>Colspans</h2>
		

		<table class="tablesaw" data-tablesaw-mode="swipe" data-column-hover="sizechart_columnhover" data-tablesaw-minimap>
			<thead>
				<tr class="sizechart_solosizerow">
					<th scope="col" data-tablesaw-priority="persist">Size</th>
					<th scope="col" data-tablesaw-priority="1">XS</th>
					<th scope="col" data-tablesaw-priority="1">S</th>
					<th scope="col" data-tablesaw-priority="1">M</th>
					<th scope="col" data-tablesaw-priority="1">L</th>
					<th scope="col" data-tablesaw-priority="1">XL</th>
					<th scope="col" data-tablesaw-priority="1">XXL</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<th scope="row" id="sizechart-mens-neck"><a href="#measuring-neck" data-collapsible-target="#measuring-neck" class="sizechart_type"><span class="a11y-only">How to measure </span>Neck</a></th>
					<td>13½-14″</td>
					<td>14-14½″</td>
					<td>15-15½″</td>
					<td>16-16½″</td>
					<td>17-17½″</td>
					<td>18-18½″</td>
				</tr>
				<tr>
					<th scope="row"><a href="#measuring-chest" data-collapsible-target="#measuring-chest" class="sizechart_type"><span class="a11y-only">How to measure </span>Chest</a></th>
					<td>36-38</td>
					<td>38-40</td>
					<td>40-42</td>
					<td>42-44</td>
					<td>44-46</td>
					<td>46-48</td>
				</tr>
				<tr>
					<th scope="row"><a href="#measuring-sleeve" data-collapsible-target="#measuring-sleeve" class="sizechart_type"><span class="a11y-only">How to measure </span>Sleeve</a></th>
					<td>32½″</td>
					<td>33½″</td>
					<td>34½″</td>
					<td>35½″</td>
					<td>36½″</td>
					<td>37½″</td>
				</tr>
				<tr>
					<th scope="row"><a href="#measuring-waist" data-collapsible-target="#measuring-waist" class="sizechart_type"><span class="a11y-only">How to measure </span>Waist</a></th>
					<td>28-30</td>
					<td>30-32</td>
					<td>32-34</td>
					<td>36-38</td>
					<td>40-42</td>
					<td>42-44</td>
				</tr>
			</tbody>
		</table>
	</div>

</body>
</html>