Avatar of WebStudioWest
WebStudioWest
Flag for United States of America asked on

Spry Accordion Panel Goes Off Screen

The page below uses spry accordion panels which are close to the bottom of the page. So when a panel opens, part of it expands off the bottom of the browser screen so you must scroll to see the entire panel.

Is there a way to scroll the page automatically so the panel is visible?

http://www.healthyoutlookfamilymedicine.com/providers.php


Thanks, Gary
Adobe DreamweaverJavaScriptAJAX

Avatar of undefined
Last Comment
WebStudioWest

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
maeltar

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Eirman

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
WebStudioWest

ASKER
I might be able to accomplish this with CSS or an anchor tag, but I don't think it's worth the hassle. The website I was working on decided to do away with the accordion anyway.

However, the jquery example provided by Maeltar above gave me a simple idea. The example shows a bounding box outline. None of the accordion panels extend beyond the bottom of the outline. This might prompt users to scroll down if information goes beyond the bottom of the screen.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck