Navigation breaks additional JS - Bugs & Issues - Bugs & Issues - Progress Community
 Bugs & Issues

Navigation breaks additional JS

  • Navigation breaks additional JS
  • 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?
  • 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
  • I moved the scripts to the bottom of the master page as suggested and it works now, thanks for the tip.