We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18830
    • 161 Posts
    Quote from: ScottyDelicious at Sep 24, 2006, 10:15 AM

    oops... it was solved while i was coding

    oh well?

    -sD-

    Your solution works for me too, Scotty Deleicious, thank you for your coding. But I prefer the simple solution. wink

    Great community btw.

    Mazso
      • 23703
      • 180 Posts
      I also have skiplinks at the top of my page. They are hardcoded in the template and works with no problems. And I haven’t needed to do anything of the above. href="#content#" works perfectly.

      Just curious why it works for me and not for others. This could be a potential headache in long documents with internal navigation between sections. Is it perhaps an issue with friendly URLs? Maybe that’s why it is working for me since I don’t use friendly URLs?
        • 18830
        • 161 Posts
        Quote from: Pont at Sep 24, 2006, 11:01 AM

        I also have skiplinks at the top of my page. They are hardcoded in the template and works with no problems. And I haven’t needed to do anything of the above. href="#content#" works perfectly.
        ...
        Is it perhaps an issue with friendly URLs? Maybe that’s why it is working for me since I don’t use friendly URLs?

        Yes, Pont. With messy URLs hardcoded anchors links will work.

        Mazso
          • 6726
          • 7,075 Posts
          Quote from: ScottyDelicious at Sep 24, 2006, 10:14 AM

          I think I have a fix for you. this assumes you are using FURLs:

          1. create a new snippet called pageAnchor (or whatever)
          2. paste the following code into it

          Thanks Scotty this will make it even smoother !
            .: COO - Commerce Guys - Community Driven Innovation :.


            MODx est l'outil id
            • 18830
            • 161 Posts
            Oups, take look: http://modxcms.com/forums/index.php?topic=7399.new;topicseen#new

            OpenGeek ist right: Throw out the base href tag of your code - and we don’t need any workaround.

            I’m really sorry: I never paid any attention to this base tag - and never used it before. sad Thanks to everybody for helping.

            Mazso