//<a href="www.jeelu.com" tabindex="2" title="this is a Title" accesskey="5" target="_blank">珍珠玛瑙</a> /// <summary> /// 创链接节点的所有属性 /// </summary> /// <param name="href">链接地址,为空时,使用"#",即为空链接</param> /// <param name="title">链接标题</param> /// <param name="target">打开链接的目标</param> /// <param name="tabindex">tab键的索引</param> /// <param name="accesskey">激活键</param> public void Builder(string href, string title, Xhtml.Target target, int tabindex, char accesskey) { if (string.IsNullOrEmpty(href)) { href = "#"; } this.Attributes.Add(new XhtmlAtts.Href(href)); this.Attributes.Add(new XhtmlAtts.Title(title)); this.Attributes.Add(new XhtmlAtts.Target(target)); this.Attributes.Add(new XhtmlAtts.Tabindex(tabindex.ToString())); this.Attributes.Add(new XhtmlAtts.Accesskey(accesskey.ToString())); }
public Target(Xhtml.Target value) : base("target", AttributeHelper.GetValue("target", value.ToString().ToLower(CultureInfo.CurrentCulture))) { }
public InsertLinkCode(string url, string bookmark, string title, string text, Xhtml.Target target, int tabindex, char accesskey) { NewMethod(); }