Navigation breaks additional JS

Posted by Community Admin on 04-Aug-2018 13:35

Navigation breaks additional JS

All Replies

Posted by Community Admin on 27-Feb-2011 00:00

I am currently converting a html version of a wordpress theme (http://themefuse.com/demo/wp/envision/). This theme has image sliders and tab boxes that use JQuery scripts. This works perfectly untill I add navigation to the page, my external js scripts seem to be completely ignored thus ruining the page layout. Is there anyway to get round this?

Posted by Community Admin on 01-Mar-2011 00:00

Hi Owain,

Try using the following type of jQuery registration

<%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI" TagPrefix="sf" %>

<sf:ResourceLinks id="resourcesLinks" runat="server">
    <sf:ResourceFile JavaScriptLibrary="JQuery" />
</sf:ResourceLinks>

Try to move the part with the script registration at the bottom of the master page - before the closing form tag.

Greetings,
Ivan Dimitrov
the Telerik team

Posted by Community Admin on 01-Mar-2011 00:00

I moved the scripts to the bottom of the master page as suggested and it works now, thanks for the tip.

This thread is closed