https://bugzilla.wikimedia.org/show_bug.cgi?id=17065

           Summary: onfocus() for the search field
           Product: MediaWiki
           Version: unspecified
          Platform: All
               URL: http://de.wikipedia.org/wiki/Wikipedia:Hauptseite
        OS/Version: All
            Status: NEW
          Keywords: easy
          Severity: enhancement
          Priority: Normal
         Component: Search
        AssignedTo: [email protected]
        ReportedBy: [email protected]


It would be a real enhancement if the cursor inside the search-field is already
blinking when I visit Wikipedia. Then I could start emediately with typing my
request, and would not have to click with my mouse first. This can very easily
be achieved by adding a javascript-code inside the main page of Wikipedia like
this:

<head>
...
<script type="text/javascript">
function cursorblink()
   {
      document.searchform.go.focus();
      return;
   }
</script>
</head>
<body onload="cursorblink()">
...
</body>

Where "searchform" is the NAME (not id) of the HTML-form responsible for
search.

What do you think about that?

Best regards
Reto Pfenninger 
ETH Zürich


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to