Hey Michael,

I just cut and paste your code out and when I click on the link it took me
to:
http://localhost:8500/testsvr/view_overview.cfm?expand=9#cost as expected.
The double # is definitely the right syntax since the second # escapes the
first,

John.

-----Original Message-----
From: Michael E. Carluen [mailto:[EMAIL PROTECTED]] 
Sent: 03 October 2002 08: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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to