shawl.qiu Javascript 前景色背景色调色类 / BgColorScheme v1.0
说明:
这个类嘛, 功能就跟标题描述的一样, 也许更多, 这取决于你对色彩的了解程度..
后续版本会逐渐发展成 Web 页配色方案, 也许在这个类的基础上扩展, 也许会是一个全新的类.
主色彩内容主要为预定义色彩, 因此随着类的更新, 类会越来越大.
目前本类大小约为: 85.2 KB (87,328 bytes)
后续版本如果类文件过大, 鄙人会考虑将主色彩采用动态加载的方式载入.
本类的核心数据类型为鄙人之前写的 HashTable 数据类型, 见:
http://blog.csdn.net/btbtd/archive/2007/06/28/1669636.aspx
目录:
1. 功能及描述
2. 调用
3. 类 BgColorScheme
4. 类 HastTable
shawl.qiu
2007-06-30
http://blog.csdn.net/btbtd
演示:
http://files.myopera.com/btbtd/javascript/class/BgColorScheme/BgColorScheme.htm
下载:
http://files.myopera.com/btbtd/javascript/class/BgColorScheme/sq_js_BgColorScheme_v1.0.7z
内容:
1. 功能及描述
- 1.1 本类共预定义 23 个色彩系
- 分别为:
- 红系 橙系 黄系
- 绿系 青系 青蓝系 蓝系 靛青系
- 紫系 粉红系 褐系
- 灰系
- 白系
- Web
- Jp红紫 Jp红 Jp黄红 Jp黄 Jp黄绿 Jp绿 Jp蓝紫 Jp紫 Jp减
- 1.2 本类可动态更改前景色
- 1.3 本类可设置反向显示前背景色
- 1.4 本类已按各色彩系预分类一次性选择分类全部色彩系
- 1.5 本类实现全选, 反选, 不选 色彩系
- 1.6 显示效果目前可选择两个显示模式
- 1.7 本类可灵活移动当前位置色彩系至目标色彩系, 比如上下
- 1.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">
- <!-- DW6 -->
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Untitled Document</title>
- </head>
- <body>
- <div id="BgColorSchemeId"></div>
- <script type="text/javascript" src="HashTable.js"></script>
- <script type="text/javascript" src="BgColorScheme.js"></script>
- <script type="text/javascript">
- //<![CDATA[
- var Bcs = new BgColorScheme();
- Bcs.Init.Name = "Bcs";
- Bcs.Main.Id = "BgColorSchemeId";
- Bcs.Invert = false;
- //Bcs.Msg = "shawl.qiu";
- Bcs.Color.Set = ["#7CA8F3", "#13D229"];
- Bcs.Status = true;
- Bcs.Style.Append = true;
- Bcs.Go();
- document.title = Bcs.Au.Subject+" "+Bcs.Au.Version;
- Bcs = null;
- //]]>
- </script>
- </body>
- </html>
- // shawl.qiu JavaScript Document
- /*-----------------------------------------------------------------------------------*/
- * shawl.qiu Javascript BgColorScheme class v1.0
- /*-----------------------------------------------------------------------------------*/
- //---------------------------------begin class BgColorScheme()-------------------------------//
- function BgColorScheme()
- { // shawl.qiu code
- //------------------------------------begin public variable
- //---------------begin about
- this.Au = {}
- this.Au.Subject = "shawl.qiu Javascript BgColorScheme class";
- this.Au.Version = "v1.0";
- this.Au.Name = "shawl.qiu";
- this.Au.Email = "shawl.qiu@gmail.com";
- this.Au.Blog = "http://blog.csdn.net/btbtd";
- this.Au.CreatedDate = "2007-6-28";
- this.Au.Update = {};
- this.Au.Update["1"] = "";
- //---------------end about
- this.Init = {};
- this.Init.Name = "Bcs";
- this.Main = {};
- this.Main.Id = "BgColorSchemeId";
- this.Postfix = "";
- this.ContainerHb = null;
- this.Invert = false;
- this.Msg = "";
- this.Color = {};
- this.Color.Set = ["#7CA8F3", "#13D229"];
- this.Color.Hot = "Red,Orange,Yellow";
- this.Color.Cool = "Green,Cyan,BlueCyan,Blue";
- this.Color.Neutral = "Violet,Pink,Brown";
- this.Color.None = "Grey";
- this.Color.White = "White";
- this.Color.Web = "Web";
- this.Color.Jp = "JpRedViolet,JpRed,JpYellowRed,JpYellow,JpYellowGreen"
- +",JpGreen,JpBlueViolet,JpViolet,JpAchromatic";
- this.Element = {};
- this.Element.Nav = {}
- this.Element.Nav.Main = null;
- this.Element.Nav.Id = "NavId";
- this.Element.CbxList = {};
- this.Element.CbxList.Name = "";
- this.Element.CbxList.ClassName = "BcsCbxListClassName";
- this.Element.Text = {};
- this.Element.Text.Main = null;
- this.Element.Text.Id = "TextId";
- this.Element.Text.ClassName = "BcsTextClassName";
- this.Element.ColorTbx = {};
- this.Element.ColorTbx.Main = null;
- this.Element.ColorTbx.Id = "BcsColorEleId";
- this.Element.ColorTbx.ClassName = "BcsColorTbxClassName";
- this.Element.InvertCbx = {};
- this.Element.InvertCbx.Main = null;
- this.Element.InvertCbx.Id = "BcsInvertCbxId";
- this.Element.GoBtn = {};
- this.Element.GoBtn.Main = null;
- this.Element.GoBtn.Id = "BcsGoBtnId";
- this.Element.Anchor ={};
- this.Element.Anchor.Main = null;
- this.Element.Anchor.Id = "BcsAnchorId";
- this.Theme = {};
- this.Theme.Default = "Together";
- this.Theme.HashTable = null;
- this.Theme.Select = {};
- this.Theme.Select.Id = "BcsSelectDisplayId";
- this.Theme.Select.Main = null;
- this.Status = false;
- this.Style = {};
- this.Style.Append = false;
- this.Style.Id = "BcsStyleId";
- //------------------------------------end public variable
- //------------------------------------begin private variable
- var Tl = this;
- var pMain = null;
- var pNav = null;
- var pText = null;
- var pCbxList = null;
- var pInvertCbx = null;
- var pGoBtn = null;
- var pAnchorStr = "";
- var pSelect = null;
- //------------------------------------end private variable
- //------------------------------------begin public method
- this.Go = fGo;
- //------------------------------------end public method
- //------------------------------------begin private method
- function fGo()
- {
- if(typeof(Tl.Main.Id)=="string")
- {
- pMain = document.getElementById(Tl.Main.Id);
- }
- else if(typeof(Tl.Main.Id)=="object")
- {
- pMain = Tl.Main.Id;
- }
- if(typeof(pMain)!="object"||pMain == null)
- {
- alert("主域不能为Null!");
- return;
- }
- Tl.Postfix = fRandomLetter(10);
- Tl.Element.CbxList.Name = Tl.Init.Name + Tl.Postfix;
- Tl.Element.Nav.Id = Tl.Init.Name + Tl.Element.Nav.Id + Tl.Postfix;
- Tl.Style.Id = Tl.Init.Name + Tl.Style.Id + Tl.Postfix;
- if(Tl.Style.Append)
- {
- var sStyle = fAppendStyle();
- fAddStyleFromStr(sStyle, Tl.Style.Id);
- }
- Tl.ContainerHb = new HashTable();
- Tl.ContainerHb.Add("Red", "红系", {Exec:fRed,Content:null});
- Tl.ContainerHb.Add("Orange", "橙系", {Exec:fOrange,Content:null});
- Tl.ContainerHb.Add("Yellow", "黄系", {Exec:fYellow,Content:null});
- Tl.ContainerHb.Add("Green", "绿系", {Exec:fGreen,Content:null});
- Tl.ContainerHb.Add("Cyan", "青系", {Exec:fCyan,Content:null});
- Tl.ContainerHb.Add("BlueCyan", "青蓝系", {Exec:fBlueCyan,Content:null});
- Tl.ContainerHb.Add("Blue", "蓝系", {Exec:fBlue,Content:null});
- Tl.ContainerHb.Add("Indigo", "靛青系", {Exec:fIndigo,Content:null});
- Tl.ContainerHb.Add("Violet", "紫系", {Exec:fViolet,Content:null});
- Tl.ContainerHb.Add("Pink", "粉红系", {Exec:fPink,Content:null});
- Tl.ContainerHb.Add("Brown", "褐系", {Exec:fBrown,Content:null});
- Tl.ContainerHb.Add("Grey", "灰系", {Exec:fGrey,Content:null});
- Tl.ContainerHb.Add("White", "白系", {Exec:fWhite,Content:null});
- Tl.ContainerHb.Add("Web", "Web", {Exec:fWeb,Content:null});
- Tl.ContainerHb.Add("JpRedViolet", "Jp红紫", {Exec:fJpRedViolet,Content:null});
- Tl.ContainerHb.Add("JpRed", "Jp红", {Exec:fJpRed,Content:null});
- Tl.ContainerHb.Add("JpYellowRed", "Jp黄红", {Exec:fJpYellowRed,Content:null});
- Tl.ContainerHb.Add("JpYellow", "Jp黄", {Exec:fJpYellow,Content:null});
- Tl.ContainerHb.Add("JpYellowGreen", "Jp黄绿", {Exec:fJpYellowGreen,Content:null});
- Tl.ContainerHb.Add("JpGreen", "Jp绿", {Exec:fJpGreen,Content:null});
- Tl.ContainerHb.Add("JpBlueViolet", "Jp蓝紫", {Exec:fJpBlueViolet,Content:null});
- Tl.ContainerHb.Add("JpViolet", "Jp紫", {Exec:fJpViolet,Content:null});
- Tl.ContainerHb.Add("JpAchromatic", "Jp减", {Exec:fJpAchromatic,Content:null});
- Tl.Theme.HashTable = new HashTable();
- Tl.Theme.HashTable.Add("Together", "合并显示");
- Tl.Theme.HashTable.Add("Split", "分散显示");
- Tl.Element.Nav.Main = document.createElement("div");
- Tl.Element.Nav.Main.id = Tl.Element.Nav.Id ;
- Tl.Element.Nav.Main.innerHTML+= "请选择色彩系: <a name='"+Tl.Init.Name+"'</a><br/>";
- pAnchorStr = "<div>"
- +" <a href=#"+Tl.Init.Name+">Top</a>"
- var iCount = 0;
- for(var i in Tl.ContainerHb.Object)
- {
- Tl.Element.Nav.Main.innerHTML
- +=""
- +"<input type='checkbox' name='"
- +Tl.Element.CbxList.Name
- +"' value='"+i+"' />"
- +"<a href='#"+i+"'>"
- +Tl.ContainerHb.Item(i)
- +"</a>"
- ;
- pAnchorStr +=
- " | <a href='#"+i+"'>"
- +Tl.ContainerHb.Item(i)
- +"</a> "
- ;
- switch(iCount)
- {
- case 2:
- case 7:
- case 10:
- case 11:
- case 12:
- case 13:
- Tl.Element.Nav.Main.innerHTML+="<br/>";
- break;
- default:
- break;
- }
- iCount++;
- }
- pAnchorStr+="</div>";
- pMain.appendChild(Tl.Element.Nav.Main);
- pNav = document.getElementById(Tl.Element.Nav.Id);
- Tl.Element.Text.Id = Tl.Init.Name + Tl.Element.Text.Id + Tl.Postfix;
- Tl.Element.Text.Main = document.createElement("div");
- Tl.Element.Text.Main.id = Tl.Element.Text.Id;
- Tl.Element.Text.Main.className = Tl.Element.Text.ClassName;
- pMain.appendChild(Tl.Element.Text.Main);
- pText = document.getElementById(Tl.Element.Text.Id);
- pCbxList = document.getElementsByName(Tl.Element.CbxList.Name);
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- var sId = Tl.Init.Name + pCbxList[i].value+Tl.Postfix;
- var TempSpan = document.createElement("span");
- TempSpan.id = sId;
- pText.appendChild(TempSpan);
- var oTemp = pCbxList[i];
- oTemp.onclick =
- function()
- {
- pGoBtn.click();
- } // end oTemp.onclick
- } // end for
- var ColorTbx = document.createElement("input");
- ColorTbx.type = "text";
- ColorTbx.size = "60";
- ColorTbx.value = Tl.Color.Set;
- ColorTbx.id = Tl.Init.Name + Tl.Element.ColorTbx.Id+Tl.Postfix;
- Tl.Element.ColorTbx.Id = ColorTbx.id;
- ColorTbx.className = Tl.Element.ColorTbx.ClassName;
- pText.parentNode.insertBefore(ColorTbx, pText);
- Tl.Element.ColorTbx.Main = document.getElementById(Tl.Element.ColorTbx.Id);
- pColorTbx = Tl.Element.ColorTbx.Main;
- var GoBtn = document.createElement("button");
- GoBtn.innerHTML = "Go";
- GoBtn.className = Tl.Element.CbxList.ClassName;
- GoBtn.id = Tl.Init.Name + Tl.Element.GoBtn.Id+Tl.Postfix;
- Tl.Element.GoBtn.Id = GoBtn.id;
- GoBtn.onclick = function()
- {
- var StartDt = new Date();
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- }
- Tl.Color.Set.sort();
- ColorAr.sort();
- if(Tl.Color.Set.join("")!=ColorAr.join(""))
- {
- for(var i in Tl.ContainerHb.Object)
- {
- Tl.ContainerHb.Item(i).Content = null;
- }
- }
- Tl.Color.Set = ColorAr;
- fSetPAnchorStr();
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- var sId = Tl.Init.Name + pCbxList[i].value+Tl.Postfix;
- var oDiv = document.getElementById(sId);
- if(pCbxList[i].checked)
- {
- if(Tl.ContainerHb.Item(pCbxList[i].value).Content==null)
- {
- Tl.ContainerHb.Item(pCbxList[i].value).Content
- = Tl.ContainerHb.Item(pCbxList[i].value).Exec();
- }
- oDiv.innerHTML = Tl.ContainerHb.Item(pCbxList[i].value).Content;
- }
- else
- {
- oDiv.innerHTML = "";
- }
- } // end for
- fPutAnchorStr();
- var EndDt = new Date();
- if(Tl.Status)defaultStatus =
- Tl.Au.Subject+" "+Tl.Au.Version+" 耗时: "+(EndDt-StartDt)+" 毫秒";
- } // end GoBtn.onclick
- pText.parentNode.insertBefore(GoBtn, pText);
- Tl.Element.GoBtn.Main = document.getElementById(Tl.Element.GoBtn.Id);
- pGoBtn = Tl.Element.GoBtn.Main;
- pColorTbx.parentNode.insertBefore
- (
- document.createTextNode("Web颜色值(例:black,white,#000,#fff): ")
- ,pGoBtn
- );
- pGoBtn.parentNode.insertBefore
- (
- document.createElement("br")
- ,pGoBtn
- );
- var HotBtn = document.createElement("button");
- HotBtn.innerHTML = "暖色";
- HotBtn.className = Tl.Element.CbxList.ClassName;
- HotBtn.onclick = function()
- {
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- return false;
- }
- Tl.Color.Set = ColorAr;
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- var Re = new RegExp("//b"+pCbxList[i].value+"//b", "i");
- if(Re.test(Tl.Color.Hot))
- {
- pCbxList[i].checked = true;
- }
- else
- {
- pCbxList[i].checked = false;
- }
- } // end for
- pGoBtn.click();
- }
- pText.parentNode.insertBefore(HotBtn, pText);
- var CoolBtn = document.createElement("button");
- CoolBtn.innerHTML = "冷色";
- CoolBtn.className = Tl.Element.CbxList.ClassName;
- CoolBtn.onclick = function()
- {
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- return false;
- }
- Tl.Color.Set = ColorAr;
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- var Re = new RegExp("//b"+pCbxList[i].value+"//b", "i");
- if(Re.test(Tl.Color.Cool))
- {
- pCbxList[i].checked = true;
- }
- else
- {
- pCbxList[i].checked = false;
- }
- } // end for
- pGoBtn.click();
- }
- pText.parentNode.insertBefore(CoolBtn, pText);
- var NeutralBtn = document.createElement("button");
- NeutralBtn.innerHTML = "中色";
- NeutralBtn.className = Tl.Element.CbxList.ClassName;
- NeutralBtn.onclick = function()
- {
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- return false;
- }
- Tl.Color.Set = ColorAr;
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- var Re = new RegExp("//b"+pCbxList[i].value+"//b", "i");
- if(Re.test(Tl.Color.Neutral))
- {
- pCbxList[i].checked = true;
- }
- else
- {
- pCbxList[i].checked = false;
- }
- } // end for
- pGoBtn.click();
- }
- pText.parentNode.insertBefore(NeutralBtn, pText);
- var NoneBtn = document.createElement("button");
- NoneBtn.innerHTML = "无色";
- NoneBtn.className = Tl.Element.CbxList.ClassName;
- NoneBtn.onclick = function()
- {
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- return false;
- }
- Tl.Color.Set = ColorAr;
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- var Re = new RegExp("//b"+pCbxList[i].value+"//b", "i");
- if(Re.test(Tl.Color.None))
- {
- pCbxList[i].checked = true;
- }
- else
- {
- pCbxList[i].checked = false;
- }
- } // end for
- pGoBtn.click();
- }
- pText.parentNode.insertBefore(NoneBtn, pText);
- var WhiteBtn = document.createElement("button");
- WhiteBtn.innerHTML = "白色";
- WhiteBtn.className = Tl.Element.CbxList.ClassName;
- WhiteBtn.onclick = function()
- {
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- return false;
- }
- Tl.Color.Set = ColorAr;
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- var Re = new RegExp("//b"+pCbxList[i].value+"//b", "i");
- if(Re.test(Tl.Color.White))
- {
- pCbxList[i].checked = true;
- }
- else
- {
- pCbxList[i].checked = false;
- }
- } // end for
- pGoBtn.click();
- }
- pText.parentNode.insertBefore(WhiteBtn, pText);
- var WebBtn = document.createElement("button");
- WebBtn.innerHTML = "Web";
- WebBtn.className = Tl.Element.CbxList.ClassName;
- WebBtn.onclick = function()
- {
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- return false;
- }
- Tl.Color.Set = ColorAr;
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- var Re = new RegExp("//b"+pCbxList[i].value+"//b", "i");
- if(Re.test(Tl.Color.Web))
- {
- pCbxList[i].checked = true;
- }
- else
- {
- pCbxList[i].checked = false;
- }
- } // end for
- pGoBtn.click();
- }
- pText.parentNode.insertBefore(WebBtn, pText);
- var JpBtm = document.createElement("button");
- JpBtm.innerHTML = "Jp";
- JpBtm.className = Tl.Element.CbxList.ClassName;
- JpBtm.onclick = function()
- {
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- return false;
- }
- Tl.Color.Set = ColorAr;
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- var Re = new RegExp("//b"+pCbxList[i].value+"//b", "i");
- if(Re.test(Tl.Color.Jp))
- {
- pCbxList[i].checked = true;
- }
- else
- {
- pCbxList[i].checked = false;
- }
- } // end for
- pGoBtn.click();
- }
- pText.parentNode.insertBefore(JpBtm, pText);
- pText.parentNode.insertBefore(document.createElement("br"), pText);
- var SleAllBtn = document.createElement("button");
- SleAllBtn.innerHTML = "全选";
- SleAllBtn.className = Tl.Element.CbxList.ClassName;
- SleAllBtn.onclick = function()
- {
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- return false;
- }
- Tl.Color.Set = ColorAr;
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- pCbxList[i].checked = true;
- } // end for
- pGoBtn.click();
- }
- pText.parentNode.insertBefore(SleAllBtn, pText);
- var SleInvertBtn = document.createElement("button");
- SleInvertBtn.innerHTML = "反选";
- SleInvertBtn.className = Tl.Element.CbxList.ClassName;
- SleInvertBtn.onclick = function()
- {
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- return false;
- }
- Tl.Color.Set = ColorAr;
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- if(pCbxList[i].checked)
- {
- pCbxList[i].checked = false;
- }
- else
- {
- pCbxList[i].checked = true;
- }
- } // end for
- pGoBtn.click();
- }
- pText.parentNode.insertBefore(SleInvertBtn, pText);
- var SleNoneBtn = document.createElement("button");
- SleNoneBtn.innerHTML = "不选";
- SleNoneBtn.className = Tl.Element.CbxList.ClassName;
- SleNoneBtn.onclick = function()
- {
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- return false;
- }
- Tl.Color.Set = ColorAr;
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- pCbxList[i].checked = false;
- } // end for
- pGoBtn.click();
- }
- pText.parentNode.insertBefore(SleNoneBtn, pText);
- var FirstBtn = document.createElement("button");
- FirstBtn.innerHTML = "首项";
- FirstBtn.className = Tl.Element.CbxList.ClassName;
- FirstBtn.onclick = function()
- {
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- return false;
- }
- Tl.Color.Set = ColorAr;
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- pCbxList[i].checked = false;;
- } // end for
- pCbxList[0].checked = true;
- pGoBtn.click();
- }
- pText.parentNode.insertBefore(FirstBtn, pText);
- var PrevBtn = document.createElement("button");
- PrevBtn.innerHTML = "上项";
- PrevBtn.className = Tl.Element.CbxList.ClassName;
- PrevBtn.onclick = function()
- {
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- return false;
- }
- Tl.Color.Set = ColorAr;
- var iIndex = null;
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- if(pCbxList[i].checked) iIndex = i;
- pCbxList[i].checked = false;
- } // end for
- if(iIndex!=null)
- {
- if(iIndex===0) iIndex = pCbxList.length-1;
- else iIndex--;
- }
- else
- {
- iIndex = 0;
- }
- pCbxList[iIndex].checked = true;
- pGoBtn.click();
- }
- pText.parentNode.insertBefore(PrevBtn, pText);
- var NextBtn = document.createElement("button");
- NextBtn.innerHTML = "下项";
- NextBtn.className = Tl.Element.CbxList.ClassName;
- NextBtn.onclick = function()
- {
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- return false;
- }
- Tl.Color.Set = ColorAr;
- var iIndex = null;
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- if(pCbxList[i].checked) iIndex = i;
- pCbxList[i].checked = false;
- } // end for
- if(iIndex!=null)
- {
- if(iIndex===pCbxList.length-1) iIndex = 0;
- else iIndex++;
- }
- else
- {
- iIndex = 0;
- }
- pCbxList[iIndex].checked = true;
- pGoBtn.click();
- }
- pText.parentNode.insertBefore(NextBtn, pText);
- var LastBtn = document.createElement("button");
- LastBtn.innerHTML = "末项";
- LastBtn.className = Tl.Element.CbxList.ClassName;
- LastBtn.onclick = function()
- {
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- return false;
- }
- Tl.Color.Set = ColorAr;
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- pCbxList[i].checked = false;
- } // end for
- pCbxList[pCbxList.length-1].checked = true;
- pGoBtn.click();
- }
- pText.parentNode.insertBefore(LastBtn, pText);
- var TextEle = document.createTextNode("显示:");
- pText.parentNode.insertBefore(TextEle, pText);
- Tl.Theme.Select.Id = Tl.Init.Name + Tl.Theme.Select.Id + Tl.Postfix;
- var ThemeSle = document.createElement("select");
- ThemeSle.className = Tl.Element.InvertCbx.ClassName;
- ThemeSle.id = Tl.Theme.Select.Id;
- pText.parentNode.insertBefore(ThemeSle, pText);
- Tl.Theme.Select.Main = document.getElementById(Tl.Theme.Select.Id);
- pSelect = Tl.Theme.Select.Main ;
- // 清除非 Onload Bug For IE
- if(Tl.Theme.Default in Tl.Theme.HashTable.Object)
- {
- fAddOption(pSelect, Tl.Theme.HashTable.Item(Tl.Theme.Default), Tl.Theme.Default, true, true);
- }
- for(var i in Tl.Theme.HashTable.Object)
- {
- if(i!=Tl.Theme.Default)
- {
- fAddOption(pSelect, Tl.Theme.HashTable.Item(i), i, false, false);
- }
- } // end if
- pSelect.onchange =
- function()
- {
- fSetNullContainerHbContent();
- Tl.Theme.Default = this.value;
- pGoBtn.click();
- }
- var TextEle = document.createTextNode("反向:");
- pText.parentNode.insertBefore(TextEle, pText);
- var TempEle = document.createElement("input");
- TempEle.type = "checkbox";
- TempEle.className = Tl.Element.InvertCbx.ClassName;
- TempEle.id = Tl.Init.Name + Tl.Element.InvertCbx.Id+Tl.Postfix;
- Tl.Element.InvertCbx.Id = TempEle.id;
- pText.parentNode.insertBefore(TempEle, pText);
- Tl.Element.InvertCbx.Main = document.getElementById(Tl.Element.InvertCbx.Id);
- pInvertCbx = Tl.Element.InvertCbx.Main;
- pInvertCbx.onclick =
- function()
- {
- var ColorAr = fClearArrayRepeats(pColorTbx.value.split(","));
- if(ColorAr.length ===0)
- {
- alert("颜色序列不能为空!");
- }
- Tl.Color.Set = ColorAr;
- fSetNullContainerHbContent();
- if(this.checked)
- {
- Tl.Invert = true;
- }
- else
- {
- Tl.Invert = false;
- }
- pGoBtn.click();
- } // end pInvertCbx.onclick
- } // end function fGo
- function fAddOption(sle, text, value, defaultSelected, selected)
- {// shawl.qiu script
- if(!defaultSelected) defaultSelected = false;
- if(!selected) selected = false;
- sle.options[sle.options.length] = new Option(text, value, defaultSelected, selected);
- } // end function fAddOption
- function fRandomLetter(nLen, sCase)
- {// shawl.qiu code
- var ar='';
- var arUp=['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S',
- 'T','U','V','W','X','Y','Z'];
- var arLw=['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t',
- 'u','v','w','x','y','z'];
- var arDgt=[0,1,2,3,4,5,6,7,8,9];
- switch(sCase)
- {
- case 'upper': ar=arUp; break;
- case 'lower': ar=arLw; break;
- case 'letter': ar=arUp.concat(arLw); break;
- default:ar=arUp.concat(arLw, arDgt);
- }
- if(nLen&&nLen>0)
- {
- if(!isFinite(nLen))return false;
- if(nLen<0)return false;
- var iLetter='';
- nLen=parseInt(nLen);
- for(var i=0; i<nLen; i++)
- {
- iLetter+=ar[fRandomBy(0,ar.length-1)];
- }
- return iLetter;
- }
- return ar[fRandomBy(0,ar.length-1)];
- function fRandomBy(under, over)
- {// shawl.qiu script
- switch(arguments.length)
- {
- case 1: return parseInt(Math.random()*under+1);
- case 2: return parseInt(Math.random()*(over-under+1) + under);
- default: return 0;
- } // end switch
- } // end function fRandomBy
- } // end function fRandomLetter
- function fClearArrayRepeats(ItemAr, bTrim, ReOptStr, iOrderOpt)
- {// shawl.qiu script
- var Debug = false;
- var ResultAr = [];
- var ResultArCount = 0;
- var MarkStr = "<>sqmark<>";
- var CopyAr = [];
- var iCount= 0;
- var iLen = ItemAr.length;
- if(!ReOptStr) ReOptStr = "gi";
- while(iCount<iLen)
- {
- if(bTrim)
- CopyAr[iCount] = MarkStr+ItemAr[iCount].replace(/^/s+|/s+$/g, "")+MarkStr;
- else
- CopyAr[iCount] = MarkStr+ItemAr[iCount]+MarkStr;
- iCount++;
- }
- var TempStr = "";
- var AllStr = CopyAr.join("");
- var TempAr = [];
- var GetItemRe = new RegExp(MarkStr+"(.*?)"+MarkStr, ReOptStr);
- AllStr.replace
- (
- GetItemRe,
- function($0, $1)
- {
- var IdStr = MarkStr+$1+MarkStr;
- if(TempStr.indexOf(IdStr)==-1)
- {
- if(Debug)
- alert(IdStr);
- TempStr += IdStr;
- ResultAr[ResultArCount++] = $1;
- }
- }
- )
- if(Debug)
- {
- alert
- (
- " ItemAr: "+ItemAr
- +"/n AllStr: "+AllStr
- +"/n ResultAr: "+ResultAr
- );
- }
- return fArOdr(ResultAr, iOrderOpt);
- function fArOdr(array, pram)
- {
- if(!pram)var pram=1;
- switch(pram)
- {
- case 2: return array.reverse();
- case 3: return array.sort(function(a,b){return a-b;});
- case 4: return array.sort(function(a,b){return b-a;});
- default: return array.sort();
- } // end switch
- } // end function fArOdr
- } // function fClearArrayRepeats
- function fRed()
- { // return string
- var sResult = "";
- var Hb = new HashTable();
- //红色系
- Hb.Add("Alizarin", "#E32636", {En:"Alizarin", Zh:"深茜红"});
- Hb.Add("Amaranth", "#E52B50", {En:"Amaranth", Zh:"紫红色"});
- Hb.Add("Burgundy", "#900020", {En:"Burgundy", Zh:"勃艮第酒红"});
- Hb.Add("Cardinal", "#C41E3A", {En:"Cardinal", Zh:"枢机红"});
- Hb.Add("Carmine", "#960018", {En:"Carmine", Zh:"胭脂红"});
- Hb.Add("Cerise", "#DE3163", {En:"Cerise", Zh:"樱桃红"});
- Hb.Add("Chestnut", "#CD5C5C", {En:"Chestnut", Zh:"栗子色"});
- Hb.Add("CoralRed", "#FF4040", {En:"CoralRed", Zh:"珊瑚红"});
- Hb.Add("Crimson", "#DC143C", {En:"Crimson", Zh:"珊瑚红"});
- Hb.Add("DarkPink", "#E75480", {En:"DarkPink", Zh:"深粉色"});
- Hb.Add("FaluRed", "#801818", {En:"FaluRed", Zh:"未知"});
- Hb.Add("FireEngineRed", "#CE2029", {En:"FireEngineRed", Zh:"未知"});
- Hb.Add("Fuchsia", "#FF00FF", {En:"Fuchsia", Zh:"品红"});
- Hb.Add("Girlsnberry", "#D15C5C", {En:"Girlsnberry", Zh:"Girlsnberry"});
- Hb.Add("HollyWoodCerise", "#F400A1", {En:"HollyWoodCerise", Zh:"HollyWoodCerise"});
- Hb.Add("Magenta", "#FF0090", {En:"Magenta", Zh:"洋红"});
- Hb.Add("Maroon", "#800000", {En:"Maroon", Zh:"栗色"});
- Hb.Add("Mauve", "#E0B0FF", {En:"Mauve", Zh:"木槿紫"});
- Hb.Add("PersianRed", "#CC3333", {En:"PersianRed", Zh:"波斯红"});
- Hb.Add("Pink", "#FFC0CB", {En:"Pink", Zh:"粉红"});
- Hb.Add("Pomegranate", "#F34723", {En:"Pomegranate", Zh:"石榴红"});
- Hb.Add("Red", "#FF0000", {En:"Red", Zh:"红色"});
- Hb.Add("RedViolet", "#C71585", {En:"RedViolet", Zh:"紫红"});
- Hb.Add("Rose", "#FF007F", {En:"Rose", Zh:"玫瑰红"});
- Hb.Add("Rust", "#B7410E", {En:"Rust", Zh:"铁锈红"});
- Hb.Add("Puce", "#CC8899", {En:"Puce", Zh:"红褐色"});
- Hb.Add("Sangria", "#92000A", {En:"Sangria", Zh:"桑格里洒红"});
- Hb.Add("Scarlet", "#FF2400", {En:"Scarlet", Zh:"腥红"});
- Hb.Add("ShockingPink", "#FC0FC0", {En:"ShockingPink", Zh:"ShockingPink"});
- Hb.Add("TerraCotta", "#CC4E5C", {En:"TerraCotta", Zh:"TerraCotta"});
- Hb.Add("VenetianRed", "#C80815", {En:"VenetianRed", Zh:"威尼斯红"});
- Hb.Add("Vermilion", "#E34234", {En:"Vermilion", Zh:"朱红"});
- Hb.Add("Ruby", "#C80852", {En:"Ruby", Zh:"宝石红"});
- Hb.Add("RosePink", "#EE869A", {En:"RosePink", Zh:"浅玫瑰红"});
- Hb.Add("SpinelRed", "#F09192", {En:"SpinelRed", Zh:"尖晶石红"});
- Hb.Add("OperaMauve", "#E198C0", {En:"OperaMauve", Zh:"优品紫红"});
- Hb.Add("CoralPink", "#F19C9F", {En:"CoralPink", Zh:"浅珊瑚红"});
- Hb.Add("Flamingo", "#F5B2B2", {En:"Flamingo", Zh:"火鹤红"});
- Hb.Add("PearlPink", "#F7C8CF", {En:"PearlPink", Zh:"浅珍珠红"});
- Hb.Add("ShellPink", "#F8C6B5", {En:"ShellPink", Zh:"壳黄红"});
- Hb.Add("BabyPink", "#FCE5DF", {En:"BabyPink", Zh:"浅粉红"});
- Hb.Add("SalmonPink", "#F29B87", {En:"SalmonPink", Zh:"鲑红"});
- Hb.Add("StrongRed", "#D8000F", {En:"StrongRed", Zh:"鲜红"});
- Hb.Add("OldRose", "#C2737F", {En:"OldRose", Zh:"灰玫红"});
- var sIdentifier = "Red";
- sResult += fShowAncharNav(sIdentifier, "红色系");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult += "<hr/>";
- Hb = null;
- return sResult;
- } // end function fRed
- function fOrange()
- {
- var sResult = "";
- var Hb = new HashTable();
- //橙色系
- Hb.Add("Orange", "#FF7F00", {En:"Orange", Zh:"橙色"});
- Hb.Add("Amber", "#FFBF00", {En:"Amber", Zh:"琥珀色"});
- Hb.Add("Coral", "#FF7F50", {En:"Coral", Zh:"珊瑚红"});
- Hb.Add("DarkSalmon", "#E9967A", {En:"DarkSalmon", Zh:"暗鲑红"});
- Hb.Add("Gamboge", "#EF9B0F", {En:"Gamboge", Zh:"橙黄色"});
- Hb.Add("InternationalOrange", "#FF4F00", {En:"InternationalOrange", Zh:"国际橙"});
- Hb.Add("Mahogany", "#C04000", {En:"Mahogany", Zh:"桃木红"});
- Hb.Add("Peach", "#FFE5B4", {En:"Peach", Zh:"桃色"});
- Hb.Add("PeachOrange", "#FFCC99", {En:"PeachOrange", Zh:"桃橙色"});
- Hb.Add("PeachYellow", "#FADFAD", {En:"PeachYellow", Zh:"桃黄色"});
- Hb.Add("PinkOrange", "#FF9966", {En:"PinkOrange", Zh:"粉橙色"});
- Hb.Add("Pomegranate", "#F34723", {En:"Pomegranate", Zh:"石榴红"});
- Hb.Add("Pumpkin", "#FF7518", {En:"Pumpkin", Zh:"南瓜色"});
- Hb.Add("Rust", "#B7410E", {En:"Rust", Zh:"铁锈红"});
- Hb.Add("SafetyOrange", "#FF6600", {En:"SafetyOrange", Zh:"SafetyOrange"});
- Hb.Add("Salmon", "#FF8C69", {En:"Salmon", Zh:"鲑红"});
- Hb.Add("Tangerine", "#F28500", {En:"Tangerine", Zh:"橘色"});
- Hb.Add("Tawny", "#CD5700", {En:"Tawny", Zh:"黄褐色"});
- Hb.Add("UneceAmber", "#FF7E00", {En:"UneceAmber", Zh:"UneceAmber"});
- Hb.Add("Vermilion", "#E34234", {En:"Vermilion", Zh:"朱红"});
- Hb.Add("BurntOrange", "#CC5500", {En:"BurntOrange", Zh:"燃橙"});
- Hb.Add("Apricot", "#FBCEB1", {En:"Apricot", Zh:"杏黄"});
- Hb.Add("CarrotOrange", "#ED9121", {En:"CarrotOrange", Zh:"胡萝卜橙"});
- Hb.Add("OrangePeel", "#FFA000", {En:"OrangePeel", Zh:"OrangePeel"});
- Hb.Add("OrangeWeb", "#FFA500", {En:"OrangeWeb", Zh:"橙色"});
- Hb.Add("Brown", "#964B00", {En:"Brown", Zh:"褐色"});
- Hb.Add("Persimmon", "#ED6E3D", {En:"Persimmon", Zh:"柿子橙"});
- Hb.Add("SunOrange", "#F18D00", {En:"SunOrange", Zh:"阳橙"});
- Hb.Add("TropicalOrange", "#F39839", {En:"TropicalOrange", Zh:"热带橙"});
- Hb.Add("HoneyOrange", "#F9C270", {En:"HoneyOrange", Zh:"密橙"});
- Hb.Add("Apricot1", "#E5A96B", {En:"Apricot1", Zh:"杏黄"});
- Hb.Add("SandBeige", "#ECD6CA", {En:"SandBeige", Zh:"沙棕"});
- Hb.Add("Beige", "#E3CCA9", {En:"Beige", Zh:"棕"});
- Hb.Add("PaleOcre", "#D3B78F", {En:"PaleOcre", Zh:"灰土"});
- Hb.Add("Camel", "#B58654", {En:"Camel", Zh:"驼"});
- Hb.Add("CocountBrown", "#6A3315", {En:"CocountBrown", Zh:"椰褐"});
- var sIdentifier = "Orange";
- sResult += fShowAncharNav(sIdentifier, "橙色系");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fOrange
- function fYellow()
- {
- var sResult = "";
- var Hb = new HashTable();
- //黄色系
- Hb.Add("Amber", "#FFBF00", {En:"Amber", Zh:"琥珀色"});
- Hb.Add("Beige", "#F5F5DC", {En:"Beige", Zh:"棕色"});
- Hb.Add("Buff", "#F0DC82", {En:"Buff", Zh:"暗黄色"});
- Hb.Add("Corn", "#FBEC5D", {En:"Corn", Zh:"玉米色"});
- Hb.Add("Cream", "#FFFDD0", {En:"Cream", Zh:"奶油色"});
- Hb.Add("DarkGoldenrod", "#B8860B", {En:"DarkGoldenrod", Zh:"暗金菊色"});
- Hb.Add("Ecru", "#CDB891", {En:"Ecru", Zh:"淡褐色"});
- Hb.Add("Flax", "#EEDC82", {En:"Flax", Zh:"亚麻色"});
- Hb.Add("Gamboge", "#EF9B0F", {En:"Gamboge", Zh:"藤黄"});
- Hb.Add("Golden", "#FFD700", {En:"Golden", Zh:"金色"});
- Hb.Add("Goldenrod", "#DAA520", {En:"Goldenrod", Zh:"金菊色"});
- Hb.Add("Khaki", "#C3B091", {En:"Khaki", Zh:"暗卡奇色"});
- Hb.Add("Lemon", "#FDE910", {En:"Lemon", Zh:"柠檬色"});
- Hb.Add("LemonChiffon", "#FFFACD", {En:"LemonChiffon", Zh:"柠檬绸色"});
- Hb.Add("Lime", "#BFFF00", {En:"Lime", Zh:"柠檬绿"});
- Hb.Add("Mustard", "#FFDB58", {En:"Mustard", Zh:"芥末黄"});
- Hb.Add("NavajoWhite", "#FFDEAD", {En:"NavajoWhite", Zh:"那瓦霍白"});
- Hb.Add("OldGold", "#CFB53B", {En:"OldGold", Zh:"深黄色"});
- Hb.Add("Olive", "#808000", {En:"Olive", Zh:"橄榄色"});
- Hb.Add("PapayaWhip", "#FFEFD5", {En:"PapayaWhip", Zh:"番木瓜色"});
- Hb.Add("PeachYellow", "#FADFAD", {En:"PeachYellow", Zh:"桃黄色"});
- Hb.Add("Pear", "#D1E231", {En:"Pear", Zh:"梨色"});
- Hb.Add("Saffron", "#F4C430", {En:"Saffron", Zh:"橙黄色"});
- Hb.Add("SchoolBusYellow", "#FFD800", {En:"SchoolBusYellow", Zh:"SchoolBusYellow"});
- Hb.Add("SelectiveYellow", "#FFBA00", {En:"SelectiveYellow", Zh:"SelectiveYellow"});
- Hb.Add("TangerineYellow", "#FFCC00", {En:"TangerineYellow", Zh:"橘黄色"});
- Hb.Add("Yellow", "#FFFF00", {En:"Yellow", Zh:"黄色"});
- Hb.Add("Apricot", "#FBCEB1", {En:"Apricot", Zh:"杏黄"});
- Hb.Add("MetallicGold", "#D4AF37", {En:"MetallicGold", Zh:"金属黄"});
- Hb.Add("ChartreuseYellow", "#DFFF00", {En:"ChartreuseYellow", Zh:"查特酒黄"});
- Hb.Add("GoldenYellow", "#FFDF00", {En:"GoldenYellow", Zh:"金黄色"});
- Hb.Add("GoldenPoppy", "#FCC200", {En:"GoldenPoppy", Zh:"罂粟黄"});
- Hb.Add("GreenYellow", "#ADFF2F", {En:"GreenYellow", Zh:"绿黄"});
- Hb.Add("Marigold", "#F7AB00", {En:"Marigold", Zh:"万寿菊黄"});
- Hb.Add("ChromeYellow", "#FDD000", {En:"ChromeYellow", Zh:"铭黄"});
- Hb.Add("Jasmine", "#FEDD78", {En:"Jasmine", Zh:"茉莉黄"});
- Hb.Add("Cream1", "#FFEAB4", {En:"Cream1", Zh:"米黄"});
- Hb.Add("Ivory", "#EBE5D1", {En:"Ivory", Zh:"乳白"});
- Hb.Add("ChampagneYellow", "#FFF8B1", {En:"ChampagneYellow", Zh:"香槟黄"});
- Hb.Add("MoonYellow", "#FFF463", {En:"MoonYellow", Zh:"月光黄"});
- Hb.Add("CanaryYellow", "#FFF100", {En:"CanaryYellow", Zh:"鲜黄"});
- Hb.Add("Mimosa", "#EDD443", {En:"Mimosa", Zh:"含羞草黄"});
- Hb.Add("Ocher", "#C48F00", {En:"Ocher", Zh:"黄褐"});
- Hb.Add("Khaki1", "#B08827", {En:"Khaki1", Zh:"土黄"});
- var sIdentifier = "Yellow";
- sResult += fShowAncharNav(sIdentifier, "黄色系");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fYellow
- function fGreen()
- {
- var sResult = "";
- var Hb = new HashTable();
- //绿色系
- Hb.Add("Asparagus", "#7BA05B", {En:"Asparagus", Zh:"芦笋色"});
- Hb.Add("BrightGreen", "#66FF00", {En:"BrightGreen", Zh:"明绿"});
- Hb.Add("CamouflageGreen", "#78866B", {En:"CamouflageGreen", Zh:"CamouflageGreen"});
- Hb.Add("Celadon", "#ACE1AF", {En:"Celadon", Zh:"青瓷色"});
- Hb.Add("Chartreuse", "#7FFF00", {En:"Chartreuse", Zh:"查特酒绿"});
- Hb.Add("Emerald", "#50C878", {En:"Emerald", Zh:"碧绿"});
- Hb.Add("FernGreen", "#4F7942", {En:"FernGreen", Zh:"蕨绿色"});
- Hb.Add("GrayAsparagus", "#465945", {En:"GrayAsparagus", Zh:"芦笋灰"});
- Hb.Add("Green", "#00FF00", {En:"Green", Zh:"绿色"});
- Hb.Add("GreenYellow", "#ADFF2F", {En:"GreenYellow", Zh:"绿黄色"});
- Hb.Add("Jade", "#00A86B", {En:"Jade", Zh:"翡翠绿"});
- Hb.Add("JungleGreen", "#29AB87", {En:"JungleGreen", Zh:"丛林绿"});
- Hb.Add("Lime", "#BFFF00", {En:"Lime", Zh:"柠檬绿"});
- Hb.Add("MossGreen", "#ADDFAD", {En:"MossGreen", Zh:"苔藓绿"});
- Hb.Add("Myrtle", "#21421E", {En:"Myrtle", Zh:"长春花"});
- Hb.Add("Olive", "#808000", {En:"Olive", Zh:"橄榄色"});
- Hb.Add("OliveDrab", "#6B8E23", {En:"OliveDrab", Zh:"橄榄军服绿"});
- Hb.Add("Pear", "#D1E231", {En:"Pear", Zh:"梨色"});
- Hb.Add("PineGreen", "#01796F", {En:"PineGreen", Zh:"松绿"});
- Hb.Add("SeaGreen", "#2E8B57", {En:"SeaGreen", Zh:"海绿"});
- Hb.Add("SpringGreen", "#00FF7F", {En:"SpringGreen", Zh:"春绿"});
- Hb.Add("SwampGreen", "#ACB78E", {En:"SwampGreen", Zh:"沼泽绿"});
- Hb.Add("TeaGreen", "#D0F0C0", {En:"TeaGreen", Zh:"茶绿"});
- Hb.Add("ForestGreen", "#228B22", {En:"ForestGreen", Zh:"森林绿"});
- //追加
- Hb.Add("AppleGreen", "#9EBD19", {En:"AppleGreen", Zh:"苹果绿"});
- Hb.Add("FreshLeaves", "#A9D06B", {En:"FreshLeaves", Zh:"嫩绿"});
- Hb.Add("FoliageGreen", "#87A256", {En:"FoliageGreen", Zh:"叶绿"});
- Hb.Add("GrassGreen", "#AAC468", {En:"GrassGreen", Zh:"草绿"});
- Hb.Add("MossGreen", "#888637", {En:"MossGreen", Zh:"苔藓绿"});
- Hb.Add("IvyGreen", "#3D7D53", {En:"IvyGreen", Zh:"常春藤绿"});
- Hb.Add("CobaltGreen", "#6ABD78", {En:"CobaltGreen", Zh:"钴绿"});
- Hb.Add("TurquoiseGreen", "#42AB91", {En:"TurquoiseGreen", Zh:"绿松石绿"});
- Hb.Add("CeladonGreen", "#7BB99B", {En:"CeladonGreen", Zh:"青瓷绿"});
- Hb.Add("Malachite", "#7BB99B", {En:"Malachite", Zh:"孔雀石绿"});
- Hb.Add("Mint", "#007850", {En:"Mint", Zh:"薄荷绿"});
- Hb.Add("Viridian", "#006550", {En:"Viridian", Zh:"铭绿"});
- Hb.Add("PeacockGreen", "#008077", {En:"PeacockGreen", Zh:"孔雀绿"});
- var sIdentifier = "Green";
- sResult += fShowAncharNav(sIdentifier, "绿色系");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fGreen
- function fBlueCyan()
- {
- var sResult = "";
- var Hb = new HashTable();
- // 青蓝色系
- Hb.Add("HorizonBlue", "#B0DCD5", {En:"HorizonBlue", Zh:"苍"});
- Hb.Add("LightSkyBlue", "#A1D8E6", {En:"LightSkyBlue", Zh:"亮天蓝"});
- Hb.Add("AquaBlue", "#59C3E2", {En:"AquaBlue", Zh:"水蓝"});
- Hb.Add("AzureBlue", "#22AEE6", {En:"AzureBlue", Zh:"湛蓝"});
- Hb.Add("SkyBlue", "#94C6D0", {En:"SkyBlue", Zh:"天蓝"});
- Hb.Add("BabyBlue", "#B1D4DB", {En:"BabyBlue", Zh:"浅蓝"});
- Hb.Add("PaleBlue", "#8BB0CD", {En:"PaleBlue", Zh:"灰蓝"});
- Hb.Add("SaxeBlue", "#4C8DB5", {En:"SaxeBlue", Zh:"萨克斯蓝"});
- Hb.Add("Aquamarine", "#2983B1", {En:"Aquamarine", Zh:"碧蓝"});
- Hb.Add("TurquoiseBlue", "#00A4C5", {En:"TurquoiseBlue", Zh:"绿松石蓝"});
- Hb.Add("CyanBlue", "#008890", {En:"CyanBlue", Zh:"青蓝"});
- Hb.Add("PeacockBlue", "#006980", {En:"PeacockBlue", Zh:"孔雀蓝"});
- Hb.Add("CeruleanBlue", "#007BBB", {En:"CeruleanBlue", Zh:"蔚蓝"});
- Hb.Add("CobaltBlue", "#005DAC", {En:"CobaltBlue", Zh:"钴蓝"});
- Hb.Add("Ultramarine", "#004098", {En:"Ultramarine", Zh:"深海蓝"});
- Hb.Add("RoyalBlue", "#1E50A2", {En:"RoyalBlue", Zh:"品蓝"});
- var sIdentifier = "BlueCyan";
- sResult += fShowAncharNav(sIdentifier, "青蓝色系");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fBlueCyan
- function fCyan()
- {
- var sResult = "";
- var Hb = new HashTable();
- //青色系
- Hb.Add("AliceBlue", "#F0F8FF", {En:"AliceBlue", Zh:"爱丽丝蓝"});
- Hb.Add("Aqua", "#00FFFF", {En:"Aqua", Zh:"水色"});
- Hb.Add("Aquamarine", "#7FFFD4", {En:"Aquamarine", Zh:"碧蓝色"});
- Hb.Add("BabyBlue", "#E0FFFF", {En:"BabyBlue", Zh:"浅蓝"});
- Hb.Add("BondiBlue", "#0095B6", {En:"BondiBlue", Zh:"BondiBlue"});
- Hb.Add("Cerulean", "#007BA7", {En:"Cerulean", Zh:"天蓝色"});
- Hb.Add("Cyan", "#00B7EB", {En:"Cyan", Zh:"青色"});
- Hb.Add("ElectricBlue", "#7DF9FF", {En:"ElectricBlue", Zh:"ElectricBlue"});
- Hb.Add("PineGreen", "#01796F", {En:"PineGreen", Zh:"松绿"});
- Hb.Add("RobinEggBlue", "#00CCCC", {En:"RobinEggBlue", Zh:"知更鸟蛋"});
- Hb.Add("Teal", "#008080", {En:"Teal", Zh:"凫绿"});
- Hb.Add("Turquoise", "#30D5C8", {En:"Turquoise", Zh:"绿松石绿"});
- Hb.Add("Viridian", "#40826D", {En:"Viridian", Zh:"Viridian"});
- var sIdentifier = "Cyan";
- sResult += fShowAncharNav(sIdentifier, "青色系");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fCyan
- function fBlue()
- {
- var sResult = "";
- var Hb = new HashTable();
- // 蓝色系
- Hb.Add("AliceBlue", "#F0F8FF", {En:"AliceBlue", Zh:"爱丽丝蓝"});
- Hb.Add("Azure", "#007FFF", {En:"Azure", Zh:"天蓝色"});
- Hb.Add("BabyBlue", "#E0FFFF", {En:"BabyBlue", Zh:"粉末蓝"});
- Hb.Add("Blue", "#0000FF", {En:"Blue", Zh:"蓝色"});
- Hb.Add("Cerulean", "#007BA7", {En:"Cerulean", Zh:"蔚蓝色"});
- Hb.Add("CeruleanBlue", "#2A52BE", {En:"CeruleanBlue", Zh:"天青蓝"});
- Hb.Add("CobaltBlue", "#0047AB", {En:"CobaltBlue", Zh:"钴蓝色"});
- Hb.Add("CornflowerBlue", "#6495ED", {En:"CornflowerBlue", Zh:"矢车菊蓝"});
- Hb.Add("DarkBlue", "#0000C8", {En:"DarkBlue", Zh:"深蓝色"});
- Hb.Add("Denim", "#1560BD", {En:"Denim", Zh:"丹宁布色"});
- Hb.Add("DodgerBlue", "#1E90FF", {En:"DodgerBlue", Zh:"道奇蓝"});
- Hb.Add("Indigo", "#4B0082", {En:"Indigo", Zh:"靛青色"});
- Hb.Add("InternationalKleinBlue", "#002FA7", {En:"InternationalKleinBlue", Zh:"国际奇连蓝"});
- Hb.Add("LightBlue", "#ADD8E6", {En:"LightBlue", Zh:"深蓝色"});
- Hb.Add("MidnightBlue", "#003366", {En:"MidnightBlue", Zh:"午夜蓝"});
- Hb.Add("NavyBlue", "#000080", {En:"NavyBlue", Zh:"海军蓝"});
- Hb.Add("Periwinkle", "#CCCCFF", {En:"Periwinkle", Zh:"长春花色"});
- Hb.Add("PersianBlue", "#1C39BB", {En:"PersianBlue", Zh:"波斯蓝"});
- Hb.Add("PowderBlue", "#B0E0E6", {En:"PowderBlue", Zh:"粉末蓝"});
- Hb.Add("PrussianBlue", "#003153", {En:"PrussianBlue", Zh:"普鲁士蓝"});
- Hb.Add("RoyalBlue", "#084C9E", {En:"RoyalBlue", Zh:"皇室蓝"});
- Hb.Add("Sapphire", "#082567", {En:"Sapphire", Zh:"青玉色"});
- Hb.Add("SteelBlue", "#4682B4", {En:"SteelBlue", Zh:"钢青色"});
- Hb.Add("Ultramarine", "#120A8F", {En:"Ultramarine", Zh:"群青色"});
- var sIdentifier = "Blue";
- sResult += fShowAncharNav(sIdentifier, "蓝色系");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fBlue
- function fIndigo()
- {
- var sResult = "";
- var Hb = new HashTable();
- // 靛青色系
- Hb.Add("LapisLazuli", "#134098", {En:"LapisLazuli", Zh:"天青石靛"});
- Hb.Add("SalviaBlue", "#5B77AF", {En:"SalviaBlue", Zh:"鼠尾草蓝"});
- Hb.Add("WedgwoodBlue", "#6684B0", {En:"WedgwoodBlue", Zh:"韦奇伍德瓷蓝"});
- Hb.Add("SlateBlue", "#527AA3", {En:"SlateBlue", Zh:"岩蓝"});
- Hb.Add("SapphireBlue", "#005789", {En:"SapphireBlue", Zh:"宝石蓝"});
- Hb.Add("MineralBlue", "#005178", {En:"MineralBlue", Zh:"矿蓝"});
- Hb.Add("StrongBlue", "#005978", {En:"StrongBlue", Zh:"浓蓝"});
- Hb.Add("MarineBlue", "#00456B", {En:"MarineBlue", Zh:"水手蓝"});
- Hb.Add("NavyBlue", "#001954", {En:"NavyBlue", Zh:"藏青"});
- Hb.Add("Indigo", "#002E5A", {En:"Indigo", Zh:"靛青"});
- Hb.Add("DarkMineralBlue", "#38426A", {En:"DarkMineralBlue", Zh:"暗矿蓝"});
- Hb.Add("MidnightBlue", "#04163A", {En:"MidnightBlue", Zh:"午夜蓝"});
- var sIdentifier = "Indigo";
- sResult += fShowAncharNav(sIdentifier, "靛青色系");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fIndigo
- function fViolet()
- {
- var sResult = "";
- var Hb = new HashTable();
- // 紫色系
- Hb.Add("Amethyst", "#9966CC", {En:"Amethyst", Zh:"紫水晶"});
- Hb.Add("Cerise", "#DE3163", {En:"Cerise", Zh:"樱桃红"});
- Hb.Add("Eggplant", "#990066", {En:"Eggplant", Zh:"茄色"});
- Hb.Add("Fuchsia", "#FF00FF", {En:"Fuchsia", Zh:"品红"});
- Hb.Add("Heliotrope", "#DF73FF", {En:"Heliotrope", Zh:"缬草紫"});
- Hb.Add("Indigo", "#4B0082", {En:"Indigo", Zh:"靛色"});
- Hb.Add("Lavender", "#B57EDC", {En:"Lavender", Zh:"薰衣草紫"});
- Hb.Add("LavenderBlush", "#FFF0F5", {En:"LavenderBlush", Zh:"薰衣草紫红"});
- Hb.Add("LavenderGray", "#BDBBD7", {En:"LavenderGray", Zh:"薰衣草灰"});
- Hb.Add("LavenderRose", "#FBA0E3", {En:"LavenderRose", Zh:"LavenderRose"});
- Hb.Add("Lilac", "#C8A2C8", {En:"Lilac", Zh:"淡紫丁香色"});
- Hb.Add("Magenta", "#FF00FF", {En:"Magenta", Zh:"洋红"});
- Hb.Add("Mauve", "#E0B0FF", {En:"Mauve", Zh:"木槿紫"});
- Hb.Add("MountbattenPink", "#997A8D", {En:"MountbattenPink", Zh:"MountbattenPin"});
- Hb.Add("Orchid", "#DA70D6", {En:"Orchid", Zh:"兰紫"});
- Hb.Add("PalatinatePurple", "#682860", {En:"PalatinatePurple", Zh:"巴拉丁紫"});
- Hb.Add("PersianIndigo", "#32127A", {En:"PersianIndigo", Zh:"波斯靛青"});
- Hb.Add("Purple", "#660099", {En:"Purple", Zh:"紫色"});
- Hb.Add("RedViolet", "#C71585", {En:"RedViolet", Zh:"紫红"});
- Hb.Add("Rose", "#FF007F", {En:"Rose", Zh:"玫瑰红"});
- Hb.Add("Thistle", "#D8BFD8", {En:"Thistle", Zh:"蓟紫"});
- Hb.Add("Violet", "#8B00FF", {En:"Violet", Zh:"紫色"});
- Hb.Add("VioletEggplant", "#991199", {En:"VioletEggplant", Zh:"茄子紫"});
- Hb.Add("Wisteria", "#C9A0DC", {En:"Wisteria", Zh:"紫藤"});
- Hb.Add("Wisterial1", "#735B9F", {En:"Wisterial1", Zh:"紫藤"});
- Hb.Add("Clematics", "#D8BFCB", {En:"Clematics", Zh:"铁钱莲紫"});
- Hb.Add("Heliotrope", "#6F196F", {En:"Heliotrope", Zh:"缬草紫"});
- Hb.Add("MineralViolet", "#C5AFC0", {En:"MineralViolet", Zh:"矿紫"});
- Hb.Add("Pansy", "#8B0062", {En:"Pansy", Zh:"三色堇紫"});
- Hb.Add("Mallow", "#D369A4", {En:"Mallow", Zh:"锦葵紫"});
- Hb.Add("Orchid", "#D188A8", {En:"Orchid", Zh:"兰紫"});
- Hb.Add("PailLilac", "#EDE0E6", {En:"PailLilac", Zh:"淡紫丁香"});
- Hb.Add("GrayishPurple", "#9D899D", {En:"GrayishPurple", Zh:"浅灰紫"});
- var sIdentifier = "Violet";
- sResult += fShowAncharNav(sIdentifier, "紫色系");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fViolet
- function fPink()
- {
- var sResult = "";
- var Hb = new HashTable();
- // 粉红色系
- Hb.Add("Pink", "#FFCBDB", {En:"Pink", Zh:"粉红"});
- Hb.Add("Camation", "#F95A61", {En:"Camation", Zh:"康乃馨红"});
- Hb.Add("Fuchsia", "#FF00FF", {En:"Fuchsia", Zh:"品红"});
- Hb.Add("Magenta", "#EF0090", {En:"Magenta", Zh:"洋红"});
- Hb.Add("SalmonPink", "#FF91A4", {En:"SalmonPink", Zh:"浅鲑红"});
- Hb.Add("DeepPink", "#FF1493", {En:"DeepPink", Zh:"深粉红"});
- Hb.Add("HollywodCerise", "#F400A1", {En:"HollywodCerise", Zh:"好莱坞樱桃色"});
- Hb.Add("HotPink", "#FF69B4", {En:"HotPink", Zh:"暖粉红"});
- Hb.Add("MediumPink", "#FFB6C1", {En:"MediumPink", Zh:"中粉红色"});
- Hb.Add("ShockingPink", "#FC0FC0", {En:"ShockingPink", Zh:"ShockingPink"});
- Hb.Add("CheeryBlossomPink", "#F6ADD6", {En:"CheeryBlossomPink", Zh:"CheeryBlossomPink"});
- Hb.Add("CoralPink", "#F88379", {En:"CoralPink", Zh:"浅珊瑚红"});
- Hb.Add("FrenchRose", "#F64A8A", {En:"FrenchRose", Zh:"法兰西玫瑰色"});
- Hb.Add("LavenderPink", "#FBAED2", {En:"LavenderPink", Zh:"浅薰衣草色"});
- Hb.Add("CarminePink", "#FE28A2", {En:"CarminePink", Zh:"浅胭脂红"});
- Hb.Add("CerisePink", "#EB4C42", {En:"CerisePink", Zh:"浅樱桃红"});
- Hb.Add("FuchisaPink", "#EC3B83", {En:"FuchisaPink", Zh:"浅品红"});
- Hb.Add("JapanesePink", "#EC3B83", {En:"JapanesePink", Zh:"日本粉红"});
- Hb.Add("PersianPink", "#F77FBE", {En:"PersianPink", Zh:"波斯粉红"});
- Hb.Add("DarkPink", "#E75480", {En:"DarkPink", Zh:"深粉红"});
- Hb.Add("HotMagenta", "#FF00CC", {En:"HotMagenta", Zh:"暖洋红"});
- Hb.Add("LavenderRose", "#FBA0E3", {En:"LavenderRose", Zh:"深薰衣草"});
- Hb.Add("Rose", "#FF007F", {En:"Rose", Zh:"玫瑰红"});
- Hb.Add("ThulianPink", "#DE6FA1", {En:"ThulianPink", Zh:"ThulianPink"});
- Hb.Add("Amaranth", "#E52B50", {En:"Amaranth", Zh:"紫红色"});
- Hb.Add("LightThulianPink", "#E68FAC", {En:"LightThulianPink", Zh:"LightThulianPink"});
- Hb.Add("Puce", "#CC8899", {En:"Puce", Zh:"红褐色"});
- Hb.Add("RosePink", "#FF66CC", {En:"RosePink", Zh:"红褐色"});
- Hb.Add("TeaRose", "#F4C2C2", {En:"TeaRose", Zh:"深茶色"});
- Hb.Add("AmaranthPink", "#F19CBB", {En:"AmaranthPink", Zh:"浅紫红色"});
- Hb.Add("BrinkPink", "#FB607F", {En:"BrinkPink", Zh:"BrinkPink"});
- Hb.Add("Cerise", "#DE3163", {En:"Cerise", Zh:"樱桃红"});
- Hb.Add("DeepCarminePink", "#EF3038", {En:"DeepCarminePink", Zh:"DeepCarminePink"});
- Hb.Add("UltraPink", "#FF6FFF", {En:"UltraPink", Zh:"浓粉红"});
- var sIdentifier = "Pink";
- sResult += fShowAncharNav(sIdentifier, "粉红色系");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fPink
- function fBrown()
- {
- var sResult = "";
- var Hb = new HashTable();
- // 褐色系
- Hb.Add("Auburn", "#712F26", {En:"Auburn", Zh:"赤褐色"});
- Hb.Add("Bistre", "#3D2B1F", {En:"Bistre", Zh:"Bistre"});
- Hb.Add("Brown", "#964B00", {En:"Brown", Zh:"褐色"});
- Hb.Add("Buff", "#F0DC82", {En:"Buff", Zh:"暗黄色"});
- Hb.Add("Burgundy", "#900020", {En:"Burgundy", Zh:"勃艮第酒红"});
- Hb.Add("BurntSienna", "#E97451", {En:"BurntSienna", Zh:"燃黄褐色"});
- Hb.Add("BurntUmber", "#8A3324", {En:"BurntUmber", Zh:"燃棕色"});
- Hb.Add("Copper", "#B87333", {En:"Copper", Zh:"红铜色"});
- Hb.Add("Liver", "#534B4F", {En:"Liver", Zh:"脏红"});
- Hb.Add("Mahogany", "#C04000", {En:"Mahogany", Zh:"红褐色"});
- Hb.Add("Maroon", "#800000", {En:"Maroon", Zh:"栗色"});
- Hb.Add("Ochre", "#CC7722", {En:"Ochre", Zh:"赭色"});
- Hb.Add("PaleBrown", "#987654", {En:"PaleBrown", Zh:"灰褐色"});
- Hb.Add("RawUmber", "#734A12", {En:"RawUmber", Zh:"RawUmber"});
- Hb.Add("Russet", "#80461B", {En:"Russet", Zh:"黄褐色"});
- Hb.Add("Rust", "#B7410E", {En:"Rust", Zh:"铁锈红"});
- Hb.Add("SandyBrown", "#F4A460", {En:"SandyBrown", Zh:"浅褐色"});
- Hb.Add("SealBrown", "#321414", {En:"SealBrown", Zh:"SealBrown"});
- Hb.Add("Sepia", "#704214", {En:"Sepia", Zh:"乌贼墨色"});
- Hb.Add("Tan", "#D2B48C", {En:"Tan", Zh:"日晒色"});
- Hb.Add("Wheat", "#F5DEB3", {En:"Wheat", Zh:"小麦色"});
- Hb.Add("Zinnwaldite", "#EBC2AF", {En:"Zinnwaldite", Zh:"Zinnwaldite"});
- Hb.Add("Fallow", "#C19A6B", {En:"Fallow", Zh:"淡棕色"});
- Hb.Add("Bole", "#79443B", {En:"Bole", Zh:"玄红色"});
- Hb.Add("Taupe", "#483C32", {En:"Taupe", Zh:"暗灰褐色"});
- Hb.Add("MediumTaupe", "#674C47", {En:"MediumTaupe", Zh:"中暗灰褐色"});
- Hb.Add("PaleTaupe", "#BC987E", {En:"PaleTaupe", Zh:"灰暗灰褐色"});
- Hb.Add("DarkKhaki", "#BDB76B", {En:"DarkKhaki", Zh:"暗卡其色"});
- Hb.Add("Khaki", "#C3B091", {En:"Khaki", Zh:"卡其色"});
- Hb.Add("LightKhaki", "#F0E68C", {En:"LightKhaki", Zh:"亮卡其色"});
- Hb.Add("SandyTaupe", "#967117", {En:"SandyTaupe", Zh:"软暗灰褐色"});
- Hb.Add("Ecru", "#CDB891", {En:"Ecru", Zh:"淡褐色"});
- Hb.Add("Beige", "#F5F5DC", {En:"Beige", Zh:"棕色"});
- var sIdentifier = "Brown";
- sResult += fShowAncharNav(sIdentifier, "褐色系");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fBrown
- function fGrey()
- {
- var sResult = "";
- var Hb = new HashTable();
- // 灰色系
- Hb.Add("Grey", "#808080", {En:"Grey", Zh:"灰色"});
- Hb.Add("Arsenic", "#3B444B", {En:"Arsenic", Zh:"砒霜"});
- Hb.Add("Bistre", "#3D2B1F", {En:"Bistre", Zh:"Bistre"});
- Hb.Add("Black", "#000000", {En:"Black", Zh:"黑色"});
- Hb.Add("Charcoal", "#464646", {En:"Charcoal", Zh:"深灰色"});
- Hb.Add("Davy'sGrey", "#788878", {En:"Davy'sGrey", Zh:"Davy'sGrey"});
- Hb.Add("Feldgrau", "#4D5D53", {En:"Feldgrau", Zh:"Feldgrau"});
- Hb.Add("Liver", "#534B4F", {En:"Liver", Zh:"脏红"});
- Hb.Add("Payne'sGrey", "#404048", {En:"Payne'sGrey", Zh:"佩恩灰"});
- Hb.Add("SealBrown", "#321414", {En:"SealBrown", Zh:"SealBrown"});
- Hb.Add("Silver", "#C0C0C0", {En:"Silver", Zh:"银色"});
- Hb.Add("SlateGrey", "#708090", {En:"SlateGrey", Zh:"岩灰"});
- Hb.Add("Taupe", "#483C32", {En:"Taupe", Zh:"暗灰褐色"});
- Hb.Add("PurpleTaupe", "#50404D", {En:"PurpleTaupe", Zh:"紫暗灰褐色"});
- Hb.Add("MediumTaupe", "#674C47", {En:"MediumTaupe", Zh:"中暗灰褐色"});
- Hb.Add("TaupeGrey", "#8B8589", {En:"TaupeGrey", Zh:"浅暗灰褐色"});
- Hb.Add("PaleTaupe", "#BC987E", {En:"PaleTaupe", Zh:"灰暗灰褐色"});
- Hb.Add("White", "#FFFFFF", {En:"White", Zh:"白色"});
- //追加
- Hb.Add("DarkGray", "#1A1A1A", {En:"DarkGray", Zh:"暗灰"});
- Hb.Add("CharcoalGray", "#333333", {En:"CharcoalGray", Zh:"炭灰"});
- Hb.Add("DimGray", "#4D4D4D", {En:"DimGray", Zh:"昏灰"});
- Hb.Add("Gray60Perc", "#666666", {En:"Gray60Perc", Zh:"六十度灰"});
- Hb.Add("Gray50Perc", "#808080", {En:"Gray50Perc", Zh:"五十度灰"});
- Hb.Add("Gray40Perc", "#999999", {En:"Gray40Perc", Zh:"四十度灰"});
- Hb.Add("Gray30Perc", "#B3B3B3", {En:"Gray30Perc", Zh:"三十度灰"});
- Hb.Add("Gray20Perc", "#CCCCCC", {En:"Gray20Perc", Zh:"二十度灰"});
- Hb.Add("Gray10Perc", "#E6E6E6", {En:"Gray10Perc", Zh:"十度灰"});
- var sIdentifier = "Grey";
- sResult += fShowAncharNav(sIdentifier, "灰色系");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fGrey
- function fWhite()
- {
- var sResult = "";
- var Hb = new HashTable();
- // 白色系
- Hb.Add("White", "#FFFFFF", {En:"White", Zh:"白色"});
- Hb.Add("Cream", "#FFFDD0", {En:"Cream", Zh:"奶油色"});
- Hb.Add("CosmicLatte", "#FFF8E7", {En:"CosmicLatte", Zh:"CosmicLatte"});
- Hb.Add("Ivory", "#FFFFF0", {En:"Ivory", Zh:"象牙色"});
- Hb.Add("Magnolia", "#F8F4FF", {En:"Magnolia", Zh:"木兰色"});
- Hb.Add("OldLace", "#FDF5E6", {En:"OldLace", Zh:"深蕾丝色"});
- Hb.Add("Seashell", "#FFF5EE", {En:"Seashell", Zh:"海贝色"});
- var sIdentifier = "White";
- sResult += fShowAncharNav(sIdentifier, "白色系");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fWhite
- function fWeb()
- {
- var sResult = "";
- var Hb = new HashTable();
- // Web
- Hb.Add("LightGray", "#D3D3D3", {En:"LightGray", Zh:"亮灰"});
- Hb.Add("Gainsboro", "#DCDCDC", {En:"Gainsboro", Zh:"庚斯博罗灰"});
- Hb.Add("WhiteSmoke", "#DCDCDC", {En:"WhiteSmoke", Zh:"白烟色"});
- Hb.Add("Snow", "#FFFAFA", {En:"Snow", Zh:"雪色"});
- Hb.Add("RosyBrown", "#BC8F8F", {En:"RosyBrown", Zh:"玫瑰褐"});
- Hb.Add("IndianRed", "#CD5C5C", {En:"IndianRed", Zh:"印度红"});
- Hb.Add("FireBrick", "#B22222", {En:"FireBrick", Zh:"耐火砖红"});
- Hb.Add("DarkRed", "#8B0000", {En:"DarkRed", Zh:"暗红"});
- Hb.Add("MistyRose", "#FFE4E1", {En:"MistyRose", Zh:"雾玫瑰色"});
- Hb.Add("Tomato", "#FF6347", {En:"Tomato", Zh:"番茄红"});
- Hb.Add("Sienna", "#A0522D", {En:"Sienna", Zh:"黄土赭"});
- Hb.Add("SaddleBrown", "#8B4513", {En:"SaddleBrown", Zh:"鞍褐"});
- Hb.Add("Chocolate", "#D2691E", {En:"Chocolate", Zh:"巧克力色"});
- Hb.Add("PeachPuff", "#FFDAB9", {En:"PeachPuff", Zh:"粉扑桃色"});
- Hb.Add("Bronze", "#B87333", {En:"Bronze", Zh:"古铜色"});
- Hb.Add("Linen", "#FAF0E6", {En:"Linen", Zh:"亚麻色"});
- Hb.Add("Peru", "#CD853F", {En:"Peru", Zh:"秘鲁色"});
- Hb.Add("Bisque", "#FFE4C4", {En:"Bisque", Zh:"陶坯黄"});
- Hb.Add("DarkOrange", "#FF8C00", {En:"DarkOrange", Zh:"暗橙"});
- Hb.Add("AntiqueWhite", "#FAEBD7", {En:"AntiqueWhite", Zh:"古董白"});
- Hb.Add("Tan", "#D2B48C", {En:"Tan", Zh:"日晒色"});
- Hb.Add("BurlyWood", "#DEB887", {En:"BurlyWood", Zh:"硬木色"});
- Hb.Add("BlanchedAlmond", "#FFEBCD", {En:"BlanchedAlmond", Zh:"杏仁白"});
- Hb.Add("NavajoWhite", "#FFDEAD", {En:"NavajoWhite", Zh:"那瓦霍白"});
- Hb.Add("PaleOcre", "#CCB38C", {En:"PaleOcre", Zh:"灰土色"});
- Hb.Add("Moccasin", "#FFE4B5", {En:"Moccasin", Zh:"鹿皮鞋色"});
- Hb.Add("FloralWhite", "#FFFAF0", {En:"FloralWhite", Zh:"花卉白"});
- Hb.Add("Coffee", "#4D3900", {En:"Coffee", Zh:"咖啡色"});
- Hb.Add("Comsilk", "#FFF8DC", {En:"Comsilk", Zh:"玉米丝色"});
- Hb.Add("PaleGoldenrod", "#EEE8AA", {En:"PaleGoldenrod", Zh:"灰金菊色"});
- Hb.Add("Ivory", "#FFFFF0", {En:"Ivory", Zh:"象牙色"});
- Hb.Add("LightYellow", "#FFFFE0", {En:"LightYellow", Zh:"亮黄"});
- Hb.Add("LightGoldenrodYellow", "#FAFAD2", {En:"LightGoldenrodYellow", Zh:"亮金菊黄"});
- Hb.Add("DarkOliveGreen", "#556B2F", {En:"DarkOliveGreen", Zh:"暗橄榄绿"});
- Hb.Add("LawnGreen", "#7CFC00", {En:"LawnGreen", Zh:"草坪绿"});
- Hb.Add("Honeydew", "#F0FFF0", {En:"Honeydew", Zh:"密瓜绿"});
- Hb.Add("DarkSeaGreen", "#8FBC8F", {En:"DarkSeaGreen", Zh:"暗海绿"});
- Hb.Add("PaleGreen", "#98FB98", {En:"PaleGreen", Zh:"灰绿"});
- Hb.Add("HorizonBlue", "#A6FFCC", {En:"HorizonBlue", Zh:"苍蓝"});
- Hb.Add("MediumSeaGreen", "#3CB371", {En:"MediumSeaGreen", Zh:"中海绿"});
- Hb.Add("MintCream", "#F5FFFA", {En:"MintCream", Zh:"薄荷奶油色"});
- Hb.Add("MediumSpringGreen", "#00FA9A", {En:"MediumSpringGreen", Zh:"中春绿色"});
- Hb.Add("MediumAquamarine", "#66CDAA", {En:"MediumAquamarine", Zh:"中碧蓝色"});
- Hb.Add("TurquoiseBlue", "#33E6CC", {En:"TurquoiseBlue", Zh:"绿松石蓝"});
- Hb.Add("Turquoise", "#30D5C8", {En:"Turquoise", Zh:"绿松石色"});
- Hb.Add("LightSeaGreen", "#30D5C8", {En:"LightSeaGreen", Zh:"亮海绿"});
- Hb.Add("MediumTurquoise", "#48D1CC", {En:"MediumTurquoise", Zh:"中绿松石色"});
- Hb.Add("LightCyan", "#E0FFFF", {En:"LightCyan", Zh:"亮青"});
- Hb.Add("PaleTurquoise", "#AFEEEE", {En:"PaleTurquoise", Zh:"灰绿松石色"});
- Hb.Add("DarkSlateGray", "#2F4F4F", {En:"DarkSlateGray", Zh:"暗岩灰"});
- Hb.Add("DarkCyan", "#008B8B", {En:"DarkCyan", Zh:"暗青"});
- Hb.Add("DarkTurquoise", "#00CED1", {En:"DarkTurquoise", Zh:"暗绿松石色"});
- Hb.Add("CadetBlue", "#5F9EA0", {En:"CadetBlue", Zh:"军服蓝"});
- Hb.Add("PowderBlue", "#B0E0E6", {En:"PowderBlue", Zh:"婴儿粉蓝"});
- Hb.Add("StrongBlue", "#006374", {En:"StrongBlue", Zh:"浓蓝"});
- Hb.Add("DarpSkyBlue", "#00BFFF", {En:"DarpSkyBlue", Zh:"深天蓝"});
- Hb.Add("LightSkyBlue", "#87CEFA", {En:"LightSkyBlue", Zh:"亮天蓝"});
- Hb.Add("SlateGray", "#708090", {En:"SlateGray", Zh:"岩灰"});
- Hb.Add("LightSlateGray", "#778899", {En:"LightSlateGray", Zh:"亮岩灰"});
- Hb.Add("GhostWhite", "#F8F8FF", {En:"GhostWhite", Zh:"幽灵白"});
- Hb.Add("DarkSlateBlue", "#483D8B", {En:"DarkSlateBlue", Zh:"暗岩蓝"});
- Hb.Add("MediumSlateBlue", "#7B68EE", {En:"MediumSlateBlue", Zh:"岩蓝"});
- Hb.Add("MediumPurple", "#9370DB", {En:"MediumPurple", Zh:"中紫红"});
- Hb.Add("DarkOrchid", "#9932CC", {En:"DarkOrchid", Zh:"暗兰紫"});
- Hb.Add("DarkViolet", "#9400D3", {En:"DarkViolet", Zh:"暗紫"});
- Hb.Add("Plum", "#DDA0DD", {En:"Plum", Zh:"亮紫"});
- Hb.Add("DarkMagenta", "#8B008B", {En:"DarkMagenta", Zh:"暗洋红"});
- Hb.Add("MediumVioletRed", "#C71585", {En:"MediumVioletRed", Zh:"中青紫红"});
- Hb.Add("RoseRed", "#FF0DA6", {En:"RoseRed", Zh:"玫瑰红"});
- Hb.Add("PaleVioletRed", "#DB7093", {En:"PaleVioletRed", Zh:"灰紫红"});
- Hb.Add("LightPink", "#FFB6C1", {En:"LightPink", Zh:"亮粉红"});
- var sIdentifier = "Web";
- sResult += fShowAncharNav(sIdentifier, "Web色");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fWeb
- function fJpRedViolet()
- {
- var sResult = "";
- var Hb = new HashTable();
- // JpRedViolet
- Hb.Add("Ikkonzome", "#F08F90", {En:"Ikkonzome", Zh:"一斤染"});
- Hb.Add("Momo-iro", "#F47983", {En:"Momo-iro", Zh:"桃色"});
- Hb.Add("Kōbai-iro", "#DB5A6B", {En:"Kōbai-iro", Zh:"紅梅色"});
- Hb.Add("Nakabeni", "#C93756", {En:"Nakabeni", Zh:"中紅"});
- Hb.Add("Sakura-iro", "#FCC9B9", {En:"Sakura-iro", Zh:"桜色"});
- Hb.Add("Arazome", "#FFB3A7", {En:"Arazome", Zh:"退紅"});
- Hb.Add("Usubeni", "#F2666C", {En:"Usubeni", Zh:"薄紅"});
- var sIdentifier = "JpRedViolet";
- sResult += fShowAncharNav(sIdentifier, "Jp红紫");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fJpRedViolet
- function fJpRed()
- {
- var sResult = "";
- var Hb = new HashTable();
- // JpRed
- Hb.Add("Tokiha-iro", "#F58F84", {En:"Tokiha-iro", Zh:"鴇羽色"});
- Hb.Add("Sakuranezumi", "#AC8181", {En:"Sakuranezumi", Zh:"桜鼠"});
- Hb.Add("Chōshun-iro", "#B95754", {En:"Chōshun-iro", Zh:"長春色"});
- Hb.Add("Karakurenai", "#C91F37", {En:"Karakurenai", Zh:"韓紅花"});
- Hb.Add("Enji-iro", "#9D2933", {En:"Enji-iro", Zh:"臙脂色"});
- Hb.Add("Kokiake", "#7B3B3A", {En:"Kokiake", Zh:"深緋"});
- Hb.Add("Jinzamomi", "#F7665A", {En:"Jinzamomi", Zh:"甚三紅"});
- Hb.Add("Mizugaki", "#B56C60", {En:"Mizugaki", Zh:"水がき"});
- Hb.Add("Umenezumi", "#97645A", {En:"Umenezumi", Zh:"梅鼠"});
- Hb.Add("Suōkō", "#A24F46", {En:"Suōkō", Zh:"蘇芳香"});
- Hb.Add("Akabeni", "#C3272B", {En:"Akabeni", Zh:"赤紅"});
- Hb.Add("Shinshu", "#8F1D21", {En:"Shinshu", Zh:"真朱"});
- Hb.Add("Azuki-iro", "#672422", {En:"Azuki-iro", Zh:"小豆色"});
- Hb.Add("Ginshu", "#BC2D29", {En:"Ginshu", Zh:"銀朱"});
- Hb.Add("Ebicha", "#5E2824", {En:"Ebicha", Zh:"海老茶"});
- Hb.Add("Kiriume", "#8B352D", {En:"Kiriume", Zh:"栗梅"});
- Hb.Add("Akebono-iro", "#FA7B62", {En:"Akebono-iro", Zh:"曙色"});
- Hb.Add("Sangoshu-iro", "#F8674F", {En:"Sangoshu-iro", Zh:"珊瑚珠色"});
- Hb.Add("Shōjōhi", "#DC3023", {En:"Shōjōhi", Zh:"猩猩緋"});
- Hb.Add("Shikancha", "#AB4C3D", {En:"Shikancha", Zh:"芝翫茶"});
- Hb.Add("Kakishibu-iro", "#934337", {En:"Kakishibu-iro", Zh:"柿渋色"});
- Hb.Add("Benikaba", "#9D2B22", {En:"Benikaba", Zh:"紅樺"});
- Hb.Add("Benitobi", "#913228", {En:"Benitobi", Zh:"紅鳶"});
- Hb.Add("Benihibata", "#6F3028", {En:"Benihibata", Zh:"紅檜皮"});
- Hb.Add("Kurotobi", "#351E1C", {En:"Kurotobi", Zh:"黒鳶"});
- Hb.Add("Benihi", "#F35336", {En:"Benihi", Zh:"紅緋"});
- Hb.Add("Terigaki", "#D34E36", {En:"Terigaki", Zh:"照柿"});
- Hb.Add("Ake", "#CF3A24", {En:"Ake", Zh:"緋"});
- Hb.Add("Edocha", "#A13D2D", {En:"Edocha", Zh:"江戸茶"});
- Hb.Add("Bengara-iro", "#913225", {En:"Bengara-iro", Zh:"紅柄色"});
- Hb.Add("Hihada-iro", "#752E23", {En:"Hihada-iro", Zh:"檜皮色"});
- Hb.Add("Shishi-iro", "#F9906F", {En:"Shishi-iro", Zh:"宍色"});
- Hb.Add("Araishu", "#FF7952", {En:"Araishu", Zh:"洗朱"});
- Hb.Add("Akakō-iro", "#F07F5E", {En:"Akakō-iro", Zh:"赤香色"});
- Hb.Add("Tokigaracha", "#E68364", {En:"Tokigaracha", Zh:"ときがら茶"});
- Hb.Add("Ōtan", "#FF4E20", {En:"Ōtan", Zh:"黄丹"});
- Hb.Add("Sohi", "#E35C38", {En:"Sohi", Zh:"蘇比"});
- Hb.Add("Enshūcha", "#CB6649", {En:"Enshūcha", Zh:"遠州茶"});
- Hb.Add("Karacha", "#B35C44", {En:"Karacha", Zh:"唐茶"});
- Hb.Add("Kabacha", "#B14A30", {En:"Kabacha", Zh:"樺茶"});
- Hb.Add("Sōdenkaracha", "#9B533F", {En:"Sōdenkaracha", Zh:"宗傳唐茶"});
- Hb.Add("Suzumecha", "#8C4736", {En:"Suzumecha", Zh:"雀茶"});
- Hb.Add("Kurikawacha", "#60281E", {En:"Kurikawacha", Zh:"栗皮茶"});
- Hb.Add("Momoshiocha", "#542D24", {En:"Momoshiocha", Zh:"百塩茶"});
- Hb.Add("Tobi-iro", "#4C221B", {En:"Tobi-iro", Zh:"鳶色"});
- var sIdentifier = "JpRed";
- sResult += fShowAncharNav(sIdentifier, "Jp红");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fJpRed
- function fJpYellowRed()
- {
- var sResult = "";
- var Hb = new HashTable();
- // JpYellowRed
- Hb.Add("Kurumizome", "#9F7462", {En:"Kurumizome", Zh:"胡桃染"});
- Hb.Add("Kaba-iro", "#B64925", {En:"Kaba-iro", Zh:"蒲色"});
- Hb.Add("Kōrozen", "#592B1F", {En:"Kōrozen", Zh:"黄櫨染"});
- Hb.Add("Kogecha", "#351F19", {En:"Kogecha", Zh:"焦茶"});
- Hb.Add("Kokikuchinashi", "#F57F4F", {En:"Kokikuchinashi", Zh:"深支子"});
- Hb.Add("Araigaki", "#EC8254", {En:"Araigaki", Zh:"洗柿"});
- Hb.Add("Taisha-iro", "#9F5233", {En:"Taisha-iro", Zh:"代赭色"});
- Hb.Add("Akashirotsurubami", "#EC956C", {En:"Akashirotsurubami", Zh:"赤白橡"});
- Hb.Add("Tonocha", "#985538", {En:"Tonocha", Zh:"礪茶"});
- Hb.Add("Sencha-iro", "#824B35", {En:"Sencha-iro", Zh:"煎茶色"});
- Hb.Add("Sharegaki", "#FFA26B", {En:"Sharegaki", Zh:"洒落柿"});
- Hb.Add("Usugaki", "#FCA474", {En:"Usugaki", Zh:"薄柿"});
- Hb.Add("Kanzō-iro", "#FF8936", {En:"Kanzō-iro", Zh:"萱草色"});
- Hb.Add("Umezome", "#FA9258", {En:"Umezome", Zh:"梅染"});
- Hb.Add("Beniukon", "#FB8136", {En:"Beniukon", Zh:"紅鬱金"});
- Hb.Add("Chōjicha", "#8F583C", {En:"Chōjicha", Zh:"丁子茶"});
- Hb.Add("Kenpōzome", "#2E211B", {En:"Kenpōzome", Zh:"憲法染"});
- Hb.Add("Biwacha", "#AB6134", {En:"Biwacha", Zh:"枇杷茶"});
- Hb.Add("Kohaku-iro", "#CA6924", {En:"Kohaku-iro", Zh:"琥珀色"});
- Hb.Add("Usukō", "#FFA565", {En:"Usukō", Zh:"淡香"});
- Hb.Add("Kuchiba-iro", "#FFA565", {En:"Kuchiba-iro", Zh:"朽葉色"});
- Hb.Add("Kincha", "#C66B27", {En:"Kincha", Zh:"金茶"});
- Hb.Add("Chōjizome", "#C66B27", {En:"Chōjizome", Zh:"丁子染"});
- Hb.Add("Kitsune-iro", "#985629", {En:"Kitsune-iro", Zh:"狐色"});
- Hb.Add("Fushizome", "#8C5939", {En:"Fushizome", Zh:"柴染"});
- Hb.Add("Kyara-iro", "#6A432D", {En:"Kyara-iro", Zh:"伽羅色"});
- Hb.Add("Susutake-iro", "#593A27", {En:"Susutake-iro", Zh:"煤竹色"});
- Hb.Add("Shiracha", "#C48E69", {En:"Shiracha", Zh:"白茶"});
- Hb.Add("Ōdo-iro", "#BE7F51", {En:"Ōdo-iro", Zh:"黄土色"});
- Hb.Add("Kinsusutake", "#7D4E2D", {En:"Kinsusutake", Zh:"銀煤竹"});
- Hb.Add("Kigaracha", "#B7702D", {En:"Kigaracha", Zh:"黄唐茶"});
- Hb.Add("Kobicha", "#6B4423", {En:"Kobicha", Zh:"媚茶"});
- var sIdentifier = "JpYellowRed";
- sResult += fShowAncharNav(sIdentifier, "Jp黄红");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fJpYellowRed
- function fJpYellow()
- {
- var sResult = "";
- var Hb = new HashTable();
- // JpYellow
- Hb.Add("Usuki", "#F7BB7D", {En:"Usuki", Zh:"浅黄"});
- Hb.Add("Yamabuki-iro", "#FFA400", {En:"Yamabuki-iro", Zh:"山吹色"});
- Hb.Add("Tamago-iro", "#FFA631", {En:"Tamago-iro", Zh:"玉子色"});
- Hb.Add("Hajizome", "#E08A1E", {En:"Hajizome", Zh:"櫨染"});
- Hb.Add("Yamabukicha", "#CB7E1F", {En:"Yamabukicha", Zh:"山吹茶"});
- Hb.Add("Kuwazome", "#C57F2E", {En:"Kuwazome", Zh:"桑染"});
- Hb.Add("Namakabe-iro", "#785E49", {En:"Namakabe-iro", Zh:"生壁色"});
- Hb.Add("Kuchinashi", "#FFB95A", {En:"Kuchinashi", Zh:"支子"});
- Hb.Add("Tōmorokoshi-iro", "#FAA945", {En:"Tōmorokoshi-iro", Zh:"玉蜀黍色"});
- Hb.Add("Shirotsurubami", "#CE9F6F", {En:"Shirotsurubami", Zh:"白橡"});
- Hb.Add("Kitsurubami", "#BB8141", {En:"Kitsurubami", Zh:"黄橡"});
- Hb.Add("Tō'ō", "#FFB61E", {En:"Tō'ō", Zh:"藤黄"});
- Hb.Add("Hanaba-iro", "#FFB94E", {En:"Hanaba-iro", Zh:"花葉色"});
- Hb.Add("Torinoko-iro", "#E2BE9F", {En:"Torinoko-iro", Zh:"鳥の子色"});
- Hb.Add("Ukon-iro", "#E69B3A", {En:"Ukon-iro", Zh:"鬱金色"});
- Hb.Add("Kikuchiba", "#E29C45", {En:"Kikuchiba", Zh:"黄朽葉"});
- Hb.Add("Rikyūshiracha", "#B0927A", {En:"Rikyūshiracha", Zh:"利休白茶"});
- Hb.Add("Rikyūcha", "#826B58", {En:"Rikyūcha", Zh:"利休茶"});
- Hb.Add("Aku-iro", "#7F6B5D", {En:"Aku-iro", Zh:"灰汁色"});
- Hb.Add("Higosusutake", "#7F5D3B", {En:"Higosusutake", Zh:"肥後煤竹"});
- Hb.Add("Rokōcha", "#665343", {En:"Rokōcha", Zh:"路考茶"});
- Hb.Add("Mirucha", "#4C3D30", {En:"Mirucha", Zh:"海松茶"});
- Hb.Add("Nataneyu-iro", "#A17917", {En:"Nataneyu-iro", Zh:"菜種油色"});
- Hb.Add("Kimirucha", "#896C39", {En:"Kimirucha", Zh:"黄海松茶"});
- Hb.Add("Uguisucha", "#5C4827", {En:"Uguisucha", Zh:"鶯茶"});
- Hb.Add("Nanohanacha", "#E3B130", {En:"Nanohanacha", Zh:"菜の花色"});
- Hb.Add("Kariyasu", "#E2B13C", {En:"Kariyasu", Zh:"苅安"});
- Hb.Add("Kihada", "#F3C13A", {En:"Kihada", Zh:"黄蘗"});
- Hb.Add("Mushikuri-iro", "#D3B17D", {En:"Mushikuri-iro", Zh:"蒸栗色"});
- Hb.Add("Aokuchiba", "#AA8736", {En:"Aokuchiba", Zh:"青朽葉"});
- Hb.Add("Hiwacha", "#957B38", {En:"Hiwacha", Zh:"鶸茶"});
- Hb.Add("Ominaeshi", "#D9B611", {En:"Ominaeshi", Zh:"女郎花"});
- Hb.Add("Uguisu-iro", "#645530", {En:"Uguisu-iro", Zh:"鶯色"});
- var sIdentifier = "JpYellow";
- sResult += fShowAncharNav(sIdentifier, "Jp黄");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fJpYellow
- function fJpYellowGreen()
- {
- var sResult = "";
- var Hb = new HashTable();
- // JpYellowGreen
- Hb.Add("Hiwa-iro", "#BDA928", {En:"Hiwa-iro", Zh:"鶸色"});
- Hb.Add("Aoshiroturubami", "#BBA46D", {En:"Aoshiroturubami", Zh:"青白橡"});
- Hb.Add("Yanagicha", "#9C8A4D", {En:"Yanagicha", Zh:"柳茶"});
- Hb.Add("Rikancha", "#534A32", {En:"Rikancha", Zh:"璃寛茶"});
- Hb.Add("Aikobicha", "#473F2D", {En:"Aikobicha", Zh:"藍媚茶"});
- Hb.Add("Koke-iro", "#8B7D3A", {En:"Koke-iro", Zh:"苔色"});
- Hb.Add("Miru-iro", "#524B2A", {En:"Miru-iro", Zh:"海松色"});
- Hb.Add("Sensaicha", "#3B3429", {En:"Sensaicha", Zh:"千歳茶"});
- Hb.Add("Baikōcha", "#857C55", {En:"Baikōcha", Zh:"梅幸茶"});
- Hb.Add("Iwaicha", "#5E5545", {En:"Iwaicha", Zh:"岩井茶"});
- Hb.Add("Hiwamoegi", "#7A942E", {En:"Hiwamoegi", Zh:"鶸萌黄"});
- Hb.Add("Yanagisusutake", "#4D4B3A", {En:"Yanagisusutake", Zh:"柳煤竹"});
- Hb.Add("Urayanagi", "#BCB58C", {En:"Urayanagi", Zh:"裏柳"});
- Hb.Add("Usumoegi", "#8DB255", {En:"Usumoegi", Zh:"淡萌黄"});
- Hb.Add("Yanagizome", "#8C9E5E", {En:"Yanagizome", Zh:"柳染"});
- Hb.Add("Moegi", "#5B8930", {En:"Moegi", Zh:"萌黄"});
- Hb.Add("Aoni", "#52593B", {En:"Aoni", Zh:"青丹"});
- Hb.Add("Matsuba-iro", "#454D32", {En:"Matsuba-iro", Zh:"松葉色"});
- var sIdentifier = "JpYellowGreen";
- sResult += fShowAncharNav(sIdentifier, "Jp黄绿");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fJpYellowGreen
- function fJpGreen()
- {
- var sResult = "";
- var Hb = new HashTable();
- // JpGreen
- Hb.Add("Usuao", "#8C9C76", {En:"Usuao", Zh:"薄青"});
- Hb.Add("Wakatake-iro", "#6B9362", {En:"Wakatake-iro", Zh:"若竹色"});
- Hb.Add("Yanaginezumi", "#817B69", {En:"Yanaginezumi", Zh:"柳鼠"});
- Hb.Add("Oitake-iro", "#5E644F", {En:"Oitake-iro", Zh:"老竹色"});
- Hb.Add("Sensaimidori", "#374231", {En:"Sensaimidori", Zh:"千歳緑"});
- Hb.Add("Midori", "#2A603B", {En:"Midori", Zh:"緑"});
- Hb.Add("Byakuroku", "#A5BA93", {En:"Byakuroku", Zh:"白緑"});
- Hb.Add("Sabiseiji", "#898A74", {En:"Sabiseiji", Zh:"錆青磁"});
- Hb.Add("Rokushō", "#407A52", {En:"Rokushō", Zh:"緑青"});
- Hb.Add("Tokusa-iro", "#3D5D42", {En:"Tokusa-iro", Zh:"木賊色"});
- Hb.Add("Onandocha", "#3D4035", {En:"Onandocha", Zh:"御納戸茶"});
- Hb.Add("Aotake-iro", "#006442", {En:"Aotake-iro", Zh:"青竹色"});
- Hb.Add("Rikyūnezumi", "#656255", {En:"Rikyūnezumi", Zh:"利休鼠"});
- Hb.Add("Birōdo", "#224634", {En:"Birōdo", Zh:"びろうど"});
- Hb.Add("Mushiao", "#2D4436", {En:"Mushiao", Zh:"虫襖"});
- Hb.Add("Aimirucha", "#2E372E", {En:"Aimirucha", Zh:"藍海松茶"});
- Hb.Add("Tonocha", "#5A6457", {En:"Tonocha", Zh:"沈香茶"});
- Hb.Add("Mizuasagi", "#749F8D", {En:"Mizuasagi", Zh:"水浅葱"});
- Hb.Add("Seiji-iro", "#819C8B", {En:"Seiji-iro", Zh:"青磁色"});
- Hb.Add("Seiheki", "#3A6960", {En:"Seiheki", Zh:"青碧"});
- Hb.Add("Sabitetsuonando", "#3A403B", {En:"Sabitetsuonando", Zh:"錆鉄御納戸"});
- Hb.Add("Tetsu-iro", "#2B3733", {En:"Tetsu-iro", Zh:"鉄色"});
- Hb.Add("Omeshicha", "#354E4B", {En:"Omeshicha", Zh:"御召茶"});
- Hb.Add("Kōrainando", "#203838", {En:"Kōrainando", Zh:"高麗納戸"});
- var sIdentifier = "JpGreen";
- sResult += fShowAncharNav(sIdentifier, "Jp绿");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fJpGreen
- function fJpBlueViolet()
- {
- var sResult = "";
- var Hb = new HashTable();
- // JpBlueViolet
- Hb.Add("Minatonezumi", "#757D75", {En:"Minatonezumi", Zh:"湊鼠"});
- Hb.Add("Aonibi", "#4F4944", {En:"Aonibi", Zh:"青鈍"});
- Hb.Add("Testuonando", "#2B3736", {En:"Testuonando", Zh:"鉄御納戸"});
- Hb.Add("Mizu-iro", "#86ABA5", {En:"Mizu-iro", Zh:"水色"});
- Hb.Add("Sabiasagi", "#6A7F7A", {En:"Sabiasagi", Zh:"錆浅葱"});
- Hb.Add("Kamenozoki", "#C6C2B6", {En:"Kamenozoki", Zh:"瓶覗"});
- Hb.Add("Asagi-iro", "#48929B", {En:"Asagi-iro", Zh:"浅葱色"});
- Hb.Add("Shinbashi-iro", "#006C7F", {En:"Shinbashi-iro", Zh:"新橋色"});
- Hb.Add("Sabionando", "#455859", {En:"Sabionando", Zh:"錆御納戸"});
- Hb.Add("Ainezumi", "#5C544E", {En:"Ainezumi", Zh:"藍鼠"});
- Hb.Add("Ai-iro", "#264348", {En:"Ai-iro", Zh:"藍色"});
- Hb.Add("Onando-iro", "#364141", {En:"Onando-iro", Zh:"御納戸色"});
- Hb.Add("Hana'asagi", "#1D697C", {En:"Hana'asagi", Zh:"花浅葱"});
- Hb.Add("Chigusa-iro", "#317589", {En:"Chigusa-iro", Zh:"千草色"});
- Hb.Add("Masuhana-iro", "#4D646C", {En:"Masuhana-iro", Zh:"舛花色"});
- Hb.Add("Hanada", "#044F67", {En:"Hanada", Zh:"縹"});
- Hb.Add("Noshimehana-iro", "#344D56", {En:"Noshimehana-iro", Zh:"熨斗目花色"});
- Hb.Add("Omeshionando", "#3D4C51", {En:"Omeshionando", Zh:"御召御納戸"});
- Hb.Add("Sora-iro", "#4D8FAC", {En:"Sora-iro", Zh:"空色"});
- Hb.Add("Kurotsurubami", "#252321", {En:"Kurotsurubami", Zh:"黒橡"});
- Hb.Add("Gunjō-iro", "#5D8CAE", {En:"Gunjō-iro", Zh:"群青色"});
- Hb.Add("Kon", "#192236", {En:"Kon", Zh:"紺"});
- Hb.Add("Kachi-iro", "#181B26", {En:"Kachi-iro", Zh:"褐色"});
- Hb.Add("Ruri-iro", "#1F4788", {En:"Ruri-iro", Zh:"瑠璃色"});
- Hb.Add("Konjō-iro", "#003171", {En:"Konjō-iro", Zh:"紺青色"});
- Hb.Add("Rurikon", "#1B294B", {En:"Rurikon", Zh:"瑠璃紺"});
- Hb.Add("Benimidori", "#78779B", {En:"Benimidori", Zh:"紅碧"});
- Hb.Add("Konkikyō", "#191F45", {En:"Konkikyō", Zh:"紺桔梗"});
- Hb.Add("Fujinezumi", "#766980", {En:"Fujinezumi", Zh:"藤鼠"});
- Hb.Add("Benikakehana-iro", "#5A4F74", {En:"Benikakehana-iro", Zh:"紅掛花色"});
- Hb.Add("Fuji-iro", "#89729E", {En:"Fuji-iro", Zh:"藤色"});
- Hb.Add("Futaai", "#614E6E", {En:"Futaai", Zh:"二藍"});
- var sIdentifier = "JpBlueViolet";
- sResult += fShowAncharNav(sIdentifier, "Jp蓝紫");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fJpBlueViolet
- function fJpViolet()
- {
- var sResult = "";
- var Hb = new HashTable();
- // JpViolet
- Hb.Add("Fujimurasaki", "#875F9A", {En:"Fujimurasaki", Zh:"藤紫"});
- Hb.Add("Kikyō-iro", "#5D3F6A", {En:"Kikyō-iro", Zh:"桔梗色"});
- Hb.Add("Shion-iro", "#976E9A", {En:"Shion-iro", Zh:"紫苑色"});
- Hb.Add("Metsushi", "#3F313A", {En:"Metsushi", Zh:"滅紫"});
- Hb.Add("Shikon", "#2B2028", {En:"Shikon", Zh:"紫紺"});
- Hb.Add("Kokimurasaki", "#3A243B", {En:"Kokimurasaki", Zh:"深紫"});
- Hb.Add("Usu-iro", "#A87CA0", {En:"Usu-iro", Zh:"薄色"});
- Hb.Add("Hashita-iro", "#8D608C", {En:"Hashita-iro", Zh:"半色"});
- Hb.Add("Sumire-iro", "#5B3256", {En:"Sumire-iro", Zh:"菫色"});
- Hb.Add("Murasaki", "#4F284B", {En:"Murasaki", Zh:"紫"});
- Hb.Add("Kurobeni", "#23191E", {En:"Kurobeni", Zh:"黒紅"});
- Hb.Add("Ayame-iro", "#763568", {En:"Ayame-iro", Zh:"菖蒲色"});
- Hb.Add("Benifuji", "#BB7796", {En:"Benifuji", Zh:"紅藤"});
- Hb.Add("Kakitsubata", "#491E3C", {En:"Kakitsubata", Zh:"杜若"});
- Hb.Add("Hatobanezumi", "#755D5B", {En:"Hatobanezumi", Zh:"鳩羽鼠"});
- Hb.Add("Budōnezumi", "#63424B", {En:"Budōnezumi", Zh:"葡萄鼠"});
- Hb.Add("Ebizome", "#6D2B50", {En:"Ebizome", Zh:"蒲萄"});
- Hb.Add("Fujisusutake", "#4D3B3C", {En:"Fujisusutake", Zh:"藤煤竹"});
- Hb.Add("Bōtan", "#A4345D", {En:"Bōtan", Zh:"牡丹"});
- Hb.Add("Umemurasaki", "#8F4155", {En:"Umemurasaki", Zh:"梅紫"});
- Hb.Add("Nisemurasaki", "#43242A", {En:"Nisemurasaki", Zh:"似せ紫"});
- Hb.Add("Murasakitobi", "#512C31", {En:"Murasakitobi", Zh:"紫鳶"});
- Hb.Add("Suō", "#7E2639", {En:"Suō", Zh:"蘇芳"});
- Hb.Add("Kuwazome", "#59292C", {En:"Kuwazome", Zh:"桑染"});
- Hb.Add("Benikeshinezumi", "#44312E", {En:"Benikeshinezumi", Zh:"紅消鼠"});
- var sIdentifier = "JpViolet";
- sResult += fShowAncharNav(sIdentifier, "Jp紫");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fJpViolet
- function fJpAchromatic()
- {
- var sResult = "";
- var Hb = new HashTable();
- // JpAchromatic
- Hb.Add("Shironeri", "#FFDDCA", {En:"Shironeri", Zh:"白練"});
- Hb.Add("Shironezumi", "#B9A193", {En:"Shironezumi", Zh:"白鼠"});
- Hb.Add("Ginnezumi", "#97867C", {En:"Ginnezumi", Zh:"銀鼠"});
- Hb.Add("Sunezumi", "#6E5F57", {En:"Sunezumi", Zh:"素鼠"});
- Hb.Add("Dobunezumi", "#4B3C39", {En:"Dobunezumi", Zh:"丼鼠"});
- Hb.Add("Aisumicha", "#393432", {En:"Aisumicha", Zh:"藍墨茶"});
- Hb.Add("Binrōjizome", "#352925", {En:"Binrōjizome", Zh:"檳榔子染"});
- Hb.Add("Sumi-iro", "#27221F", {En:"Sumi-iro", Zh:"墨色"});
- Hb.Add("Kuro-iro", "#171412", {En:"Kuro-iro", Zh:"黒色"});
- var sIdentifier = "JpAchromatic";
- sResult += fShowAncharNav(sIdentifier, "Jp减");
- sResult+=fDisplay(Hb, sIdentifier);
- sResult+="<hr/>";
- Hb = null;
- return sResult;
- } // end function fJpAchromatic
- function fAppendStyle()
- {
- var sStyle = "";
- sStyle += "#BgColorSchemeId * a/n";
- sStyle += "{/n";
- sStyle += " text-decoration:none;/n";
- sStyle += "}/n";
- sStyle += "/n";
- sStyle += ".BcsCbxListClassName/n";
- sStyle += "{/n";
- sStyle += " margin:0px 1px;/n";
- sStyle += "}/n";
- sStyle += "/n";
- sStyle += ".BcsTextClassName span div/n";
- sStyle += "{/n";
- sStyle += " padding:2px 5px;/n";
- sStyle += "}/n";
- sStyle += "/n";
- sStyle += ".BcsTextClassName span div div/n";
- sStyle += "{/n";
- sStyle += " padding:10px 0px;/n";
- sStyle += "}/n";
- return sStyle;
- } // end function fAppendStyle
- function fAddStyleFromStr(sIpt, sId)
- {// shawl.qiu script
- var EleStyle = document.createElement("style");
- EleStyle.type = "text/css";
- if(sId&&sId!="")
- {
- EleStyle.id = sId;
- }
- if(fCkBrs()==1)
- {
- EleStyle.styleSheet.cssText = sIpt;
- }
- else
- {
- EleStyle.innerHTML = sIpt;
- }
- function fCkBrs()
- {
- switch (navigator.appName)
- {
- case 'Opera': return 2;
- case 'Netscape': return 3;
- default: return 1;
- }
- } // end function fCkBrs
- var EleHead=document.getElementsByTagName("head")[0]
- if(!EleHead) EleHead=document.body;
- EleHead.insertBefore(EleStyle, EleHead.firstChild);
- } // end function fAddStyleFromStr
- function fDisplayTheme1(ColorAr, HbItem, sMsg, sHbAnchor)
- {
- var sResult = "";
- if(!sMsg)
- {
- sMsg = "";
- }
- if(sMsg!="")
- {
- sMsg = "<p style='margin:5px 0px;'>"+sMsg+"</p>";
- }
- var sTop = "<div style='float:right'>"
- +"<a href='#"+sHbAnchor+"'>Current</a>"
- +" | "
- +"<a href='#"+Tl.Init.Name+"'>Top</a>"
- +"</div>"
- ;
- var sColor = "#000000";
- sResult +=
- "<div style='margin:10px 0px; background-color:"+HbItem+";color:"+ColorAr[i]+";'>";
- sResult += ""
- +sTop
- ;
- for(var i=0, j= ColorAr.length; i<j; i++)
- {
- //document.write("<li/>"+HbItem);
- sResult +=
- "<div style='color:"+ColorAr[i]+";'>"
- +"Bg: <input type='text' value='"+HbItem
- +"' style='background-color:"+HbItem+"; color:"+ColorAr[i]+
- "; border:0px; ' onmousemove='this.focus();this.select();'"+
- " onmouseout='this.blur()'/><br>"
- +"Fg: <input type='text' value='"+ColorAr[i]
- +"' style='background-color:"+HbItem+"; color:"+ColorAr[i]+
- "; border:0px; ' onmousemove='this.focus();this.select();'"+
- " onmouseout='this.blur()'/><br>"
- +"Key: "+HbItem.Key+"<br>"
- +"Zh: "+HbItem.Zh+"<br>"
- +sMsg
- +"</div>";
- } // end for
- sResult+="</div>";
- return sResult;
- } // end function fDisplayColorScheme
- function fDisplayTheme1Invert(Hb, ColorItem, sMsg, sHbAnchor)
- {
- var sResult = "";
- if(!sMsg)
- {
- sMsg = "";
- }
- if(sMsg!="")
- {
- sMsg = "<p style='margin:5px 0px;'>"+sMsg+"</p>";
- }
- sResult +=
- "<div style='margin:10px 0px; background-color:"+ColorItem+";'>";
- var sTop = "<div style='float:right'>"
- +"<a href='#"+sHbAnchor+"'>Current</a>"
- +" | "
- +"<a href='#"+Tl.Init.Name+"'>Top</a>"
- +"</div>"
- ;
- sResult += ""
- +sTop
- ;
- var i=0;
- for(var k in Hb.Object)
- {
- var Item = Hb.Item(k);
- sResult +=
- "<div style='color:"+Item+";'>"
- +"Bg: <input type='text' value='"+ColorItem
- +"' style='background-color:"+ColorItem+"; color:"+Item+
- "; border:0px; ' onmousemove='this.focus();this.select();'"+
- " onmouseout='this.blur()'/><br>"
- +"Fg: <input type='text' value='"+Item
- +"' style='background-color:"+ColorItem+"; color:"+Item+
- "; border:0px; ' onmousemove='this.focus();this.select();'"+
- " onmouseout='this.blur()'/><br>"
- +"Key: "+Item.Key+"<br>"
- +"Zh: "+Item.Zh+"<br>"
- +sMsg
- +"</div>";
- i++;
- } // end for
- sResult+="</div>";
- return sResult;
- } // end function fDisplayColorScheme1
- function fDisplaySplit(ColorAr, HbItem, sMsg, bInvert, sHbAnchor)
- {
- var sResult = "";
- var InfoStr = "HbItem.Key: "+HbItem.Key+", HbItem.En: "+HbItem.En+", HbItem.Zh: "+HbItem.Zh;;
- if(!sMsg)
- {
- sMsg = "";
- }
- if(sMsg!="")
- {
- sMsg = "<p style='margin:5px 0px;'>"+sMsg+"</p>";
- }
- var sTop = "<div style='float:right; margin:0px; padding:0px;'>"
- +"<a href='#"+sHbAnchor+"'>Current</a>"
- +" | "
- +"<a href='#"+Tl.Init.Name+"'>Top</a>"
- +"</div>"
- ;
- if(bInvert)
- {
- for(var i=0, j= ColorAr.length; i<j; i++)
- {
- //document.write("<li/>"+HbItem);
- sResult +=
- "<div style='margin:10px 0px;background-color:"
- +ColorAr[i]+";color:"+HbItem+";'>"
- +sTop
- +"Bg: <input type='text' value='"+ColorAr[i]
- +"' style='background-color:"+ColorAr[i]+"; color:"+HbItem+
- "; border:0px; ' onmousemove='this.focus();this.select();'"+
- " onmouseout='this.blur()'/><br>"
- +"Fg: <input type='text' value='"+HbItem
- +"' style='background-color:"+ColorAr[i]+"; color:"+HbItem+
- "; border:0px; ' onmousemove='this.focus();this.select();'"+
- " onmouseout='this.blur()'/><br>"
- +"Key: "+HbItem.Key+"<br/>"
- +"Zh: "+HbItem.Zh+"<br/>"
- +sMsg
- +"</div>";
- } // end for
- }
- else
- {
- for(var i=0, j= ColorAr.length; i<j; i++)
- {
- //document.write("<li/>"+HbItem);
- sResult +=
- "<div style='margin:10px 0px; background-color:"
- +HbItem+";color:"+ColorAr[i]+";'>"
- +sTop
- +"Bg: <input type='text' value='"+HbItem
- +"' style='background-color:"+HbItem+"; color:"+ColorAr[i]+
- "; border:0px; ' onmousemove='this.focus();this.select();'"+
- " onmouseout='this.blur()'/><br>"
- +"Fg: <input type='text' value='"+ColorAr[i]
- +"' style='background-color:"+HbItem+"; color:"+ColorAr[i]+
- "; border:0px; ' onmousemove='this.focus();this.select();'"+
- " onmouseout='this.blur()'/><br>"
- +"Key: "+HbItem.Key+"<br>"
- +"Zh: "+HbItem.Zh+"<br>"
- +sMsg
- +"</div>";
- } // end for
- sResult +="</div></div>";
- }
- return sResult;
- } // end function fDisplaySplit
- function fDisplay(Hb, sHbAnchor)
- {
- var sResult = "";
- switch(Tl.Theme.Default)
- {
- case "Split":
- for(var i in Hb.Object)
- {
- sResult+= fDisplaySplit(Tl.Color.Set, Hb.Item(i), Tl.Msg, Tl.Invert, sHbAnchor);
- }
- break;
- default:
- if(Tl.Invert)
- {
- for(var i=0, j=Tl.Color.Set.length; i<j; i++)
- {
- sResult+=fDisplayTheme1Invert(Hb, Tl.Color.Set[i], Tl.Msg, sHbAnchor);
- }
- }
- else
- {
- for(var i in Hb.Object)
- {
- sResult+=fDisplayTheme1(Tl.Color.Set, Hb.Item(i), Tl.Msg, sHbAnchor);
- }
- } // end if
- break;
- }
- return sResult;
- } //end function fDisplay
- function fSetPAnchorStr()
- {
- pAnchorStr = "<div>"
- +" <a href=#"+Tl.Init.Name+">Top</a>"
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- if(pCbxList[i].checked)
- {
- pAnchorStr +=
- " | <a href='#"+pCbxList[i].value+"'>"
- +Tl.ContainerHb.Item(pCbxList[i].value)
- +"</a> "
- }
- } // end for
- pAnchorStr+="</div>";
- } // end function fSetPAnchorStr;
- function fPutAnchorStr()
- {
- //Tl.Init.Name+"White"+Tl.Element.Anchor.Id+Tl.Postfix
- for(var i=0, j=pCbxList.length; i<j; i++)
- {
- var sId = Tl.Init.Name+pCbxList[i].value+Tl.Element.Anchor.Id+Tl.Postfix;
- var oDiv = document.getElementById(sId);
- if(pCbxList[i].checked)
- {
- oDiv.innerHTML = pAnchorStr;
- }
- else
- {
- try{oDiv.innerHTML = "";}catch(e){}
- }
- } // end for
- } // end function fPutAnchorStr
- function fSetNullContainerHbContent()
- {
- for(var i in Tl.ContainerHb.Object)
- {
- Tl.ContainerHb.Item(i).Content = null;
- }
- } // end function fSetNullContainerHbContent
- function fShowAncharNav(sIdentifier, sShadeName)
- {
- return "<h2><a name='"+sIdentifier+"'>"+sShadeName+"</a></h2>"
- +"<span id='"+Tl.Init.Name+sIdentifier+Tl.Element.Anchor.Id+Tl.Postfix+"'>"
- +pAnchorStr
- +"</span>"
- ;
- } // end function fShowAncharNavrunat="Server"
- //------------------------------------end private method
- } // shawl.qiu code
- //---------------------------------end class BgColorScheme()---------------------------------//
4. 类 HastTable
见: http://blog.csdn.net/btbtd/archive/2007/06/28/1669636.aspx