Posts Tagged ‘Javascript’

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 [...]

Friday, October 31st, 2008 at 08:57 | 1 comment
Categories: Javascript, Programming

jQuery is a very powerful and user-friendly javascript library that makes life much easier for you. Take a look at the jQuery Homepage for more information and full documentation on how to use it fully.
I’ve been looking at jQuery, and so I will give some examples of how to get some simple codes working over [...]

Friday, October 31st, 2008 at 07:45 | 0 comments
Categories: Javascript, Programming
TOP