Need help with IIF
Does anyone see the problem?
<cfparam name="DefaultTab" default="Staff">
<table style="margin-bottom:0" cellspacing="0" cellpadding="4">
<td class="#IIF(DefaultTab eq 'Staff',de('TabOn'),de('TabOff'))#">Staff</td>
I'm not getting an error, just not getting the expected outcome.
Hi there fburns,
Sorry, I don't see it?
Try posting in Web Programming located on the Forum Index. You should get a better response there.
I'm pretty much in the dark as far as ColdFusion goes. Looks like the sort of thing that CSS could manage quite easily. Do you have a url where we could have a look? I'm presuming the <cfparam> tag is properly nested? i.e. there's a closing tag to match the opening one.
PS. You might try Steven Glover or MysticLighthouse, they both have experience in ColdFusion.