Float banners

Review Request #2133 — Created Feb. 18, 2011 and submitted

Information

Review Board

Reviewers

This update adds a class 'float-element' that can be used to float elements at the top or bottom of the screen if they are scrolled off-screen.

If you don't want an element to float everywhere on the screen you can add the 'float-element-container' class to an element wrapping the 'float-element' and it will only float while it is within the container.
Tested visually in Opera and Chrome (OS X).
MA
chipx86
  1. Looks like a good start. The next thing to work on is confining a review banner within a review box. They should never go outside of it. The idea being that as you're reviewing something, and scrolling around within the box, you'll see the banner, but not if you, say, jump up to the top of the review request.
  2. 
      
MA
MA
MA
Review request changed
Change Summary:
Updated the floating elements to maintain their size while floating and to always be on top (z-index:999).
Screenshots:
Above screen, but outside of box (hidden)
Floating within box