zondag 26 oktober 2008

Sharepoint: Styling Branding Moss

If you want to use styling inside sharepoint you need to have a style sheet and images.

Place the style sheet inside root in the style library.


If that is done create a folder inside this style library list and place the images in this folder.





In the CSS you need to change the reference to that image to "/style library/images/toolgrad.gif


Example:
background-image:url("/style library/images/toolgrad.gif");

Open site settings of the site where you can select the masterpage and alternative style sheet.

Sharepoint: New Form, Edit Form Modifications

Goto the Newitem page of the list
Start edit pageIf there is no edit page available then past the next code in the url of your browserjavascript:MSOTlPn_ShowToolPane('2');Now goto the edit page option again
Add an content editor webpart.At the bottom of the property box you can add a link to an JS file inside an Documentlibrary or an location on system.
Now you can edit the javascript below.

Using Javascript to Manipulate a List Form Field