The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> function stopRKey(evt) { var evt = (evt) ?.... blah blah blah, rookie needing help with cub scout web page
clardae2
post Apr 19 2019, 05:16 PM
Post #1





Group: Members
Posts: 2
Joined: 19-April 19
Member No.: 26,881



I'm new to HTML coding as I jumped into our cub scout pack website and need some help.
I commented out a few outdated items in the cPanel domain host; but then this error code appeared at the top of the page:

function stopRKey(evt) { var evt = (evt) ? evt : ((event) ? event : null); var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null); if ((evt.keyCode == 13) && ((node.type=="text") || (node.type=="password") || (node.type=="email") || (node.type=="tel"))) {return false;} } document.onkeypress = stopRKey;

I have no clue what most of that means.

Also - the index.php file calls up a header.php file; but I an not able to comment out tabs I'd like to eliminate - can't even change the words in the tabs that are text-based.

site is www.cubscoutpack99.com

This post has been edited by clardae2: Apr 19 2019, 05:17 PM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
clardae2
post Apr 19 2019, 07:02 PM
Post #2





Group: Members
Posts: 2
Joined: 19-April 19
Member No.: 26,881



I fixed my issue - thanks
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th March 2024 - 11:57 PM