Skip to main content

JavaScript code embedd in the <header> tag

More
12 years 6 months ago #147797 by Shulha
Hello there. I have recently discovered that devastating amounts of your (hikashop) JavaScript code is embedd in the header tag which leads to sufficiant page load time.
Could you please tell me how can I embedd the code in the footer tag?

Please Log in or Create an account to join the conversation.

More
12 years 6 months ago #147855 by nicolas
Hi,

The small amount of javascript HikaShop in the header of the page is not something which would slow the page display. It's nothing compared to all the javascript of all the javascript files loaded by joomla/the template/other extensions in the header.
Also, the HTML footer tag is not to be used to include javascript on the page, and on top of that, it's not supported by IE7 and IE8:
www.w3schools.com/tags/tag_footer.asp

Please Log in or Create an account to join the conversation.

Time to create page: 0.145 seconds
Powered by Kunena Forum