Collapse not returning to target if scrolled beyond view-able area
-
Hi,
Firstly, thank you for great free plugin.
My page design is that I will have considerable content above and below the text to expand. As such, the content to expand/collapse will be somewhere in the middle of the page. I will show an excerpt of the content with a ‘read more’ prompt to expand. The expanded content will in most cases fill the view-able area so that the target will likely be off the screen. The prompt to collapse the text will be at the bottom of the expanded text. The wanted behavior is that when the user clicks the prompt to collapse the text, then they will be returned to the target.
Reading the documentation, I found the best fit was “A roll-your-own example that places the trigger below the target”.
My issue is that when I click the prompt to collapse the text, the target is not being brought back into the view-able area. Rather, the page content is being pushed up, resulting in some of the content being skipped-over (missed by the viewer).
I’ve tried numerous examples from the documentation but no success. As such, I’ve now simplified the page content and returned the code to be same as “A roll-your-own example that places the trigger below the target”. I’ve included a link to the page for you to review.
Thank you for your assistance.
Regards,
SeanThe page I need help with: [log in to see the link]
- The topic ‘Collapse not returning to target if scrolled beyond view-able area’ is closed to new replies.