styles_cssText2.js
资源名称:JSP-OA.rar [点击查看]
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:1k
源码类别:
Jsp/Servlet
开发平台:
Java
- function loadText()
- {
- var txtLang = document.getElementsByName("txtLang");
- txtLang[0].innerHTML = "u041Fu0440u0435u0434u043Fu0440u043Eu0441u043Cu043Eu0442u0440";
- txtLang[1].innerHTML = "CSS u0442u0435u043Au0441u0442";
- txtLang[2].innerHTML = "u0418u043Cu044F Class-u0430";
- txtLang[3].innerHTML = "u041Fu0440u0438u043Cu0435u043Du0438u0442u044C u043A";
- var optLang = document.getElementsByName("optLang");
- optLang[0].text = "u0412u044Bu0434u0435u043Bu0435u043Du043Du044Bu0439 u0442u0435u043Au0441u0442"
- optLang[1].text = "u0422u0435u043Au0443u0449u0438u0439 u0442u044Du0433"
- document.getElementById("btnCancel").value = "u043Eu0442u043Cu0435u043Du0430";
- document.getElementById("btnApply").value = "u043Fu0440u0438u043Cu0435u043Du0438u0442u044C";
- document.getElementById("btnOk").value = " ok ";
- }
- function getText(s)
- {
- switch(s)
- {
- case "You're selecting BODY element.":
- return "u0412u044B u0432u044Bu0431u0440u0430u043Bu0438 BODY u0442u044Du0433.";
- case "Please select a text.":
- return "u041Fu043Eu0436u0430u043Bu0443u0439u0441u0442u0430, u0432u044Bu0434u0435u043Bu0438u0442u0435 u0442u0435u043Au0441u0442.";
- default:return "";;
- }
- }
- function writeTitle()
- {
- document.write("<title>u041Eu0441u043Eu0431u044Bu0439 CSS</title>")
- }