DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

back button to top of page

Sort:
You are not authorized to post a reply.





New Around Here





     

    In the DNN software, there is a module or app with a button to return to the top of the page. At the moment I'm using the anchor link to go up to the top of the page... but that's not correct. Would there be another way to do this?






    Veteran Member





      You don;t need a module for that. It should be in a theme.

      On https://www.w3schools.com...js_scroll_to_top.asp there is a how to.

      If you really want it in a module, you could even combine the js/css/html in 1 module ;-) 

      Tjep's digital agencyRegards,
      Tycho de Waard

      Tjep's digital agency
      We just love DNN
      https://www.tjeps.com





      Veteran Member





        Posted By Tycho de Waard (SU) on 1/31/2024 6:44 AM

        You don;t need a module for that. It should be in a theme.

        On https://www.w3schools.com...js_scroll_to_top.asp there is a how to.

        If you really want it in a module, you could even combine the js/css/html in 1 module ;-) 

        I agree. Try not to overthink something like this.  Also, if it's a possibility, I'd suggest making the page smaller (shorter). More pages is better for all kinds of reasons, when compared to a single, long page.  

         






        Advanced Member





          Totally agree with Will! specially nowadays that people visit websites mostly from their mobile devices and they expend less time on a page using their smartphone than on a Desktop or Laptop.

          Ing. Marco Alvarado Gómez MSc | Globalode
          Phone. +506 6049-1880 | WhatsApp. +506 6049-1880 | Email. [email protected]
          Address. Costa Rica (A Pura Vida place!).
          You are not authorized to post a reply.

          These Forums are dedicated to the discussion of DNN Platform.

          For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

          1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
          2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
          3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
          4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
          5. No Flaming or Trolling.
          6. No Profanity, Racism, or Prejudice.
          7. Site Moderators have the final word on approving / removing a thread or post or comment.
          8. English language posting only, please.

          Would you like to help us?

          Awesome! Simply post in the forums using the link below and we'll get you started.

          Get Involved