PDA

View Full Version : Condition on a link



florida
02-24-2003, 07:37 PM
I have an Cold Fusion include file that shows up in every single page:
<CFINCLUDE TEMPLATE="body_top.cfm">

In this it has a link: <P><A HREF="mypage.cfm"><STRONG>My page</STRONG></FONT></A></P>

But there is one page where I dont want this link to show up in.
Is there a condition to write where if I am in "page1.cfm" then this part:

<P><A HREF="mypage.cfm"><STRONG>My page</STRONG></FONT></A></P>

will not show up?

poccil
02-24-2003, 09:55 PM
This thread really has nothing to do with JavaScript.

I'm not familiar with Cold Fusion, but I'm sure you can solve your problem with it.