[pmwiki-users] Automatically Change Focus to Textarea When Editing

Max Pfleger max6166 at hotmail.com
Wed Feb 6 21:03:43 CST 2008

Thanks very much for the help. Both methods worked.

Perhaps the focus=1 method might be a good candidate as an option in the config file? 

- Max

Petko Yotov wrote:
> On Thursday 07 February 2008, Hans wrote:
>> Why is  (:input e_textarea focus=1:) not in the default EditForm?
> It shouldn't be unless there is a demonstrated necessity for it to be, for 
> many users. And here, there may be some inconveniences:
> 1. Browsers do not act the same way if the focussed textarea contains more 
> text and scrollbars appear. Some browsers place the cursor at the beginning, 
> others at the end, others scroll down and only the last 20 lines of the 
> edited text are immediately visible.
> 2. Some pmwikis have their previews before the edit form, like in MediaWiki. 
> If a form element is autofocussed, the whole page will scroll down to the 
> form thus hiding the preview.
> Thanks,
> Petko
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Need to know the score, the latest news, or you need your Hotmail®-get your "fix".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20080206/b9588cf2/attachment.html 

More information about the pmwiki-users mailing list