0
Welcome Guest! Login
0 items Join Now

Possible to modify totop to go back?

    • nige's Avatar
    • nige
    • Newbie
    • Posts: 17
    • Thanks: 0

    Possible to modify totop to go back?

    Posted 13 years 1 week ago
    • Hi, I'd like to change the default function of the gantry-totop.js script so that it functions like javascript:history.go(-1) as I would find this more useful.

      Thanks in advance.
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Possible to modify totop to go back?

    Posted 13 years 1 week ago
    • There's a flaw in that kind of script because it only reads history. It doesn't care if:

      1. I have cleared my cookies and history.
      2. It's my first visit and i'm given a direct link.

      There are more dynamic scripts than this but i do get your idea though.

      I will pass it on 8)
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG

Time to create page: 0.045 seconds