Groups | Blog | Home
all groups > coldfusion flash integration > may 2006 >

coldfusion flash integration : cfform images & style issues


reya276
5/30/2006 12:45:22 PM
I'm having some issues displaying images within a cfform and also when I try to
create links using and applying styles to them, they do not show. I'm applying
the styles within the cfformitem. If anyone knows of a fix please let me know,
I also updated my coldfusion server to 7.01, maybe this is the problem???

<cfform Action="#CGI.SCRIPT_NAME#" Method="POST" name="Reports" format="flash"
height="400" width="195" skin="haloblue"
style="fontColor:##fff;background-color:##185DC5;font-weight:bold;marginTop:20;
marginBottom:20; fontSize:11; fontStyle:normal;headerColors:##73090D,
##9E0D14;headerHeight:35; cornerRadius:8;padding:2px;" preloader="true"
wmode="transparent">
<cfformgroup type="Panel" label="Administration" style="marginBottom:20;
color:##fff;fontSize:14; fontStyle:normal;background-color:##92ADD8;">
<cfformgroup type="accordion" style="color:##000;fontSize:12;
fontStyle:bold;">
<cfformgroup type="Page" label="Utilities"
style="Color:##0066CC;fontSize:11; fontStyle:bold;background-color:##92ADD8;"
height="250">
<cfformitem type="html" height="24" width="110"><a href="export.cfm"
title="Export"><img src="new_images/exp_data.jpg" alt="Export Data" border="0"
height="24" width="110" /></a></cfformitem>
<cfformitem type="html" height="24" width="110"><a href="import.cfm"
title="Import"><img src="new_images/import_data.jpg" alt="Import Data"
width="110" height="24" border="0" /></a></cfformitem>
<cfformitem type="html" height="24" width="110"><a href="users.cfm"
title="Add/Edit Users"><img src="new_images/add_mod_users.jpg" alt="Add/Edit
Users" width="148" height="28" border="0" /></a></cfformitem>
</cfformgroup>
<cfformgroup type="Page" label="Forms & Documents">
</cfformgroup>
</cfformgroup>
</cfformgroup>
</cfform>
ATEO-Ford
6/16/2006 5:54:37 PM
For your styles:
<cfsavecontent variable="formStyle">
marginBottom:20;
color:##fff;
fontSize:14;
fontStyle:normal;
background-color:##92ADD8;
</cfsavecontent>

<cfform style="#formStyle#">...............</cfform>


For your images:
<cfinput type="image" name="Alogo" disabled="true"
onClick="_root.getURL('export.cfm', _parent);" src="new_images/exp_data.jpg"
alt="Export Data" width="110" height="24" hspace="0" vspace="0" border="0">



AddThis Social Bookmark Button