+GrizzlyJohn Posted April 17, 2003 Share Posted April 17, 2003 This is something that is just not that big of a deal but just kinda gets me every time I sign in to the geocaching site. Could you please make it so my cursor goes to the user name box when the page displays. I know it is no big deal to click on the box to put my cursor there but it would be one less click several times a day. Hey I am lazy and sometimes have poor aim, what can I say. I will even write the code for you. I know you guys are busy. Here's what to do: In the body tag of the page add: LANGUAGE=javascript onload="return window_onload()" In the <script> section of the page add: function window_onload() { form1.username.focus(); return true; } I think that should do it. Thanks. Link to comment
+Allen_L Posted April 17, 2003 Share Posted April 17, 2003 When I do it I just put something like the following in the <Body> tag. onLoad="document.form1.username.select()" Link to comment
+GrizzlyJohn Posted April 17, 2003 Author Share Posted April 17, 2003 quote:Originally posted by AllenLacy:When I do it I just put something like the following in the <Body> tag. onLoad="document.form1.username.select()" You say tomato, I say tomato. Oh that probably does not make any sense unless you hear it. Sure that code should do the trick also. Just a matter of style and in my case standards I have gotten used to from work. Link to comment
+Bill D (wwh) Posted April 17, 2003 Share Posted April 17, 2003 If you're the only person who uses your computer you might want to choose to stay logged in permanently. Not necessarily a good idea if you're not the only person, though. Bill Link to comment
+Allen_L Posted April 17, 2003 Share Posted April 17, 2003 quote:Originally posted by GrizzlyJohn:You say tomato, I say tomato. Oh that probably does not make any sense unless you hear it. Exactly I didn't mean to imply that it was better just tmtowtdi. for those of you not familiar with Perl that means There's More Than One Way to Do It Link to comment
+GrizzlyJohn Posted April 17, 2003 Author Share Posted April 17, 2003 And I tip my hat to you. Link to comment
Recommended Posts