Hmm... ok... It is still behaving strange for me..
Let me be clear on the correct sequence to produce the effect.
1) Load the page fresh.
2) Scroll down so that the "Company Information" statement and table
has scrolled UP out of view and you can only see the "checkbox"
statements. (This is important, and IMO would be very likely because
the user will want to see all of the statements to review)
3) Click the FIRST statement "We are not sure what PayPal solution is
best for our needs."
4) For me it now scrolls UP leaving me to see only to see the bottom
of the exposed table.
The user has to now scroll up to see the beginning of that table and
that clicked statement.
I "think" what is happening is that the clicked statement scrolls UP
to the previously active statement which is UP out of view. This is
fine as a start, and makes sense, but I think there needs to be a
check that the "active" toggler element is moved INTO the viewport
at some point in the process.
If you have a chance to try this again, that would be appreciated..
Thanks for replying..
John..
On Dec 10, 11:46 am, nutron <anut...@...> wrote:
> It looks find to me (FF3, OSX).
>
> On Wed, Dec 10, 2008 at 11:35 AM, jbmoore (via Nabble) <
>> >http://n2.nabble.com/Accordion---scrolls-up-instead-of-down-tp1636986...
>
>
> > wrote:
>
> > Thanks for the reply...
>
> > I thought I posted this already, but I guess not...
>
> > I added a LOT of space where I thought you indicated and that does not
> > seem to help.. If you wouldn't mind checking that link again you can
> > see my changes and that the effect remains..
>
> > John...
>
> > ------------------------------
> > View message @> > To start a new topic under MooTools Users, email
> > To unsubscribe from MooTools Users, click here< (link removed) >.
>
> -----
> The MooTools Tutorial: http://www.mootorial.comwww.mootorial.com
> CNET Clientside: http://clientside.cnet.comclientside.cnet.com
> --
> View this message in context:http://n2.nabble.com/Accordion---scrolls-up-instead-of-down-tp1636986...
> Sent from the MooTools Users mailing list archive at Nabble.com.
Ok.. I understand what you are saying..
But..<smile>
The question still is, but now reworded: How does one fix the
situation where of the page height changing (increasing) causes the
undesirable "effect" that the selected statement is scrolling up out
of sight?
Idea: Is there a way to place an "anchor" above each statement
(toggler) and have the function like:
function jumpToAnchor(arg_sAnchor) {
window.location.hash= arg_sAnchor;
}
triggered.. where "arg_sAnchor" is dynamically set for each
statement..??
(Not familiar enough with MooTools to understand how to hack this
in...)
Or.. do you have another suggestion..??
Thank you for your help..
John...
On Dec 11, 3:58 pm, nutron <anut...@...> wrote:
> On Thu, Dec 11, 2008 at 1:44 PM, jbmoore (via Nabble) <
> This is how accordion works. If you have a big item open and you expose a
> smaller one, the page size shrinks:
> item 1: 20px high
> item 2: 100px
>
> page height excluding either one: 200px.
>
> state 1: item 2 is hidden: page height: 220px
> state 2: item 1 is hidden: page height: 300px
>
> Because the page height changes if you are all the way at the bottom of the
> page it will appear to scroll up, though really what is happening is that
> the page is getting shorter.
>
> > To unsubscribe from MooTools Users, click here< (link removed) >.
>
> -----
> The MooTools Tutorial: http://www.mootorial.comwww.mootorial.com
> CNET Clientside: http://clientside.cnet.comclientside.cnet.com
> --
> View this message in context:http://n2.nabble.com/Accordion---scrolls-up-instead-of-down-tp1636986...
> Sent from the MooTools Users mailing list archive at Nabble.com.
-----
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-tp1636986p1657671.html
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.
-----
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-tp1636986p1657792.html
-----
View this message in context: http://n2.nabble.com/Accordion---scrolls-up-instead-of-down-tp1636986p1657973.html
Here's the solution. Happy Coding!
http://www.webdeveloper.com/forum/showthread.php?p=960200#post960200
-----
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-tp1636986p1659468.html