sharepoint master page script link


/ Published in: ASP
Save to your folder(s)

must be placed inside a form tag with runat=server, that is, beneath

<form>


Copy this code and paste it in your HTML
  1. <!-- handles SharePoint scripts -->
  2. <asp:ScriptManager id="ScriptManager" runat="server" EnablePageMethods="false" EnablePartialRendering="true" EnableScriptGlobalization="false" EnableScriptLocalization="true" >
  3. <Scripts>
  4. <asp:ScriptReference Path="<%$SPUrl:~SiteCollection/Style Library/scripts/jquery-1.5.min.js%>"></asp:ScriptReference>
  5. <asp:ScriptReference Path="<%$SPUrl:~SiteCollection/Style Library/scripts/jquery.SPServices-0.5.6.min.js%>"></asp:ScriptReference>
  6. <asp:ScriptReference Path="<%$SPUrl:~SiteCollection/Style Library/scripts/LITP.js%>"/>
  7. <asp:ScriptReference Path="<%$SPUrl:~SiteCollection/Style Library/scripts/lilly.scrollfix.js%>"></asp:ScriptReference>
  8. </Scripts>
  9. </asp:ScriptManager>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.