Posts Tagged ‘Tutorial’
A quick mission created for Operation Flashpoint: Dragon Rising. Some sample code and “concept” code added for awesomeness. :D
Firstly, you want to have your HTML code ready and waiting. For this, you will need a simple table. You can use this one I have if you wish, or make your own with a similar structure:
<html>
<head>
<title>Zebra Striping the jQuery Way</title>
<script src="http://jquery.com/src/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
</script>
</head>
<body>
<table class="myList">
<thead>
<tr>
<th>Name</th>
<th>E-Mail</th>
<th>Phone</th>
</tr>
</thead>
<tbody>
<tr>
<td>Test User</td>
<td>email@mailserver.com</td>
<td>1234567890</td>
</tr>
<tr>
<td>Test User</td>
<td>email@mailserver.com</td>
<td>1234567890</td>
</tr>
<tr>
<td>Test User</td>
<td>email@mailserver.com</td>
<td>1234567890</td>
</tr>
<tr>
<td>Test [...]
