/ Published in: JavaScript

Use when you don't know what the top-level collection will be called.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var vidpath = String(window.location).split('/sites/')[0] + "/" + String(window.location).split('/sites/')[1].split('/')[0] + "/" + "Style%20Library/Lilly/images/";
Comments
