Fliggy (shqlsl) javascript portfolio
Http://www.quansou.com/menu/menu.html # Pure CSS drawer menu (Art Edition) Http://www.quansou.com/menu.htm Http://www.quansou.com/menu1.htm (Unlimited cascade menu) (Art Edition) Http://www.quansou.com/autotime/time.html Input date control (Art Edition) Http://www.quansou.com/checkfrm/ Form field verification (Art Edition) Http://www.quansou.com/treemenu/ Unlimited series (xml + js) Http://www.quansou.com/scroll/scroll.html Take long and fixed-length functions in Chinese and English: Function gstr (sSource, iLen) { Var el = "...", hzlen; Var re = new RegExp ("^ (. {" + (iLen) + "}). * $", "I ") Try {hzlen = sSource. replace (re, "$1 "). match (/[^ \ x00-\ xff]/g ). length} catch (e) {hzlen = 0 ;} If (sSource. length + hzlen <= iLen) return sSource; Re. compile ("^ (. {" + (iLen-Math.ceil (hzlen/2) + "}). * $", "I ") Return sSource. replace (re, "$1"). slice (0, iLen-3) + el; } |
|