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

Hans design at flutesong.net
Mon Feb 7 11:49:33 CST 2005


Monday, February 7, 2005, 5:27:33 PM, Patrick wrote:
> I haven't found a good (browser-independent) mechanism for getting
> the cursor into the password field.

tabindex='1' in the input tag of the form:

  <p><b>Password required</b></p>
      <form name='authform' action='{$_SERVER['REQUEST_URI']}' method='post'>
        Password: <input tabindex='1' type='password' name='authpw' value='' />
        <input type='submit' value='OK' /></form>

and in the skin template:

   <body onLoad="self.focus(); document.authform.authpw.focus()" >

This work in Firefox, IE6 and maybe other browsers.

Best, 
~Hans                           




More information about the pmwiki-users mailing list