> I try to avoid IIF, consider using <cfif> and
> <cf_htmlhead></cf_htmlhead>. But if you insist:
<cfhtmlhead> is necessary so that valid XHTML is generated -
<style> blocks aren't allowed outside the <head> tag, and
when the <head> code is generated there's no easy way of
knowing what <style>s subsequent includes may need...
> <cfhtmlhead text="<style
> type=""text/css"">#IIf(request.fieldValues.SQLMethod EQ
> 'insertSelect',
> DE('####extrasInsertSelect {display: block;}'),
> DE('####extrasInsertSelect
> {display: none;}'))#</style>">
That works! Thanks. I'd tried single, double & triple hash
marks - I thought triple was taking the piss, as I've only
found mention of doubling in the documentation. Never
even considered quadrupling would be necessary. I'm sure
there's a reason in there somewhere... :)
- Gyrus
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- [EMAIL PROTECTED]
work: http://www.tengai.co.uk
play: http://www.norlonto.net
- PGP key available
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
Instant Activation � $99/Month � Free Setup
http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists