[pmwiki-users] Request for ideas -- edit page improvements

Patrick R. Michaud pmichaud at pobox.com
Mon Feb 14 11:05:05 CST 2005


On Mon, Feb 07, 2005 at 09:43:02PM +0000, Hans wrote:
> Monday, February 7, 2005, 7:52:14 PM, Patrick wrote:
> > I think my point is that there ought to be a way in HTML/CSS to get
> > the cursor into a form box without having to muck with the <body> tag
> > at all.  But if there's not and it's really important to fix, I'll see
> > about coming up with a workaround.  However, the workaround will ultimately
> > require skins to redefine their <body> tags in order for it to work.
> 
> In order to get the focus on a form box it needs a bit of javascript,
> which the <body onload='...' > tag delivers. But for our purpose it
> does not need to be in the body tag, it just needs to be after the form.

Excellent!  I've added this to pmwiki.org (and it works in Firefox),
and it'll appear in the beta22 distribution.

(I think I might've indicated earlier that it would make it into beta21,
but it didn't.  Sorry about that.)

Pm



More information about the pmwiki-users mailing list