Charles, Thank you for that - I Have an other question.
I have different groups (categories) as listed on the page. I only want each group to appear on the page when you click on the appropriate link. Right now all groups are displaying. Steve LaBadie, Web Manager East Stroudsburg University 200 Prospect St. East Stroudsburg, Pa 18301 570-422-3999 [EMAIL PROTECTED] http://www.esu.edu -----Original Message----- From: Charlie Griefer [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 04, 2006 1:05 PM To: CF-Talk Subject: Re: Don't display IF Phone: #phone#<cfif len(trim(fax)) GT 0> | Fax: <cfloop list="#fax#" index="f">#f#</cfloop></cfif> On 10/4/06, Steve LaBadie <[EMAIL PROTECTED]> wrote: > I have some text that I don't want to display if a condition exist > (highlighted in RED) If there is no fax # don't display text ( | Fax: ). > Also I would like the section highlighted in BLUE to display after every > group instead of just at the end. See page: > http://www4.esu.edu/aboutesu/welcome_ctr/local_attractions/attractions.c > fm > > > > > > <cfquery datasource="sites" name="sites"> > > SELECT * > > FROM sites > > ORDER BY name ASC > > </cfquery> > > > > <table border="0" cellpadding="6" cellspacing="0" width="100%"> > > <cfoutput query="sites"> > > <tr><td><a href="##">#name#</a><br />#street#, #city#, #state# #zip#<br > />Phone: #phone# | Fax: <cfloop list="#fax#" index="f">#f#</cfloop> <br > /> <strong>Web Site:</strong> <a href="#website#" > target="_blank"><cfloop list="#website#" index="w">#w#</cfloop></a><br > /><strong>E-mail:</strong> <a href="mailto:#email#"><cfloop > list="#email#" index="e">#e#</cfloop></a><br /></td> > > <td align="right" valign="middle" rowspan="2" width="100px"><cfloop > list="#picture#" index="p"><img src="../images/#p#"></cfloop></td></tr> > > <tr><td valign="bottom">#description#</td></tr></cfoutput> > > <tr><td colspan="2" height="20px" style="color: black; font-size: 11px; > border-top: dashed 1px #AAAAAA; border-bottom: dashed 1px #AAAAAA" > valign="middle"><a href="">[Photos]</a> > | [<strong>Added to Your Trip > Planner</strong>]</td></tr> > > </table> > > > > > > > > Steve LaBadie, Web Manager > East Stroudsburg University > 200 Prospect St. > East Stroudsburg, Pa 18301 > 570-422-3999 > [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > http://www.esu.edu <http://www3.esu.edu> > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255472 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

