[jQuery] Re: Firefox: how to center the selected text in textarea

2008-02-08 Thread [EMAIL PROTECTED]
Hi, Ariel: Thank you so much for your nice suggestions. : ) On Feb 6, 10:52 pm, Ariel Flesler <[EMAIL PROTECTED]> wrote: > Hey lihao > > First, let me point out a few small things: > > At the beggining you typed 'test' once instead of 'text'. I'm sure > it's just a typo of the post. You should r

[jQuery] Re: Firefox: how to center the selected text in textarea

2008-02-06 Thread Ariel Flesler
Hey lihao First, let me point out a few small things: At the beggining you typed 'test' once instead of 'text'. I'm sure it's just a typo of the post. You should remove the 'form' from the selector, it will work faster. Then.. you are scrolling the textarea itself ? that's nice, never thought of

[jQuery] Re: Firefox: how to center the selected text in textarea

2008-02-06 Thread [EMAIL PROTECTED]
On Feb 5, 8:06 am, Ariel Flesler <[EMAIL PROTECTED]> wrote: > Hi Lihao, I assume 550 is width and height so it's a squared textarea. > IMO 550 fits on any screen ( fits on 800x600 ). > You could simply scroll to the textarea and leave a gap below. You > could add a margin to the textarea and set t

[jQuery] Re: Firefox: how to center the selected text in textarea

2008-02-05 Thread Ariel Flesler
Hi Lihao, I assume 550 is width and height so it's a squared textarea. IMO 550 fits on any screen ( fits on 800x600 ). You could simply scroll to the textarea and leave a gap below. You could add a margin to the textarea and set the option 'margin' to true, will it stop when it reaches the margin.

[jQuery] Re: Firefox: how to center the selected text in textarea

2008-02-05 Thread [EMAIL PROTECTED]
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 cou

[jQuery] Re: Firefox: how to center the selected text in textarea

2008-02-04 Thread [EMAIL PROTECTED]
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 cou

[jQuery] Re: Firefox: how to center the selected text in textarea

2008-02-01 Thread Ariel Flesler
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 so