Thread Like Summary
Gizmo
Total Likes: 1
Original Post (Thread Starter)
by Ruben
Ruben
Looking at this to try.
It requires two code snippets.
I goto html includes
One in the head tag which is obvious.
The second script is supposed to be placed just after the body tag.

Would that be body on load?
Or what.

Or do I need to edit a template.
Liked Replies
by isaac
isaac
Body Onload Event Attributes
This function will be put in the body onload event tag and must be valid JavaScript. Normally this is left blank. However, if you have a special case that requires this, you can specify it here.

Example:
Code
<body onload="myFunction()">
An explanation of the HTML onload event attribute can be found here
https://www.w3schools.com/jsref/event_onload.asp



Header Insert For All Pages
Use for meta tags, JavaScript, analytics code, etc. This will always be inserted in the <head> section.

Example Code:
Code
<meta name="robots" content="follow">
<meta name="keywords" content="forum,community">
<!-- ANALYTICS/ADS CODE - Global site tag -->
<script>...</script>
Description meta tags should be placed within the section below.



Header Insert When Not Displaying a Topic
This will be the default description used for any page that is not a topic.

Example Code:
Code
<meta name="description" content="Our members enjoy discussing things. Come see what all the talk is about.">
For SEO purposes, topic pages automatically generate their own description meta tags.



Default Header
This is shown at the top of every page. It is displayed when the <body> element begins. HTML and PHP allowed.

Example Code:
Code
<!-- HEADER START -->
<img src="https://www.example.com/images/logo.png" alt="Example Name" title="Our Slogan">
<!-- HEADER END -->
<!-- AD BANNER CODE FOR HEADER -->



Default Footer
This is shown at the bottom of every page. It is displayed just before the closing </body> element. HTML and PHP allowed.

Example Code:
Code
<!-- AD BANNER CODE FOR FOOTER -->
<!-- FOOTER START -->
<center>Copyright by Example Website Name</center>
<!-- FOOTER END --> 
1 member likes this
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
2 members (Havenofsobriety, rootman), 624 guests, and 106 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)