I am trying to create a preview area made up of a mix of HTML and cfform variables in a binding string. This is similar to the ASFusion article in ColdFusion Journal. I conceptually understand how to do this, but I think that the syntax is getting me. What I'm trying to show is a table using a backround image with styled text over the image. I'm getting the text, but it is not styled, the image does not appear and my link does not show as a link. Here's my code: <cfsavecontent variable="featureBind"> {( ("<table><tr><td width='330' height='257' align='left' valign='middle' nowrap'") + ("background='" + photo_url.text + "'>") + ("<table width='330'><tr><td align='left'><br /><p class='featureHd'>") + ("<font color='" + headline_color.text + "'>" + headline_text.text + "</font> </p>") + ("<font color='" + body_text_color.text + "'>" + body_text.text + "</font></p><br />") + ("<a href='" + link_url.text + "' CLASS='featureLink_light'>") + ("<font color='" + link_color.text + "'>" + link_text.text + "</font></a></td>") + ("</tr></table></td></tr></table>") )} </cfsavecontent> ... <cfformgroup type="panel" label="Preview" > <cfformitem type="html" height="257" width="330" bind="#featureBind#"></cfformitem> </cfformgroup> Can anyone help? Thanks, Patty
Don't see what you're looking for? Try a search.
|