navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

New zebra tables script

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Community >> OutFront Discoveries >> New zebra tables script
Page: [1]
 
Tailslide

 

Posts: 6290
Joined: 5/10/2005
From: Out here on the raggedy edge
Status: offline

 
New zebra tables script - 4/19/2006 12:36:32   
Hi

I've seen this sort of script before (the Alistapart one in particular) - but this looks like quite a nice version of it as it not only adds the stripes to alternate rows of the table but it adds a nice hover effect. I've also found in brief experiments that you can add the names of other tables into the script so that you get the effect on multiple tables on a page:

http://www.thewatchmakerproject.com/journal/309/stripe-your-tables-the-oo-way

Add extra tables into the bottom of the js script like this:

...
window.onload = function() {
	ZebraTable.stripe('mytable');
	ZebraTable.stripe('anothertable');
        ZebraTable.stripe('yetanothertable');
}
You get the idea!

You could probably use this for lists too - just swap the <tr>s for <li>s although I haven't tried it.

_____________________________

"My strategy is so simple an idiot could have devised it"
Little Blue Plane Web Design | Blood, Sweat & Rust - A Land Rover restoration project
Page:   [1]

All Forums >> Community >> OutFront Discoveries >> New zebra tables script
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts