Return to Snippet

Revision: 30293
at August 11, 2010 11:50 by rumremix


Initial Code
var vidpath = String(window.location).split('/sites/')[0] + "/" + String(window.location).split('/sites/')[1].split('/')[0] + "/" + "Style%20Library/Lilly/images/";

Initial URL

                                

Initial Description
Use when you don't know what the top-level collection will be called.

Initial Title
sharepoint: grabbing top-level Style-Library url from any page using Javascript

Initial Tags

                                

Initial Language
JavaScript