Replies Back to Article

Alternating Row Colors

jljlhjkl
November 23, 2004 by vins red
How to use
February 14, 2005 by Steve V

Hi,

Does anyone know how to aply this behavior

 

Thanks

Does anyone know what behaviour to use to enable this to apply itself the soon as the page loads?
May 9, 2005 by scott boyd
I have tried onPageLoad and onStart but at the minute i am stuck to onMouseOver as its the only one i can get working? Please help!
RE: jljlhjkl
May 13, 2005 by James Wilkinson
You have to apply it to the body tag but first give the table you want to apply it to an ID or index.
Wonderful behavior.
August 9, 2006 by lynn wenger
RE: Wonderful behavior.
August 9, 2006 by lynn wenger

I love how easy this was to use!  The site is maintained by the owners and they weren't able to apply colors or styles without becoming overwhelmed.  This was the perfect solution.

http://www.chatwithwomen.com/pages/upcoming.php

Doesn't work
October 24, 2006 by Faruk Ozturkmen
I have tried all sorts of combinations and can not get it to work. There is no instructions either.
Sweet
January 3, 2007 by marcel e
after applying the behaviour, the UI will place an onFocus-event in the table tag, move this to the tag, and replace it with onLoad event.
Easy way to get this to work
June 19, 2007 by Silvia Alioto

I found the easiest way to automatically alternate the row colors was:

1. Give the table an ID in the Properties window (e.g., mytable) 

2. Place this code on the body tag:

<body id="mytable" onload="altRowColors('mytable','#FFFFCC','#738EB5')">

substitute the colors as needed.

The behavior was great as far as generating the code, but it needs a few refinements.

 

 

A way to get this to work (pls disregard previous post)
June 19, 2007 by Silvia Alioto

I got this to work manually coding the page as follows:

1. Give your table an ID in the properties window (e.g., mytable).

2. Edit the body tag:

<body onload="altRowColors('mytable','#FFFFCC','#e3e7e9')">

3. Edit the table tag:

<table width="80%"  border="0" cellpadding="3" cellspacing="0" onfocus="altRowColors('finforms','#FFFFCC','#e3e7e9')" id="mytable">

A way to get this to work (pls disregard previous post)
June 19, 2007 by Silvia Alioto
A way to get this to work (pls disregard previous post) Silvia Alioto Reply (19 June 2007, 19:42)

I got this to work manually coding the page as follows:

1. Give your table an ID in the properties window (e.g., mytable).

2. Edit the body tag:

<body onload="altRowColors('mytable','#FFFFCC','#e3e7e9')">

3. Edit the table tag:

<table width="80%"  border="0" cellpadding="3" cellspacing="0" onfocus="altRowColors('mytable','#FFFFCC','#e3e7e9')" id="mytable">

Substitute colors #FFFFCC and #e3e7e9 as needed.

Where download this rxtension
November 10, 2020 by User
I'am french, sorry for my english Where i can download this extension Thanks Régis