I pasted your code on a test page and it works as intended. Here is the
generated content:
<td align="center">
        <a href="view_overview.cfm?expand=9#cost">
                <img src="../lib_images/triangle.gif" alt="View All
Projects" border="0">
        </a>
</td>

If you have a different result, I don't know what's going on.

I tested on CF5.

-----Original Message-----
From: Michael E. Carluen [mailto:[EMAIL PROTECTED]] 
Sent: donderdag 3 oktober 2002 9:38
To: CF-Talk
Subject: RE: Using # signs on URL to go to <a name=....> on .cfm pages


Pascal,

I'm probably missing something from your solution.
Here is we I wantnted to use it:

<cfoutput>
<td align="center">
        <a href="view_overview.cfm?expand=#project_id####project_name#">
                <img src="../lib_images/triangle.gif" alt="View All
Projects" border="0">
        </a>
</td>   
</cfoutput>     


I wanted the URL link to be: view_overview.cfm?expand=9#Cost

Based on your suggestion, it seems like its escaping the double #.  So
its showing as view_overview.cfm?expand=9Cost ... with no # reference


Thanks for your response, btw.

Michael



At 09:06 AM 10/3/2002 +0200, Pascal Peters wrote:
>It's the same for html and cfml. If you need to do it in a CFOUTPUT, 
>just double the # sign
>
>-----Original Message-----
>From: Michael E. Carluen [mailto:[EMAIL PROTECTED]]
>Sent: donderdag 3 oktober 2002 8:52
>To: CF-Talk
>Subject: Using # signs on URL to go to <a name=....> on .cfm pages
>
>
>Seems like a no brainer question on .htm pages, but how about on .cfm 
>pages?  How to you dynamically create URLs with # signs to link to <a 
>name=...> tags?
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to