I use the <cf_browsercheck> custom tag, available at the tag gallery, to do
exactly the same thing you are talking about:

<cfset nutscrape = false>

<cfif bc_browser is "netscape">
        <cfset nutscrape = true>
</cfif>

<cfif nutscrape>
        ...code to not show kick butt dhtml menu
<cfelse>
        ...code to show kick butt dhtml menu
</cfif>

The reason I initialize the var nutscrape first is because I use it for
other conditional stuff besides the menus. Plus I like the sound of it.

- Sean
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to