Check  http://www.programmingtalk.com/showthread.php?p=163088#post163088 this
solution out . Its not the solution i was exactly wanting, but it does
"work" for now. I really am looking for a solution built into the Moo code.


cesarcesar wrote:
> 
> @jbmoore - 
> 
> I have posted my own topic at
> http://www.mooforum.net/help12/accordion-sliding-screen-top-open-t918.html#p2941
> if you want to follow it also. I will report anything i find as well.
> 
> 
> jbmoore 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..
>> 
>> 
> 
> 


-----

Cesar Villaca
http://www.cesarvillaca.com http://www.cesarvillaca.com 
-- 
View this message in context: 
http://n2.nabble.com/Accordion---scrolls-up-instead-of-down-tp1636986p1657973.html
Sent from the MooTools Users mailing list archive at Nabble.com.

Reply via email to