Yes that was the reason.. Thanks!

On Tue, Apr 21, 2015 at 8:40 AM, Randall Leeds <[email protected]> wrote:

> If you inspect the document you will find that Annotator inserts a wrapper
> div. You may need to scroll that instead.
> On Apr 19, 2015 11:13 PM, "Apurva Jalit" <[email protected]> wrote:
>
>> Hello all,
>> I am trying to use scroll top on a web page. It works perfectly fine when
>> annotator is not initialised on the page, but when I initialise annotator
>> on the body of the page, the jquery scroll top does not work. Is there any
>> know reason behind this?
>>
>> Scroll top I am using:
>> $('html, body').animate({
>>         scrollTop: $(element).offset().top
>>     }, 1000);
>>
>> Where element is a html element handler.
>>
>> Thanks,
>> Apurva Jalit
>>
>> _______________________________________________
>> annotator-dev mailing list
>> [email protected]
>> https://lists.okfn.org/mailman/listinfo/annotator-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev
>>
>>
_______________________________________________
annotator-dev mailing list
[email protected]
https://lists.okfn.org/mailman/listinfo/annotator-dev
Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev

Reply via email to