You can just add the following for email: <td width = "100" bordorcolor = "blue" ><a href="mailto: #getMembers.email#">#getMembers.email#</a></td>
You can use the variables just as if they were the actual result, as that is what will render in the HTML file. HTH Rob On Wed, Oct 28, 2009 at 9:18 AM, Rick Cummings <[email protected]>wrote: > > Hello, > > I'm trying to find a way to make data from cfoutput clickable. > > The code below populates a table, and I want to be able to click on a > members name and launch a profile page, also click on the email address and > launch the email app which viewers use on their comp. > > Thanks in advance for your suggestions. > > Cheers, > > Viajero > > <table width = "900" border = "1" cellspacing = "0"> > <tr> > <td width = "100" bordercolor = "blue">Name</td> > <td width = "100" bordercolor = "blue"> Address</td> > <td width = "40" bordercolor = "blue"> City</td> > <td width = "15" bordercolor = "blue"> Prov</td> > <td width = "70" bordercolor = "blue"> Phone Number</td> > <td width = "100" bordercolor = "blue"> Email</td> > </tr> > > > <cfoutput query ="getMembers"> > <tr> > <td width = "100" bordorcolor = "blue" > #getMembers.firstname# > #getMembers.lastname#</td> > <td width = "100" bordorcolor = "blue" > #getMembers.address#</td> > <td width = "40" bordorcolor = "blue" > #getMembers.city#</td> > <td width = "15" bordorcolor = "blue" > #getMembers.prov#</td> > <td width = "70" bordorcolor = "blue" > #getMembers.phone#</td> > <td width = "100" bordorcolor = "blue" > #getMembers.email#</td> > </tr> > > </cfoutput> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:4864 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
