Sunday 30 November 2014

Sharepoint - Simple Slides Show

Preparation: Download jquery-1.4.4.min.js from jquery website. Download jquery.cycle.all.js from jquery cycle website. Copy them to Sharepoint site, in my case, I set up a folder called img under root. Then paste 6 images and two scripts to it. The images name are 1.jpg-6.jpg.
You need add 2 js to the      master page. Go to the master page of the current one through sharepoint      designer 2010. Edit it. Find <head runat="server">      area, add twos lines after it:




2.Now you need save the master page, then      publish and approve it at the website. You need login to your sharepoint      website ,site actions-> site settings->Galleries->master page and      page layouts->find the master page you edited and publish it, then      check on it and then approve it from the icon at the top.

3.The Jscripts are ready to      run, from the page which using the same master page, create a content      editor webpart, select web part, click on edit html source, paste the      following code to it:




                         
    
Beach 1 Beach 2 Beach 2 Beach 4 Beach 5 Beach 5

No comments:

Post a Comment