-
Junior Member
Need help with IIF
Does anyone see the problem?
<style>
td.TabOn {border-style:none;
background-color:lightsteelblue;}
td.TabOff {border-style:dotted;
background-color:steelblue;}
</style>
<cfparam name="DefaultTab" default="Staff">
<table style="margin-bottom:0" cellspacing="0" cellpadding="4">
<tr>
<td class="#IIF(DefaultTab eq 'Staff',de('TabOn'),de('TabOff'))#">Staff</td>
</tr>
</table>
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.
Good Luck!
-
-
Senior Member
ColdFusion param
Hi fburns,
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.
Paul
PS. You might try Steven Glover or MysticLighthouse, they both have experience in ColdFusion.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules