Re: Alternating Rows issue with M$ IE 6.X

2006-06-01 Thread Tom Chiverton
On Thursday 01 June 2006 16:48, Bruce Sorge wrote: This is working great in Firefox, but not Nutscrape of M$ IE. Do these browsers not understand the class attribute in the tablerow? Set it on the td as well. -- Tom Chiverton This email

Re: Alternating Rows issue with M$ IE 6.X

2006-06-01 Thread Paul Ihrig
what does the style look like? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241926 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4

RE: Alternating Rows issue with M$ IE 6.X

2006-06-01 Thread Bruce Sorge
That did it. Thanks. Tom. ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241927 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4

RE: Alternating Rows issue with M$ IE 6.X

2006-06-01 Thread Adkins, Randy
To: CF-Talk Subject: Re: Alternating Rows issue with M$ IE 6.X On Thursday 01 June 2006 16:48, Bruce Sorge wrote: This is working great in Firefox, but not Nutscrape of M$ IE. Do these browsers not understand the class attribute in the tablerow? Set it on the td as well. -- Tom Chiverton

RE: Alternating Rows issue with M$ IE 6.X

2006-06-01 Thread Andy Matthews
You can style a TR just fine. Check your source. Randy's suggestion that there's extra single quotes in there sounds like it might solve your issue. !//-- andy matthews web developer certified advanced coldfusion programmer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737

RE: alternating rows

2002-03-18 Thread Haggerty, Michael A.
Assuming you are doing this from a query td iif(query.currentrow mod 2, de( bgcolor='bgcolor1'), de( bgcolor='bgcolor2')) M -Original Message- From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 1:31 PM To: CF-Talk Subject: alternating rows Does

RE: alternating rows

2002-03-18 Thread Christopher Olive
CFIF QUERY.currentrow MOD 2change color/CFIF christopher olive cto, vp of web development, vp it security atnet solutions, inc. 410.931.4092 http://www.atnetsolutions.com -Original Message- From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 1:31 PM To:

RE: alternating rows

2002-03-18 Thread Ron Hornbaker
Does anyone remember the quick way to alternate row colors when using MOD on a recorcount? Google does: http://www.google.com/search?q=CF+MOD+row+color -Ron BOOKS JUST WANNA BE FREE! http://BookCrossing.com/ __

RE: alternating rows

2002-03-18 Thread Raymond Camden
Depends on how readable you want the code. ;) cfif currentRow mod 2 tr bgcolor=foo cfelse tr bgcolor=goo /cfif This is what I normally use. However, you can also use IIF to make it inline (and slower as well): tr bgcolor=#IIF(currentRow mod 2,de(foo),de(goo))# The syntax above

RE: alternating rows

2002-03-18 Thread Matthew R. Small
cfif query.recordcount mod 2 eq 1cfset rowcolor =bluecfelsecfset rowcolor eq green td bgcolor=#rowcolor# .. /td - Matt Small -Original Message- From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 1:31 PM To: CF-Talk Subject: alternating rows Does anyone

RE: alternating rows

2002-03-18 Thread VAN VLIET, SCOTT E (SBCSI)
cfoutput query=myQuery cfset bgcolor = ##CC cfif RecordCount MOD 2 cfset bgcolor = ##99 /cfif tr bgcolor=#bgcolor# td ... /td /tr /cfoutput You can use and IIF function, but it is considerably slower that this method. HTH. -- SCOTT VAN VLIET SENIOR

RE: alternating rows

2002-03-18 Thread Justin Hansen
This is what I use... trcfif qryName.currentrow mod 2 EQ 0 class=altRow/cfif Justin Hansen -- Uhlig Communications Web Developer / Programmer -- [EMAIL PROTECTED] 913-498-0123 ext 284 -- -Original Message- From:

Re: alternating rows

2002-03-18 Thread Bryan Stevenson
- From: Justin Hansen [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 18, 2002 10:51 AM Subject: RE: alternating rows This is what I use... trcfif qryName.currentrow mod 2 EQ 0 class=altRow/cfif Justin Hansen -- Uhlig Communications Web

Re: alternating rows

2002-03-18 Thread Douglas Brown
TR BGCOLOR=#iif(currentrow mod 2, DE('lightgrey'), DE('FF'))# Doug Brown - Original Message - From: Christopher Olive [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Monday, March 18, 2002 10:45 AM Subject: RE: alternating rows CFIF QUERY.currentrow MOD 2change color

RE: alternating rows

2002-03-18 Thread tangormt
Here's an alternative to the popular IIF() approach: 1. In your global style sheet, define: oddrow { background-color: #f0f0f0; } evenrow { } 2. In your script (or Application.cfm) add: CFSET EvenOdd=ListToArray(evenrow,oddrow) 3. In your query output, do: TR

RE: alternating rows

2002-03-18 Thread Helen Simpson
How about tr bgcolor=cfif Evaluate(currentrow mod 2) is 1FFcfelse00/cfif Helen -Original Message- From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 13:31 To: CF-Talk Subject: alternating rows Does anyone remember the quick way to alternate

RE: alternating rows

2002-03-18 Thread Raymond Camden
3:06 PM To: CF-Talk Subject: RE: alternating rows How about tr bgcolor=cfif Evaluate(currentrow mod 2) is 1FFcfelse00/cfif Helen -Original Message- From: Tangorre, Michael T. [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 13:31 To: CF-Talk Subject

RE: alternating rows

2002-03-18 Thread Helen Simpson
Message- From: Helen Simpson [mailto:[EMAIL PROTECTED]] Sent: Monday, March 18, 2002 3:06 PM To: CF-Talk Subject: RE: alternating rows How about tr bgcolor=cfif Evaluate(currentrow mod 2) is 1FFcfelse00/cfif Helen -Original Message- From: Tangorre, Michael T

RE: alternating rows

2002-03-18 Thread Rick Osborne [Mojo]
PROTECTED]] Sent: Monday, March 18, 2002 14:56 To: CF-Talk Subject: RE: alternating rows Here's an alternative to the popular IIF() approach: 1. In your global style sheet, define: oddrow { background-color: #f0f0f0; } evenrow { } 2. In your script (or Application.cfm) add: CFSET EvenOdd=ListToArray

Re: alternating rows

2002-03-18 Thread Samuel Farmer
Also perfect time for a UDF: function bgcolor_switch(ROW) { color = CDCDCD; if (ROW mod 2 is 1) { color=ff; } return color; } Code: tr bgcolor=#bgcolor_switch(get_report_data.currentrow)# Thanks, Sam Sam Farmer - Senior Developer Certified Advanced ColdFusion 5 Developer INTELIX -