On Feb 1, 10:29 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote:
> Hi lihao
>
> >Is there any method under Firefox that the caret and the selected text
> >can automatically jump to the center of the textarea so that people
> >dont need to scroll down/up to find it??
>
> Not that I know of, but you could force the scroll with jQuery, if you
> want, this plugin can save you some troubles:
> jQuery.ScrollTo:http://flesler.blogspot.com/2007/10/jqueryscrollto.html
>
> Is the textarea bigger than a regular screen ? ( 600px ? ) If it's
> not, you could just center the screen on the textarea.
> If it's even bigger, then you need some implement some sort of wise
> scrolling, based in the position of the caret
>
> Cheers
> Ariel Flesler

Hi, Ariel:

Thank you so much for your link.. have to say, your work is so cool
and I will definitely give it a try. :- )

Best regards,
lihao


Reply via email to