Forums / Templates, Stylesheets, Page Layout / stop cursor from landing in top field on contact form

stop cursor from landing in top field on contact form

Views: 1,122

Results 1 to 5 of 5
23 Dec 2013, 8:55 AM
#1
cjsmiff avatar

cjsmiff

Zen Follower

Join Date:
Jul 2006
Location:
UK
Posts:
170
Plugin Contributions:
0

stop cursor from landing in top field on contact form

Hi,

How do I stop the mouse cursor from landing in top field on contact form? My form is quite a way down the page so when the page loads it loads/opens half way down the page and doesn't show the top part of the website because the cursor is landing in the top field of the form (boohoo!).

http://www.rugscentre.co.uk/contact_us.html

Any suggestions most welcome please.

Merry Christmas! :smile:

23 Dec 2013, 10:16 AM
#3
cjsmiff avatar

cjsmiff

Zen Follower

Join Date:
Jul 2006
Location:
UK
Posts:
170
Plugin Contributions:
0

Re: stop cursor from landing in top field on contact form

cvhainb:

Try this
http://www.htmlcodetutorial.com/linking/_A_NAME.html

Thanks, I'll investigate further after Christmas.

Have a good one!

23 Dec 2013, 12:24 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,110
Plugin Contributions:
56

Re: stop cursor from landing in top field on contact form

If you don't want the cursor auto-positioned in the "Contact Us" form, you can either (a) delete /includes/modules/pages/contact_us/on_load_main.js or (b) rename that file to something like on_load_main.js.noload so that it won't load.

Simply changing the file-extension to something other than .js is all it takes for the file to no longer be automatically loaded.

23 Dec 2013, 1:07 PM
#5
cjsmiff avatar

cjsmiff

Zen Follower

Join Date:
Jul 2006
Location:
UK
Posts:
170
Plugin Contributions:
0

Re: stop cursor from landing in top field on contact form

lat9:

If you don't want the cursor auto-positioned in the "Contact Us" form, you can either (a) delete /includes/modules/pages/contact_us/on_load_main.js or (b) rename that file to something like on_load_main.js.noload so that it won't load.

Simply changing the file-extension to something other than .js is all it takes for the file to no longer be automatically loaded.

That's it!

lat9 you are now my new hero! Thank you soooo much.

Have a fabulous Christmas & New Year!
:D