Javascript In Footer Repeatedly Reloading

2 replies · opened May 8, 2017

RrbniMay 8, 2017

Hi,

I am having an issue with the javascript repeatedly reloading on every page apart from the root index.php file. It populates the "Down Arrow" on the menu items, continuously until the browser crashes.
The 3 Javascript files in the footer are:

<!-- External JavaScripts
============================================= -->
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/plugins.js"></script>
<!-- Footer Scripts
============================================= -->
<script type="text/javascript" src="/js/functions.js"></script>

The homepage index.php file it fine and works ok:
http://new.eakinltd.com
However, the exact same page saved into a folder has the issue described (.js and css paths correctly changed etc):
http://new.eakinltd.com/print-design/index.php

I've spent a lot of time trying to figure this, but maybe I'm missing something obvious!
Your help would be appreciated.

Attachment shows the menu continuously loading the down arrow.

RrbniMay 9, 2017

Hi Guys,
Anyone got any advice on this one ?

Thanks

SSemicolon WebSTAFFMay 10, 2017

Hello,

This following code is the exact cause of this issue:

Make sure that the Tab href are Full Relative URLs. Example: http://new.eakinltd.com/print-design/index.php#construction-tab-1 which should fix the issue.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard