Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter strofe

    (@strofe)

    I have a website consisting of 2000 pages and want a “back” command for going back to a recently visited page on that website. I thought that was a very common feature of a lot of websites that have more than one page.

    It seems like Javascript is a bad choice, yes. At least, the Javascript command I’m using doesn’t work.

    Thread Starter strofe

    (@strofe)

    Thank you. No, that command doesn’t work either. I had tried it before:

    <button onclick="goBack()">Go Back</button>
    
    <script>
     function goBack() {
         window.history.back();
     }
    </script>

    These are the other commands I have tried, but which don’t work:

    <a href="javascript:history.go(-1)">←Back</a>

    href="javascript:javascript:history.go(-1)">←Back</a>

    <a href="javascript:history.go(-1)" onMouseOver="self.status=document.referrer;return true">Go Back</a>

    <input type="button" value="Previous Page" onclick="goBack()">
    
    <script>
    function goBack() {
    window.history.back()
    }
    </script>
    Thread Starter strofe

    (@strofe)

    I’m continuing this thread, because now I have a similar problem. I’m using the “Hide Pages” plug-in by Peter Coughlin, which allows me to hide pages from the Top Menu. I have now reached 1,275 pages on my website, and new pages that I am adding aren’t turning up neither on the Top Menu nor in the “Hide Pages” register. It seems to me that I have reached a new limit somewhere. I need to add a few hundred pages more and would be happy if someone was able to fix this problem.

    Thread Starter strofe

    (@strofe)

    I tried to put all the pages I wanted off the top menu in another menu, but it didn’t work. Contacting my host, HostGator, they found out that a limit indeed had been reached for the “max_input_vars” setting for this package’s PHP scripts, and they increased it from 1000 to 5000. So, now it functions, and I am happy!

Viewing 4 replies - 1 through 4 (of 4 total)