I have read a tutorial for this.
It can be done using jQuery.
First of all you need to have the ID of your PageList which is probably gonna be #PageList1
Then just add the style you normally would want to add and then
add another CSS, using the class sticky.
So in case of the second example this would probably look something like this:
.sticky{
position: fixed;
top: 0;
left: 0;
width: 100%;
background: white;
}
Then add the following Script (best in a widget, and put it in the bottom of your blog) (if you already have the jQuery framework, you don't need to add the first line.
What this scipt does is add the class sticky to you pagelist, so it will stick to the top as you scroll down.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type='text/javascript'>
//<![CDATA[
$(window).scroll(function(){
var offset = 0;
var sticky = false;
var top = $(window).scrollTop();
if ($("aside").offset().top < top) {
$("#PageList1").addClass("sticky");
sticky = true;
} else {
$("#PageList1").removeClass("sticky");
}
});
//]]>
</script>