示例#1
0
        public static TagDiv Back(TagA link)
        {
            var text = link.FirstNode.ToString();

            link.RemoveNodes();
            link.Add(H.span.Class("signback")["< "]);
            link.Add(H.span.Class("textback")[text]);
            return(H.Div("back")[link]);
        }
示例#2
0
        public static TagLi IndexMenu(string iconNumber, TagA link, bool hideArrow = false)
        {
            var text = " " + link.FirstNode.ToString();

            link.RemoveNodes();
            link.Add(Images.Mobile.Main("icon_{0}.png".FormatWith(iconNumber)).Class("icons"));
            link.Add(text);
            if (!hideArrow)
            {
                link.Add(Arrow());
            }
            return(H.li.Class("mainlinks")[link]);
        }