Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting a top bar from a form.

Status
Not open for further replies.

programmher

Programmer
May 25, 2000
235
US
I have a form that I do not need the top bar to appear. The top bar is within the custom style sheet for the site. How do I eliminate this top bar from three of my pages and keep it on the remaining pages?
 
I think this will do what you want.

At top of the three pages:
<cfset noShow=1>

Change the css sheet to a .cfm script and use <cfinclude>.
Inside the css sheet:
<cfparam name=&quot;noShow&quot; default=&quot;0&quot;>
<cffif not noShow>
....... Bar elements here .......
</cfif>

Without making the css sheet into a dynamic document, I'm not sure you can really do this since any regular style sheets are downloaded after the browser receives the completed output from CF.

Hope this helps,
GJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top