#20105 [Opn]: on php.net why key shorcuts ?
| From: | alindeman@php.net | Date: | Fri, 02 May 2003 00:23:26 +0000 |
| Subject: | #20105 [Opn]: on php.net why key shorcuts ? | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-17198@lists.php.net to get a copy of this message | ||
ID: 20105
Updated by: alindeman@php.net
Reported By: damiencola at wanadoo dot fr
Status: Open
Bug Type: Website problem
Operating System: all
PHP Version: 4.2.3
New Comment:
Any update, goba? Can we close this one?
Previous Comments:
------------------------------------------------------------------------
[2002-10-27 07:52:00] goba@php.net
I am just experimenting with IE Search Bars, and come up with this
simple solution. Drag this link to your favorites/links list in IE and
see what comes up if you click on it.
<a
href="javascript:void(open('http://php.net/searchbar.php','_search'))">PHP.net
Search Bar</a>
If all goes well, this will go live with a news item on the php.net
page tomorrow or today evening (CET).
------------------------------------------------------------------------
[2002-10-27 04:09:14] goba@php.net
As far as I see most of the visitors make use of the "php.net/funcname"
feature to look up functions or search on the site. There are some
shortcuts to make this even easier described on our tips page:
php.net/tips. There a tip is included for IE5 Tools users to access the
PHP functions list very quickly. BTW I am also thinking about releasing
a PHP.net search bar for IE (similar what you see if you press the
search button in IE), and someone also said he is working with IE bars
(similar to Google bar) so if he has some free time, he can add a
PHP.net bar to our toolbox :)
I'll leave this bug report open, so we can track these features...
------------------------------------------------------------------------
[2002-10-26 19:15:37] damiencola at wanadoo dot fr
I knew about forms being accessible by index, but it's easier with name
to understand for those who didn't know about it.
It's possible to put the code right after the closing FORM tag, so the
focus is executed immediatly after the form displays on the page.
As I said, perhaps many people use php.net via this text box, so
perhaps it would be better to have the automatic focus AND the
shortcuts..
Because the shorcuts alone won't help, when this will not be on a news
at the top of the site..
Anyway, you do as you wish and php.net is very well as it is. It was a
suggestion, not even a critic. Have a nice day.
------------------------------------------------------------------------
[2002-10-26 17:00:15] sniper@php.net
reclassified.
------------------------------------------------------------------------
[2002-10-26 13:12:57] msopacua@php.net
To answer the why: because it's convenient.
As for you javascript:
Forms don't need names. They are accessible (and portably even) via
document.forms[n] where n is a number.
I don't think we should explicetely set focus to the search box for a
very simple reason: google is a search engine. php.net is not.
Setting focus in a site-wide header is counter productive, since it is
set once the page is fully loaded. Due to network congestions, you can
be typing in another formbox already and suddenly you're somewhere
else.
There are already features in the site which allow easy access to
functions, like so:
http://www.php.net/var_export
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20105
--
Edit this bug report at http://bugs.php.net/?id=20105&edit=1