Using Javascript with template Sitefinity - General Discussions - General Discussions - Progress Community
 General Discussions

Using Javascript with template Sitefinity

  • Using Javascript with template Sitefinity
  • Hello,

     I have some Javascript problem when I use Sitefinity : I am trying to migrate asp.net 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 asp.net 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"><

     Then

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

     And finally

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

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

     But doesn't work.

    Any idea ? Please help. Thanks.