On 4/8/07, Jeroen Coumans <[EMAIL PROTECTED]> wrote:
Hi, I have a large area at the top of a page which slides out with a toggle. The toggle is at the top of the page, and the area slides out at the top, pushing the toggle down. In order to close it, you have to scroll down, after which the area slides back up. But then, your position on the page is somewhere in the middle, which is quite confusing for our users. I tried to add a scroll function in order to solve it, but I'm not sure what the best solution is. Initiate the scroll after the slide toggle: $('.toggle').click(function() { $('#slideout').slideToggle('slow', function() { $('#slideout').ScrollTo('slow'); }); }); This has an even more confusing effect: your position in the document stays the same, but the slideout area slides up, causing the document to scroll down. Then the ScrollTo kicks in, pushing you to the top. Not good. Attach a scroll right after the slide toggle: $('.toggle').click(function() { $('#slideout').slideToggle('slow').ScrollTo('slow'); }); This is slightly better, but still not good enough. What I'd really like is to first scroll to the top, and then slide up, like this: $('.toggle').click(function() { $('#slideout').ScrollTo('slow').slideToggle('slow'); }); But the slide and the scroll are seemingly initiated at the same time instead of after each other. Putting the slide in the scroll function will disable the sliding (I'm not sure I understand why though). Anybody want to clue me in? Thanks, Best wishes, Jeroen Coumans www.jeroencoumans.nl
Is the effect something like this? http://www.intuit.com/ (Click quicklinks at the top right) If yes, we actually did focus group testing on it specifically. It was pretty controversial with marketing managers raising the exact same issues that you raise here. As a UX designer, I felt confident that users would be fine with it. Results from the Usability studies: Users said, "Wow!" and understood immediately how to see the rest of the page and to close the widget. Results from ClickTrack analysis after the thing launched: Increased click-throughs with no negative side-effects. The end "compromise" was that the marketing folks made it smaller (not as tall) than originally intended. (see here: http://commadot.com/jquery/slideMenu/) Anyway, I would definitely shy away from scrolling the page. It's not the natural action. Did you guys get data saying the users were confused? I hope this is helpful to you. Glen It's not a