• Hello!
    Im building a webshop and when i choose a category in my dropdownmenu. A new page loads and i want the site to scroll down a bit (beacuse I have a picture who is in the way). So I dont want to use a anchor because then I have to do this on all my categories?!

    Can you help me find a way to autoscroll down when page loads?

    mvh
    Johan

Viewing 1 replies (of 1 total)
  • Moderator Marius L. J.

    (@clorith)

    Hi,

    This should be quite doable using something like the scrollTo feature of JavaScript (you’ll need to use JavaScript if you don’t want to use anchor tags).

    I’d recommend anchor tags to ensure compatibility across the board, but I’m wondering why you can’t just have a different design on these pages, if you don’t wish to show the image any way it’s a bit of a waste to spend time loading it in?

Viewing 1 replies (of 1 total)
  • The topic ‘Auto scroll down to content’ is closed to new replies.