Re: Basic HTML Question
URL fragments, used to reference named anchors, and query strings are not mutually exclusive in any respect. You can use either or both within a request. If you use both, the query string is processed by the application server, and the URL fragment is used by the browser to navigate to the portion of the document specified in the fragment. btw, besides anchors, in HTML 4.0 you can also use fragments to reference any HTML element, such as a DIV, using its ID attribute. This is very handy if you're already using ID attributes anyway. Nick ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=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
Basic HTML Question
I just inherited a web site from another developer. Several times he is used the following code: cfoutput A HREF=RecordEdit.cfm###header#/A /cfoutput Can anyone explain what purpose the '##' serves at the end of the HREF? Thanks! Peter BAgnato ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=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
Re: Basic HTML Question
I am not sure what he is actually using it for, but the output would be RecordEdit.cfm# (one #) Paul Giesenhagen QuillDesign - Original Message - From: Peter Bagnato [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, February 15, 2003 1:47 PM Subject: Basic HTML Question I just inherited a web site from another developer. Several times he is used the following code: cfoutput A HREF=RecordEdit.cfm###header#/A /cfoutput Can anyone explain what purpose the '##' serves at the end of the HREF? Thanks! Peter BAgnato ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=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/unsubscribe.cfm?user=89.70.4
Re: Basic HTML Question
i would assume its a typo but they should basically cancel out since there is nothing in between. I'm a newbie so i dont know but could it possibly a nifty lil trick to not show the rest of the string in the browser? dave !--- doesnt know jack about cfm --- - Original Message - From: Peter Bagnato [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, February 15, 2003 2:47 PM Subject: Basic HTML Question I just inherited a web site from another developer. Several times he is used the following code: cfoutput A HREF=RecordEdit.cfm###header#/A /cfoutput Can anyone explain what purpose the '##' serves at the end of the HREF? Thanks! Peter BAgnato ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=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
RE: Basic HTML Question
That's what I thought, but I see it all over the place... I'm just trying to figure out if there is some reason for it that I'm not aware of... -Original Message- From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 15, 2003 2:46 PM To: CF-Talk Subject: Re: Basic HTML Question Importance: High I am not sure what he is actually using it for, but the output would be RecordEdit.cfm# (one #) Paul Giesenhagen QuillDesign - Original Message - From: Peter Bagnato [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, February 15, 2003 1:47 PM Subject: Basic HTML Question I just inherited a web site from another developer. Several times he is used the following code: cfoutput A HREF=RecordEdit.cfm###header#/A /cfoutput Can anyone explain what purpose the '##' serves at the end of the HREF? Thanks! Peter BAgnato ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Basic HTML Question
Oops .. you are right ... ### would leave one ... nothing like wrong answers :) Paul Giesenhagen QuillDesign - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, February 15, 2003 1:53 PM Subject: Re: Basic HTML Question i would assume its a typo but they should basically cancel out since there is nothing in between. I'm a newbie so i dont know but could it possibly a nifty lil trick to not show the rest of the string in the browser? dave !--- doesnt know jack about cfm --- - Original Message - From: Peter Bagnato [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, February 15, 2003 2:47 PM Subject: Basic HTML Question I just inherited a web site from another developer. Several times he is used the following code: cfoutput A HREF=RecordEdit.cfm###header#/A /cfoutput Can anyone explain what purpose the '##' serves at the end of the HREF? Thanks! Peter BAgnato ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Basic HTML Question
I got ahold of the guy who wrote the code, he said when he converted the site from DW 2.0 to DW 4.0 it wiped all his variable out. He...he... Caveat emperor ;) -Original Message- From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 15, 2003 2:51 PM To: CF-Talk Subject: Re: Basic HTML Question Importance: High Oops .. you are right ... ### would leave one ... nothing like wrong answers :) Paul Giesenhagen QuillDesign - Original Message - From: Dave Lyons [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, February 15, 2003 1:53 PM Subject: Re: Basic HTML Question i would assume its a typo but they should basically cancel out since there is nothing in between. I'm a newbie so i dont know but could it possibly a nifty lil trick to not show the rest of the string in the browser? dave !--- doesnt know jack about cfm --- - Original Message - From: Peter Bagnato [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, February 15, 2003 2:47 PM Subject: Basic HTML Question I just inherited a web site from another developer. Several times he is used the following code: cfoutput A HREF=RecordEdit.cfm###header#/A /cfoutput Can anyone explain what purpose the '##' serves at the end of the HREF? Thanks! Peter BAgnato ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=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/unsubscribe.cfm?user=89.70.4
Re: Basic HTML Question
I've used that, however, with a named anchor so go to certain spot on referenced page. Unless a reasonable explanation, looks like is prepared for any anchor--unless I'm missing something, which very possible on a Saturday. E. Keith Dodd Wings of Eagles Services www.wingserv.com - Original Message - From: Peter Bagnato [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, February 15, 2003 2:47 PM Subject: Basic HTML Question I just inherited a web site from another developer. Several times he is used the following code: cfoutput A HREF=RecordEdit.cfm###header#/A /cfoutput Can anyone explain what purpose the '##' serves at the end of the HREF? Thanks! Peter BAgnato ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Basic HTML Question
Oops .. you are right ... ### would leave one ... nothing like wrong answers :) No, you were right. In a string marked for output (within a CFOUTPUT, for example), if you want to use a literal pound sign you can escape it by doubling it. If you placed three pound signs together within a CFOUTPUT, you'd get an error. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Basic HTML Question
It's an anchor, however its not a named anchor, so it links to the top of the page. - Original Message - From: E. Keith Dodd [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Sunday, February 16, 2003 6:24 AM Subject: Re: Basic HTML Question I've used that, however, with a named anchor so go to certain spot on referenced page. Unless a reasonable explanation, looks like is prepared for any anchor--unless I'm missing something, which very possible on a Saturday. E. Keith Dodd Wings of Eagles Services www.wingserv.com - Original Message - From: Peter Bagnato [EMAIL PROTECTED] To: CF-Talk [EMAIL PROTECTED] Sent: Saturday, February 15, 2003 2:47 PM Subject: Basic HTML Question I just inherited a web site from another developer. Several times he is used the following code: cfoutput A HREF=RecordEdit.cfm###header#/A /cfoutput Can anyone explain what purpose the '##' serves at the end of the HREF? Thanks! Peter BAgnato ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=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/unsubscribe.cfm?user=89.70.4
Re: Basic HTML Question
It could be that he uses anchors a lot and typing # at the end of a file name is habitual (though I've never met anyone who used them more often than query strings, being that they're almost mutually exclusive), or it could be the result of a poorly formed multi-file replace in CF Studio. I just inherited a web site from another developer. Several times he is used the following code: cfoutput A HREF=RecordEdit.cfm###header#/A /cfoutput Can anyone explain what purpose the '##' serves at the end of the HREF? Thanks! Peter BAgnato ~~ ~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index. cfm?method=subscribeforumid=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/uns ubscribe.cfm?user=633.558.4 s. isaac dealey954-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=subscribeforumid=4 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. Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Basic HTML Question
It could be that he uses anchors a lot and typing # at the end of a file name is habitual (though I've never met anyone who used them more often than query strings, being that they're almost mutually exclusive), or it could be the result of a poorly formed multi-file replace in CF Studio. URL fragments, used to reference named anchors, and query strings are not mutually exclusive in any respect. You can use either or both within a request. If you use both, the query string is processed by the application server, and the URL fragment is used by the browser to navigate to the portion of the document specified in the fragment. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4