I want to use JQuery and the Parallax addon. I've added the following to my MasterPage:
<%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI" TagPrefix="sf" >
<sf:ResourceLinks ID="ResourceLinks" runat="server">
<sf:ResourceFile Name="Telerik.Sitefinity.WebsiteTemplates.PAD4UMain.jquery.parallax.1.1.3.js" Static="True" />
I think this is correct and that I have followed best practice in where to the JS files, but any corrections much appreciated.
The problem is that the Parallax JS file, requires that I add:
attributes to the DIV tag to use the Parallax effect. However, the DIVs are layout DIVs so I guess I need to do this programmatically, but what is the best way to do this?