The problem is that some of your content is longer than others and the
bottom of the window gets pulled up when the longer content closes. Try
adding a bit of padding below your content (a couple hundred pixels).

On Tue, Dec 9, 2008 at 6:14 PM, jbmoore (via Nabble) <
[EMAIL PROTECTED]<[EMAIL PROTECTED]>
> wrote:

>
> New to MooTools and really was attracted to the accordion plugin.  I
> used the exact code in the demo and just replaced the "text" with a
> table. (and some color styles) Otherwise did not change any code.
> (downloaded the latest core and  more.   The tables vary from about 6
> to 20 rows so some tables do bleed below the fold of the browser
> viewport.
>
> The problem I'm seeing and think will be disconcerting to a user is
> that under certain conditions, when you click certain accordion
> elements, the table  "scrolls up" so the clicked element (which is a
> statement) scrolls out of sight..
>
> You can see the effect here.. (tested in FireFox 3 on Mac OSX -
> 1440x900 resolution and IE7 on Windows XP)
>
> http://www.sonicwebtech.com/paypalestimate.html
>
> As a demo click the following statements after it loads..
>
> 1) Scroll down so you can see all of the lower statements after the
> "Company and ..."
> 2) CLICK the statement "We are not sure what PayPal solution is best
> for our needs."
> 3) For me the statement now scrolls "UP" off the browser viewport.
>
> I would have expected the statement to stay in it's current location
> and the table to open "down" .
>
> Hopefully you see what I mean..
>
> If so, any suggestions on how to prevent this behavior..
>
> Thank you...
>
> John..
>
>
> ------------------------------
>  View message @
> http://n2.nabble.com/Accordion---scrolls-up-instead-of-down-tp1636986p1636986.html
> To start a new topic under MooTools Users, email
> [EMAIL PROTECTED]<[EMAIL PROTECTED]>
> To unsubscribe from MooTools Users, click here< (link removed) >.
>
>
>


-----
The MooTools Tutorial:  http://www.mootorial.com www.mootorial.com 
CNET Clientside:  http://clientside.cnet.com clientside.cnet.com 
-- 
View this message in context: 
http://n2.nabble.com/Accordion---scrolls-up-instead-of-down-tp1636986p1637015.html
Sent from the MooTools Users mailing list archive at Nabble.com.

Reply via email to