I only had time to glance at this briefly (I'm at a client's office) but you usually modify the look of SPRY widgets using the associated CSS style sheet.
On May 14, 2:11 pm, <[EMAIL PROTECTED]> wrote: > LOL, you tell her! > > This might help: > > http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=ajaxda > ta_07.html > > James E. Thomas > Baker Botts L.L.P. Web Developer -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] > > On Behalf Of Mark Davis > Sent: Wednesday, May 14, 2008 1:49 PM > To: [email protected] > Subject: [houcfug] Re: anyone use Spry? > > I tried that, but didn't think it would work...and it didn't. > With Spry, the data is written via javascript, so I can't access the JS > value in CF. > > Also, tell Stephanie not to take off work because her son > graduates from pre-school. ;-) > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] > On Behalf Of [EMAIL PROTECTED] > Sent: Wednesday, May 14, 2008 1:17 PM > To: [email protected] > Subject: [houcfug] Re: anyone use Spry? > > Just off the top of my head, couldn't you do this via CFIF (wrap > a conditional statement around a style="color: red" attribute in the row > based on the value of STATUSNAME)? > > James E. Thomas > Baker Botts L.L.P. Web Developer > > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of Mark Davis > Sent: Wednesday, May 14, 2008 12:53 PM > To: [email protected] > Subject: [houcfug] anyone use Spry? > > I have been doing a serious customizing job on Ray > Camden's Lighthouse Pro. One of the tables for data display uses Spry > and I am not familiar with it. I want to change the color of the text > based on the value of the STATUSNAME field in each row. (meaning any > row where the statusname is "Completed", I want the text to be Red) Not > exactly sure how to do this...Code below...Thanks > > Mark > > <table width="100%" cellspacing=0 cellpadding=5 > class="adminListTable" border> > > <tr class="adminListHeader"> > > <td width="30"> </td> > > <td><a > href="javaScript:dsIssues.sort('PUBLICID','toggle')" > class="adminListHeaderTD">ID</a></td> > > <td><a href="javaScript:dsIssues.sort('NAME','toggle')" > class="adminListHeaderTD">Name</a></td> > > <td><a > href="javaScript:dsIssues.sort('ISSUETYPE','toggle')" > class="adminListHeaderTD">Type</a></td> > > <td><a > href="javaScript:dsIssues.sort('LOCUSNAME','toggle')" > class="adminListHeaderTD">Size</a></td> > > <td><a > href="javaScript:dsIssues.sort('SEVERITYRANK','toggle')" > class="adminListHeaderTD">Importance</a></td> > > <td><a > href="javaScript:dsIssues.sort('STATUSRANK','toggle')" > class="adminListHeaderTD">Status</a></td> > > <td><a > href="javaScript:dsIssues.sort('USERNAME','toggle')" > class="adminListHeaderTD">User</a></td> > > <td><a > href="javaScript:dsIssues.sort('PRETTYDUEDATE','toggle')" > class="adminListHeaderTD">Due</a></td> > > <td><a > href="javaScript:dsIssues.sort('PRETTYDATE','toggle')" > class="adminListHeaderTD">Updated</a></td> > > </tr> > > <tr spry:repeat="dsIssues" spry:even="adminList0" > spry:odd="adminList1" spry:test="{ds_RowNumber} >= pageOffset > && {ds_RowNumber} < pageStop"> > > <td width="20"><cfif variables.mystatus neq "2"><input > type="checkbox" name="mark" value="{ID}"></cfif></td> > > <td><span spry:content="{PUBLICID}"></span></td> > > <td><a href="view.cfm?id={ID}&pid=#p.getID()#"><span > spry:content="{NAME}"></span></a></td> > > <td><span spry:content="{ISSUETYPE}"></span></td> > > <td><span spry:content="{LOCUSNAME}"></span></td> > > <td><span spry:content="{SEVERITYNAME}"></span></td> > > <td><span spry:content="{STATUSNAME}"></span></td> > > <td><span spry:content="{USERNAME}"></span></td> > > <td><span spry:content="{PRETTYDUEDATE}"></span></td> > > <td><span spry:content="{PRETTYDATE}"></span></td> > > </tr> > > </table> > > No virus found in this incoming message. > Checked by AVG. > Version: 8.0.100 / Virus Database: 269.23.16/1432 - > Release Date: 5/14/2008 7:49 AM --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the "Houston ColdFusion Users' Group" discussion list. To unsubscribe, send email to [EMAIL PROTECTED] For more options, visit http://groups.google.com/group/houcfug?hl=en -~----------~----~----~----~------~----~------~--~---
