Ok, so I now have this: <a href="###GetKey#">#title#</a>
The name tag as this:<a name="#GetKey#">#Title#</a> <~~~~~~~~~ the above displays the ID for the title correctly when hovering on the hyperlink to the bookmark...but still doesn't seem like it's jumping directly to the bookmark when I click the hyperlink ~~~~~~~~~~> Thank you. -----Original Message----- From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] Sent: Saturday, March 29, 2003 8:43 PM To: CF-Talk Subject: Re: Dynamic anchors on CF Page Probably just getting an error on this line: href="##GetKey#">#title#</a> which should read ###getKey# Same for the anchor name attribute. You have to escape the leading # for the anchor and then output the name of the anchor. > Apart from that you've missed the hashes (#), what's wrong > with what you > have? > <a name="#GetKey#"> > Matthew Walker > Electric Sheep Web > http://www.electricsheep.co.nz/ > ----- Original Message ----- > From: "Clark, Aimee" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Sunday, March 30, 2003 12:38 PM > Subject: Dynamic anchors on CF Page >> I have a page in which headings go across the top like >> (newpaper headings) >> that I want the user to be able to click the heading to >> jump down to the >> article. All headings and articles are on the same page. >> So I need to be >> able to create dynamic anchors. Is this possible in CF? >> Here's a snippet > of >> code I have: >> >> <cfquery datasource="FirmDaily" name="GetBookmarks"> >> Select DailyNewsKey, Title From DailyNews >> Where convert(varchar, PublishDte, 101) <= >> convert(varchar, GETDATE(), > 101) >> AND >> convert(varchar, EndPublishDte, 101) >= convert(varchar, >> GETDATE(), 101) >> </cfquery> >> >> <cfquery datasource="FirmDaily" name="GetContent"> >> Select DailyNewsKey, Title, Body, Sig From DailyNews >> Where convert(varchar, PublishDte, 101) <= >> convert(varchar, GETDATE(), > 101) >> AND >> convert(varchar, EndPublishDte, 101) >= convert(varchar, >> GETDATE(), 101) >> </cfquery> >> >> <cfset GetKey = #GetBookmarks.DailynewsKey#> >> <body link="CC0000" alink="CC0000" vlink="ac9d86"> >> <table width="100%"> >> <TR> >> <td width="100%" height="18" align="left" >> valign="top"><h2>What's Up >> Today</h2></td> >> </TR> >> <tr> >> <td width="100%" height="24" align="left" >> valign="bottom"><h3>Table of >> Contents</h3></td> >> </tr> >> <tr> >> <td width="100%" height="9" align="center" valign="top"> >> <cfoutput query="GetBookmarks"> >> <font face="Trebuchet MS" size="1"> <a >> href="##GetKey#">#title#</a> </cfoutput> >> </td></tr> >> <tr> >> <td width="100%" height="3" align="center" >> valign="top"><hr width="65%" >> size="1" color="353535"></FONT></td> >> </tr> >> <cfoutput query="GetContent"> >> <tr> >> <td height="9" align="center" valign="top"><font >> face="Trebuchet MS" >> size="2" color="CC0000"><a >> name="GetKey">#Title#</a></font></td> >> </tr> >> <tr> >> <td height="9" align="center" valign="top"><font >> face="Trebuchet MS" >> size="2">#Body#</font></td> >> </tr> >> <tr> >> <td height="9" align="center" valign="top"><font >> face="Trebuchet MS" >> size="2">#Sig#</font></td> >> </tr> >> <tr> >> <td width="100%" height="3" valign="top"><hr width="65%" >> size="1" >> color="353535"></td> >> </tr> >> </cfoutput> >> >> </table> >> </body> >> </html> >> >> >> Thank you, >> Aimee Clark >> Web Developer >> Stinson Morrison Hecker >> 816.691.3461 >> [EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]> >> >> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~~~~~~~~~~| > Archives: > http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 > Subscription: http://www.houseoffusion.com/cf_lists/index. > cfm?method=subscribe&forumid=4 > FAQ: http://www.thenetprofits.co.uk/coldfusion/faq > Get the mailserver that powers this list at > http://www.coolfusion.com > Unsubscribe: http://www.houseoffusion.com/cf_lists/uns > ubscribe.cfm?user=633.558.4 s. isaac dealey 954-776-0046 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4