Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Code to force-reload page always at the top

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #195198
    havika
    Participant

    On my site here http://www.sigsigtours.eu.pn when I refresh the page after having used the menu links to scroll to different sections of the content, the refreshed page will open at the link I was at last.

    Does anybody know some code, html/css to force the page to load at the top each time it is refreshed? Would really appreciate that.

    I’m a newbie to coding.
    Cheers
    Havi

    #195249
    havika
    Participant

    Thank you guys for taking your time to share your knowledge. I’ll follow your advise.

    Cheers
    Havi

    #259477
    Rajat Pandya
    Participant

    Hello,

    Please apply below code after body tag .

    $(document).ready(function(){
    $(this).scrollTop(0);
    });

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.