box.js
资源名称:JSP-OA.rar [点击查看]
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:3k
源码类别:
Jsp/Servlet
开发平台:
Java
- function loadText()
- {
- var txtLang = document.getElementsByName("txtLang");
- txtLang[0].innerHTML = "u0426u0432u0435u0442";
- txtLang[1].innerHTML = "u0422u0435u043Du044C";
- txtLang[2].innerHTML = "u041Eu0442u0441u0442u0443u043F";
- txtLang[3].innerHTML = "u041Bu0435u0432u044Bu0439";
- txtLang[4].innerHTML = "u041Fu0440u0430u0432u044Bu0439";
- txtLang[5].innerHTML = "u0412u0435u0440u0445u043Du0438u0439";
- txtLang[6].innerHTML = "u041Du0438u0436u043Du0438u0439";
- txtLang[7].innerHTML = "u041Du0430u0431u0438u0432u043Au0430";
- txtLang[8].innerHTML = "u041Bu0435u0432u0430u044F";
- txtLang[9].innerHTML = "u041Fu0440u0430u0432u0430u044F";
- txtLang[10].innerHTML = "u0412u0435u0440u0445u043Du044Fu044F";
- txtLang[11].innerHTML = "u041Du0438u0436u043Du044Fu044F";
- txtLang[12].innerHTML = "u0420u0430u0437u043Cu0435u0440u044B";
- txtLang[13].innerHTML = "u0428u0438u0440u0438u043Du0430";
- txtLang[14].innerHTML = "u0412u044Bu0441u043Eu0442u0430";
- var optLang = document.getElementsByName("optLang");
- optLang[0].text = "u043Fu0438u043Au0441u0435u043Bu044B";
- optLang[1].text = "u043Fu0440u043Eu0446u0435u043Du0442";
- optLang[2].text = "u043Fu0438u043Au0441u0435u043Bu044B";
- optLang[3].text = "u043Fu0440u043Eu0446u0435u043Du0442";
- document.getElementById("btnCancel").value = "u043Eu0442u043Cu0435u043Du0430";
- document.getElementById("btnApply").value = "u043Fu0440u0438u043Cu0435u043Du0438u0442u044C";
- document.getElementById("btnOk").value = " ok ";
- }
- function getText(s)
- {
- switch(s)
- {
- case "No Border": return "u0411u0435u0437 u0440u0430u043Cu043Au0438";
- case "Outside Border": return "u0412u043Du0435u0448u043Du044Fu044F u0440u0430u043Cu043Au0430";
- case "Left Border": return "u041Bu0435u0432u0430u044F u0440u0430u043Cu043Au0430";
- case "Top Border": return "u0412u0435u0440u0445u043Du044Fu044F u0440u0430u043Cu043Au0430";
- case "Right Border": return "u041Fu0440u0430u0432u0430u044F u0440u0430u043Cu043Au0430";
- case "Bottom Border": return "u041Du0438u0436u043Du044Fu044F u0440u0430u043Cu043Au0430";
- case "Pick": return "u0412u044Bu0431u043Eu0440";
- case "Custom Colors": return "u041Eu0441u043Eu0431u044Bu0435 u0446u0432u0435u0442u0430";
- case "More Colors...": return "u0411u043Eu043Bu044Cu0448u0435 u0446u0432u0435u0442u043Eu0432...";
- default: return "";
- }
- }
- function writeTitle()
- {
- document.write("<title>u0424u043Eu0440u043Cu0430u0442u0438u0440u043Eu0432u0430u043Du0438u0435 u044Fu0447u0435u0439u043Au0438</title>")
- }