随笔分类 - 网页设计JS/CSS/HTML....
摘要:第一步、插入代码<%function cLeft(str,n)dim str1,str2,alln,Isleftedstr2 = ""alln = 0str1 = strIslefted = falseif isnull(str) thencleft = ""exit functionend iffor i = 1 to len(str1)nowstr = mid(str1,i,1)if asc(nowstr)<0 thenalln = alln + 2elsealln = alln + 1end ifif (alln<=n) then
阅读全文
摘要:<%@ page contentType="text/html; charset=utf-8"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http
阅读全文

浙公网安备 33010602011771号