ComponentWorld icon indicating copy to clipboard operation
ComponentWorld copied to clipboard

Add JavaScript to force EntryDetail box to scroll down with page

Open bobharner opened this issue 14 years ago • 2 comments

On the Home page, when there is a long list of entries, scrolling down and clicking on an item lower down on the list has no apparent effect -- you have to scroll back up to see the entry detail.

What would be cool is to wrap a component around the entry detail div that uses JavaScript to keep the entry detail in view at all times. Something like http://www.vanvanvans.com/designer (but it would be best if it could be done using Prototype/Scriptaculous so we don't have to add JQuery to the stack).

This could maybe be implemented as a "KeepInView" mixin that could be attached to any component.

bobharner avatar Jul 17 '11 21:07 bobharner

http://jqueryfordesigners.com/fixed-floating-elements/ provides more technical details, although it uses JQuery.

bobharner avatar Aug 13 '11 13:08 bobharner

We've switched to jQuery, so this should be a bit easier now, following the jqueryfordesigners.com example cited above.

bobharner avatar Apr 07 '13 21:04 bobharner