Revision: 29546
Updated Code
at June 3, 2011 09:27 by rumremix
Updated Code
var rootUrl = "<asp:Literal runat='server' Text='<% $SPUrl:~SiteCollection/%>' />"; //above code grabs top level site collection url //below code provides the current site url using spservices var siteUrl = $().SPServices.SPGetCurrentSite();
Revision: 29545
Updated Code
at August 5, 2010 06:58 by rumremix
Updated Code
var rootUrl = "<asp:Literal runat='server' Text='<% $SPUrl:~SiteCollection/%>' />"; //above code grabs top level site collection url //better way to go in SP2010 below... var rootUrl = $().SPServices.SPGetCurrentSite(); //this one grabs url of current site collection
Revision: 29544
Updated Code
at August 5, 2010 06:43 by rumremix
Updated Code
var rootUrl = "<asp:Literal runat='server' Text='<% $SPUrl:~SiteCollection/%>' />"; //better way to go in SP2010 below... var rootUrl = $().SPServices.SPGetCurrentSite();
Revision: 29543
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 31, 2010 08:24 by rumremix
Initial Code
var rootUrl = "<asp:Literal runat='server' Text='<% $SPUrl:~SiteCollection/%>' />";
Initial URL
Initial Description
Initial Title
sharepoint root url
Initial Tags
javascript, ASP, sharepoint
Initial Language
JavaScript