How would you change an elements css position to fixed without resetting the current scroll position?
Using script to change position:
$('.bigwidth').click(function() {
$(this).css('position','fixed');
})
this example: http://jsfiddle.net/7gRZJ
if you scroll the element, then click on the element, it will change it to fixed and reset scroll position..
The desired behavior is to change it to fixed while retaining the current scroll position.