By using <% $SPUrl:~site/SitePages/home.aspx %>, you can able to select the particular files from the current site. But this will be applicable only for the master page.
Eg:
<div id="logo"><a runat="server" href="<% $SPUrl:~site/SitePages/home.aspx %> ">
<img src="<% $SPUrl:~site/Templatecontent/Images/logo.gif%>" runat="server" width="105" height="56" alt="images"/> </a></div>
Eg:
<div id="logo"><a runat="server" href="<% $SPUrl:~site/SitePages/home.aspx %> ">
<img src="<% $SPUrl:~site/Templatecontent/Images/logo.gif%>" runat="server" width="105" height="56" alt="images"/> </a></div>
No comments:
Post a Comment