Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Transition between pages with javascript

    General Discussion
    2
    4
    211
    Loading More Posts
    • 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.
    • D
      danielmachado last edited by danielmachado

      Hey! Is there a function that I can use to change the current page via javascript? Thanks!

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Dear @danielmachado

        have a look here:
        http://laythemeforum.com:4567/search?term=transition&in=titlesposts
        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • D
          danielmachado last edited by danielmachado

          Hey @mariusjopen!

          Sorry! I did not express myself correctly. The laytheme its a single page app.
          I am asking if there is any function that allows you to make the requests to switch to a specific page. The documentation only shows the events. When i use normal links the whole site reloads...

          Thanks again!

          1 Reply Last reply Reply Quote 0
          • mariusjopen
            mariusjopen Global Moderator last edited by

            Dear @danielmachado
            the whole site does not reload. Only the content gets changes. The navigation for example stays the same.

            The switch is happening in javascript.
            If you open the inspector in Google Chrome, you can see that there is no hard page refresh.

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Before you post

            Use the Search Feature. Maybe there is already a solution to your issue.

            1. Update Lay Theme and all Lay Theme Addons
            2. Disable all Plugins
            3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
            4. Now see if your problem solved itself
            5. Go here, see if your problem is listed here:
            Troubleshooting

            When you post:
            1. Post a link to where the problem is
            2. If the problem is difficult to explain, post screenshots / link to a video to explain it

            Thanks!

            Online Users

            M

            Recent Topics

            • M

              komische boxen auf der Website

            • S

              Theme crashed - because of Polylang?

            • J

              Split Screen just on front page / subpages without the split?

            • Y

              image quality dropped

            laytheme.com