bigspotteddog/ScrollToFixed — Issue #12: How to remove
Author: Roktaal
Created: 2012-01-30 16:14:09+00:00
State: open

Hello,
I have an issue where an existing website (Can't change it directly) is using ScrollToFixed to move an element on the page. I am creating a script that will, among other things, stop or prevent that element from moving.
Initialization code:
$j('#large_sidebar').scrollToFixed({
marginTop: 18,
preFixed: function() { $j(this).addClass('fixed'); },
postFixed: function() { $j(this).removeClass('fixed'); }
});

...

I tried with
$j('#large_sidebar').scrollToFixed({});
and..
$j('#large_sidebar').scrollToFixed();
but it doesn't have any effect.

Is it possible to remove the .scrollToFixed() once it is already added with another command since I can't edit the source?