public static InsertLink ( string url ) : void | ||
url | string | The URL of the CSS to load. |
return | void |
public static void InsertLink(string url)
{
if (!Helper.String.HasValue(url)) return;
if (IsLinked(url)) return;
jQuery
.Select(Html.Head)
.Append(string.Format("<link rel='Stylesheet' href='{0}' type='text/css' />", url));
}