Script to display div according to position

Having some issue with this script


		$('html, body').animate({ scrollTop: 0 }, 'slow');
	var fp = $('#followMe');
	var p = $('#followMe').position();
			$(this).position({ top:250 });


this was working until i added the bit to affect the “followMe” div by position.
i want it to not display until the user has scrolled down about 250px or so.
Can i get some help correcting it?

What console errors does the browser give?

ha, sorry will have to go back an re-create it later as have been tweaking code while waiting.
figured it was common enough that someone would know how to do it.
will post again later

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.