pyrocms/pyrocms — comment on commit c0cc97a3c78534e436b269fc374ee5789c48ce78
File:  line 0
By jerel:

Now that I merged this in I see that it still has some issues yet: http://dl.dropbox.com/u/37982750/sUnT5Pj/right-pane.png http://dl.dropbox.com/u/37982750/sUnT5Pj/right-pane-2.png And it goes totally ape on smaller screens because you set the left position in the css file instead of dynamically: http://dl.dropbox.com/u/37982750/sUnT5Pj/pages-pane.png

Sticking this inside a scroll + resize would be a start and doesn't require you to modify the view:

var left_pane = $('.one_half:not(.last)').offset();
var right_pane = $('.one_half.last').offset();
$('.one_half.last').css( { 'position': 'fixed',
'z-index': 1000,
'top': left_pane.top,
'left': right_pane.left } );

However the code above doesn't account for flowing over the footer if the screen is a little short and it doesn't allow it to scroll up behind the header on short screens too