Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Site Bugs / Suggestions
  4. A minor URL weirdness

A minor URL weirdness

Scheduled Pinned Locked Moved Site Bugs / Suggestions
helpphpcombeta-testingquestion
7 Posts 4 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Luc Pattyn
    wrote on last edited by
    #1

    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.

    D P T 3 Replies Last reply
    0
    • L Luc Pattyn

      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.

      D Offline
      D Offline
      DaveAuld
      wrote on last edited by
      #2

      Yep, does the same with me on Chrome.

      Dave Find Me On: Web|Facebook|Twitter|LinkedIn CPRepWatcher now available as Packaged Chrome Extension, visit my articles for link.

      1 Reply Last reply
      0
      • L Luc Pattyn

        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.

        P Offline
        P Offline
        Peter_in_2780
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • L Luc Pattyn

          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.

          T Offline
          T Offline
          Thiru Thirunavukarasu
          wrote on last edited by
          #4

          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.

          L 1 Reply Last reply
          0
          • T Thiru Thirunavukarasu

            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.

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            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.

            T 1 Reply Last reply
            0
            • L Luc Pattyn

              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.

              T Offline
              T Offline
              Thiru Thirunavukarasu
              wrote on last edited by
              #6

              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.

              L 1 Reply Last reply
              0
              • T Thiru Thirunavukarasu

                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.

                L Offline
                L Offline
                Luc Pattyn
                wrote on last edited by
                #7

                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.

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups