JavaScript code embedd in the <header> tag

  • Posts: 98
  • Thank you received: 2
10 years 8 months ago #147797

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 8 months ago #147855

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.059 seconds
Powered by Kunena Forum