[jQuery] Re: smartposition - a scrolling detection problem.

2008-04-05 Thread Sam Sherlock
I have only had a look round at the code I have in a wordpress install with k2, I have not upgraded either since 2.5 came out. Make sure you have this somewhere jQuery(document).scroll(function() { smartPosition('.configstuff') }); possibly the k2 jquery pack includes dimensions plugin or

[jQuery] Re: smartposition - a scrolling detection problem.

2008-04-05 Thread Brad
Okay. I figured it out. Since smartPosition was tracking the moving div, and since the moving div was always in the same place after the initial switch, the calculations weren't returning the div upon scroll up. I changed the smartPosition param to #content-area, which was a parent of the

[jQuery] Re: smartposition - a scrolling detection problem.

2008-04-05 Thread Brad
I do have that in the footer of my page. To be exact it says: jQuery(document).ready( function() { }); jQuery(window).scroll( function(){ smartPosition('#post- navigation'); }); The smartPosition param tells it which ID to track in the DOM. Thanks for the reply! On Apr 5, 5:17 pm, Sam