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:
No comments:
Post a Comment