Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 Suggestion for pop_profile.asp
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

pweighill
Junior Member

United Kingdom
453 Posts

Posted - 20 August 2002 :  07:31:18  Show Profile

When I go to look at my profile and the enter you password screen is shown.

It would nice if the focus was set to the username field if you were not logged on and to the password field if you are.

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 20 August 2002 :  07:39:49  Show Profile
on line #772, insert the following:

				if strDBNTUserName <> "" then
Response.Write " <script language=""JavaScript"" type=""text/javascript"">document.goEdit.Password.focus();</script>" & vbNewLine
else
Response.Write " <script language=""JavaScript"" type=""text/javascript"">document.goEdit.Name.focus();</script>" & vbNewLine
end if


then on line #737 add the following to the form tag:

name=""goEdit""
Go to Top of Page

pweighill
Junior Member

United Kingdom
453 Posts

Posted - 20 August 2002 :  07:42:42  Show Profile
Thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.17 seconds. Powered By: Snitz Forums 2000 Version 3.4.07