MSNTV, WebTV, Interactive Television, Set Top Appliance, LBB, Little Black Box, Inexpensive Internet Access, Computer Phobia, Virus Free WWW, Easy To Use 'Net, Table Art, Audioscope Art, Basic HTML, Why Computers Hate Us, Internet For: The Disabled, Elderly, Poor "Just when u think yer life is hard, along comes MSNTV to remind u: it could b WORSE! :)" ~~Rogi

WebTV Only: Copy & Paste
Any Amount Of Text In This Box To Enlarge It
For The Vision Impaired.

Rogi's Gallery
Arts & Crafts

Email Rogi Riverstone

How To Webster for MSNTV
Chat Show Sundays, 3pm Pacific Time
MSNTV Help Newsgroups
MSNTV Status Board
MSNTV Resources

Why Computers Hate MSNTV

This page is powered by Blogger. Isn't yours?

Thursday, September 25, 2003

Table Cell Color Change Code, Spam Fighting 

From Internet Tutor:

Note: In code examples I add a period after each left arrow
bracket so the code can be viewed in all email programs. If you copy and paste, be sure to remove the periods or it won't work.

Using a combination of JavaScript and CSS you can have the background color of a table cell or whole row (or even the whole table) change color when a visitor places their cursor over it.

Why would you want to do that? You can have a row or column highlight when the cursor is on it to make it easier to read data across the table - or just for fun!

Here's the code you'd place in the HEAD section of your page:

That's the CSS part, below is a sample table that shows you how to add the JavaScript that makes the background color change. I've coded the change into the first row. If you copy and paste both sets of code into a page you'll see how the background color of the first row changes color on mouseover, but not the second row.

Where it says "foof" - that would return the background col- or to the normal table style if you are using CSS to set the style of the table. If so, then change the word "foof" to whatever class name you've given to it. If your table is set up using HTML only, then you can either just leave it alone or backspace out the word foof, but leave all the quote and double quote marks in place.
Tired of spam? Who isn't! This site will teach you how to trace spam and who to complain to.
The left hand column breaks down an email header into its various components, and the right hand column explains what they mean and some tools are provided to trace the spam.
Note that not all spam can be traced this easily, but you can bust some amateurs if you have the time and patience.

Comments or Questions for Boogie Jack? Email Your Comments

To SUBSCRIBE: Subscribe

posted by Rogi  # 9/25/2003 10:51:00 AM
Comments: Post a Comment


09/01/2003 - 10/01/2003   10/01/2003 - 11/01/2003   11/01/2003 - 12/01/2003   12/01/2003 - 01/01/2004   09/01/2005 - 10/01/2005   03/01/2006 - 04/01/2006   12/01/2006 - 01/01/2007   01/01/2007 - 02/01/2007   02/01/2007 - 03/01/2007   01/01/2008 - 02/01/2008   02/01/2009 - 03/01/2009   01/01/2011 - 02/01/2011   03/01/2011 - 04/01/2011  


This page is powered by Blogger. Isn't yours?

Rate Me on BlogHop.com!
the bestthe best pretty goodpretty good okayok pretty badpretty bad the worstthe worst help?