Streaming live at 10am (PST)

How to force scrolling?


Scenario: I built pseudo accordions for footer content for tablet (and smaller) layouts. On the bottom-most accordion (which is at the very bottom of the page), I added an in-page link pointing to an empty section below it (in effort to force the page to auto-scroll down so the expanded accordion content is visible). This worked just fine in preview, but the scrolling doesn't happen in the published version.

Anyone have a solution for this that would work in both preview and published version (i.e. when user clicks something that expands, auto-scrolling occurs as needed so the expanded content is in view)?

Here is a link to my preview (this is where the in-page linking strategy works; but it doesn't when pub'd)


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.