A minor URL weirdness
-
I wanted to see this page (it happens to be a T/T page): http://www.codeproject.com/Tips/108316/32-Bit-or-64-bit-OS.aspx[^] Whenever I enter that URL in a browser (tried FF3.6.9 and Chrome), I get the page as expected; however it immediately then scrolls from the top to "Alternate 2", and the URL bar changes to
http://www.codeproject.com/Tips/108316/32-Bit-or-64-bit-OS.aspx#alternate2
This is not what I expect or want. :wtf: PS: I also tried IE7 (which I only use when other browsers give me a problem) and that one has a different weirdness; it does not scroll, instead it gives an error dialog stating A run-time error has occured. Line 2325. 'AttControl' is undefined.Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
I wanted to see this page (it happens to be a T/T page): http://www.codeproject.com/Tips/108316/32-Bit-or-64-bit-OS.aspx[^] Whenever I enter that URL in a browser (tried FF3.6.9 and Chrome), I get the page as expected; however it immediately then scrolls from the top to "Alternate 2", and the URL bar changes to
http://www.codeproject.com/Tips/108316/32-Bit-or-64-bit-OS.aspx#alternate2
This is not what I expect or want. :wtf: PS: I also tried IE7 (which I only use when other browsers give me a problem) and that one has a different weirdness; it does not scroll, instead it gives an error dialog stating A run-time error has occured. Line 2325. 'AttControl' is undefined.Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
I wanted to see this page (it happens to be a T/T page): http://www.codeproject.com/Tips/108316/32-Bit-or-64-bit-OS.aspx[^] Whenever I enter that URL in a browser (tried FF3.6.9 and Chrome), I get the page as expected; however it immediately then scrolls from the top to "Alternate 2", and the URL bar changes to
http://www.codeproject.com/Tips/108316/32-Bit-or-64-bit-OS.aspx#alternate2
This is not what I expect or want. :wtf: PS: I also tried IE7 (which I only use when other browsers give me a problem) and that one has a different weirdness; it does not scroll, instead it gives an error dialog stating A run-time error has occured. Line 2325. 'AttControl' is undefined.Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
Does it for me too in FF 3.6 and Chrome 6.0. A possible clue for the hamsters: Hitting the back button goes to the top of the page (where I'd have expected to go the first time). [a final check before posting] Weirder and weirder. That only occurs in FF. Cheers, Peter
Software rusts. Simon Stephenson, ca 1994.
-
I wanted to see this page (it happens to be a T/T page): http://www.codeproject.com/Tips/108316/32-Bit-or-64-bit-OS.aspx[^] Whenever I enter that URL in a browser (tried FF3.6.9 and Chrome), I get the page as expected; however it immediately then scrolls from the top to "Alternate 2", and the URL bar changes to
http://www.codeproject.com/Tips/108316/32-Bit-or-64-bit-OS.aspx#alternate2
This is not what I expect or want. :wtf: PS: I also tried IE7 (which I only use when other browsers give me a problem) and that one has a different weirdness; it does not scroll, instead it gives an error dialog stating A run-time error has occured. Line 2325. 'AttControl' is undefined.Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
That's because that link refers to the specific alternate you're being navigated to. Try this instead: http://www.codeproject.com/Tips/107866/32-Bit-or-64-bit-OS.aspx[^]. This is the permalink to the original tip/trick. Notice the different ids in the URL.
-
That's because that link refers to the specific alternate you're being navigated to. Try this instead: http://www.codeproject.com/Tips/107866/32-Bit-or-64-bit-OS.aspx[^]. This is the permalink to the original tip/trick. Notice the different ids in the URL.
Thanks. I see what you are saying; I hadn't noticed the number changed in the middle, and must admit I find it rather confusing. So it boils down to this: there is one way to get the original T/T: http://www.codeproject.com/Tips/107866/32-Bit-or-64-bit-OS.aspx and there are three ways to get to alternate2: http://www.codeproject.com/Tips/107866/32-Bit-or-64-bit-OS.aspx#alternate2 http://www.codeproject.com/Tips/108316/32-Bit-or-64-bit-OS.aspx#alternate2 http://www.codeproject.com/Tips/108316/32-Bit-or-64-bit-OS.aspx (this one does a little redirect) Hmm. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
-
Thanks. I see what you are saying; I hadn't noticed the number changed in the middle, and must admit I find it rather confusing. So it boils down to this: there is one way to get the original T/T: http://www.codeproject.com/Tips/107866/32-Bit-or-64-bit-OS.aspx and there are three ways to get to alternate2: http://www.codeproject.com/Tips/107866/32-Bit-or-64-bit-OS.aspx#alternate2 http://www.codeproject.com/Tips/108316/32-Bit-or-64-bit-OS.aspx#alternate2 http://www.codeproject.com/Tips/108316/32-Bit-or-64-bit-OS.aspx (this one does a little redirect) Hmm. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.
Correct but the last one is the only true permalink. The first could go to different alternates depending on the their sort order (recent, top rated). The second one will always transform to the third.
-
Correct but the last one is the only true permalink. The first could go to different alternates depending on the their sort order (recent, top rated). The second one will always transform to the third.
OK, it starts to make sense to me now. And it led to a fourth way to get the alternate: http://www.codeproject.com/Tips/107866/32-Bit-or-64-bit-OS.aspx?tab=mostrecent#alternate1 I realize some of the URLs might fail to find the same alternate when some votes would get added. Thanks. :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.