I’ve created full-page tab panels for a project rather than using separate pages. By default, when you scroll down on the open tab panel and then click to another tab it lands at the same scrolled spot on the panel as the previously viewed tab (rather than starting at the top).
I’d like to force each panel to open at the top when a tab button is clicked.
I’m having the same problem with my site. Is there any chance you could modify this code to work for my site? I tried adding it and it didn’t work. Thanks!
Here is my site’s published link: LINK
Here is my site Read-Only: LINK
This custom code doesn’t seem to werk when I add it to my website.
Please have a look at the different tabs of ‘portfolio’, ‘Werkwijze’ and ‘Tarieven’
When you click on one of the tabs, I would like the view to go straight back to the top.