To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 9808
9807  |  9809
Subject: 
Suggestion: focus
Newsgroups: 
lugnet.admin.general
Date: 
Tue, 4 Dec 2001 06:16:57 GMT
Viewed: 
140 times
  
Could you please add auto-focus to the search fields at the top of most of
pages? It is very convenient and I have shown an example of the code
required below.

Thanks, Dwayne

------------
<html><head><script>
<!--
function sf(){document.f.q.focus();}
// -->
</script>
</head><body onLoad=sf()>
<form action="do-it" name=f>
<input name=q value="">
<input type=submit>
</form></body></html>



Message has 1 Reply:
  Re: Suggestion: focus
 
(...) A nice suggestion, and it works well (for example) in Google's entry page (URL) but it wouldn't be a good default here, as it would disable scrolling with the up and down arrow keys when you enter a page, and that would really suck. --Todd (23 years ago, 4-Dec-01, to lugnet.admin.general)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR