More in this section

Forums / General Discussions / Using Javascript with template Sitefinity

Using Javascript with template Sitefinity

1 posts, 0 answered
  1. Medy
    Medy avatar
    15 posts
    05 Oct 2015
    16 Oct 2015
    Link to this post


     I have some Javascript problem when I use Sitefinity : I am trying to migrate web application to Sitefinity application.

     So, I have created my own master page in sitefinity solution with a menu developed in Javascript (the same code which works in my application). After I create a page template in sitefinity based on this master page.  But when I preview my template, my menu javacript doesn't work !  :( :(

    First I use this tag :

    <script src="js/modernizr.js"><


     <script src='<%= ResolveClientUrl("~/js/modernizr.js") %>'

     And finally

            <sf:ResourceLinks ID="resourcesLinks" runat="server">

                                   <sf:ResourceFile Name="js/modernizr.js" />

     But doesn't work.

    Any idea ? Please help. Thanks.


1 posts, 0 answered