I've very recently picked up SharePoint and have a limited knowledge of programming so you'll need to bear with me here.
I'm currently building on a development site collection in SharePoint Online (Office 365).
I've built a news ticker using HTML/jQuery which works using static values set in HTML. What I'm trying to do is link the ticker to a SharePoint List and have it scroll through the first five news titles.
Right now I have the following code in Default.aspx.
<%-- The markup and script in the following Content element will be placed in the <body> of the page --%> <asp:Content ContentPlaceHolderID="PlaceHolderMain" runat="server"> <div class="title"><p>On:trac News</p></div> <div class="cont"><ul id="ticker"> <li>News item one.</li> <li>News item two.</li> </ul></div> </asp:Content>
This is then powered by the following jQuery.
What is the best method of pulling information from SharePoint and then referencing the values in the default.aspx page? I have read around and found a couple of guides for pulling lists from SP but I'm struggling to find a way to write this to the ticker.