Where to put Java script

Started by MXK Racing, April 05, 2017, 10:33:04 AM

Previous topic - Next topic

MXK Racing


I have a JavaScript1.2 script for rotating banners with links.
I dont know where to put it other than between the head markers.
There is also a snipet called the placeholder.

If someone could point me in the right direction.. I would be greatful.

E-Definers Technology

You can put it into the footer part of the page. It make your site faster to load also.

Gluz

You can put the code in a file, then just call that file from your main display file between the HTML head tags with the HTML script tag:
<script type="text/javascript" src="/path/to/your_script.js"></script>

Advertisement: