Having some issue with this script
jQuery(document).ready(function($){
//alert($(".hentry").html());
$('#followMe').click(function(){
$('html, body').animate({ scrollTop: 0 }, 'slow');
});
var fp = $('#followMe');
var p = $('#followMe').position();
$('#followMe').offset(function(){
if{
$(this).position({ top:250 });
$(this).css("display:","block");
}else{
$(this).css("display:","none");
};
});
});
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?
thx
D