Last modified: 2009-01-18 13:13:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T19065, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 17065 - onfocus() for the search field
onfocus() for the search field
Status: RESOLVED DUPLICATE of bug 1864
Product: MediaWiki
Classification: Unclassified
Search (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://de.wikipedia.org/wiki/Wikipedi...
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-18 13:11 UTC by Reto Pfenninger
Modified: 2009-01-18 13:13 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Reto Pfenninger 2009-01-18 13:11:07 UTC
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
Comment 1 jopiswezggzmw 2009-01-18 13:13:47 UTC

*** This bug has been marked as a duplicate of bug 1864 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links