[thelist] Named anchors in .cfm pages

Raymond Camden jedimaster at macromedia.com
Thu Sep 19 15:07:01 CDT 2002


The # sign - which use for the links, is a reserved character in CFML.
YOu must escape it by doubling it:

<a href="##innerLink">Go to the top, buddy</a>

=======================================================================
Raymond Camden, ColdFusion Jedi Master for Hire

Email    : jedimaster at macromedia.com
Yahoo IM : cfjedimaster

"My ally is the Force, and a powerful ally it is." - Yoda

> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org] On Behalf Of Clive R Sweeney
> Sent: Thursday, September 19, 2002 3:58 PM
> To: thelist at lists.evolt.org
> Subject: [thelist] Named anchors in .cfm pages
>
>
> I've been using named anchors throughout a new site to link to a
> specific part of a page or for "Return to top" links. They worked just
> fine until I renamed the pages to "*.cfm" from "*.html". (Our
> ColdFusion
> developer will be adding some content management functionality to the
> site). But these named anchors in a .cfm page just result in
> "This page
> cannot be displayed".
>
> Why does this happen and/or is there a way to make it work?
>
>
> ... clive
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !
>





More information about the thelist mailing list