In order to create a tag that wraps around a piece of text, you need to set up the custom tag with start and end tag sections
<cfswitch expression = "#ThisTag.ExecutionMode#"> <cfcase value = "start"> Do the stuff that the open tag wraps around the code <table> </cfcase> <cfcase value = "end"> Do the stuff the close tag wraps around the code </table> </cfcase> </cfswitch> You will probably need a tag to do the Table, and then a tag to do each table cell, and then you need to figure out how rows are handled (are they a seperate tag, are they a parameter passed into the td tag) On 4/27/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > Wasn't really sure how to phrase the subject line, but this is what I'm > looking for. > > I want to write a custom tag for creatinga table that allows multiple rows > and columns, but I want to have a custom "content" for each table cell. > > So I want the tag to work like this: > > <cf_outputTable some="asttributes" more="attributes"> > <a href="slideshow.cfm?slide=#currentrow#&gid=#fk_gallery_id#" > onclick="popUp(this.href,'fixedScrolling',800,800);return false;" > target="slideShow"><img src="photos/th_#photo_image#" border="0" > alt="#photo_description#"></a> > </cf_outputTable> > > I'm not sure how to do this. All of my other custom tags have been simple > things but this is a little more complicated. Anyone have input on this? > > <!----------------//------ > andy matthews > web developer > ICGLink, Inc. > [EMAIL PROTECTED] > 615.370.1530 x737 > --------------//---------> > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:238963 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

