text2.js
资源名称:JSP-OA.rar [点击查看]
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:3k
源码类别:
Jsp/Servlet
开发平台:
Java
- var sStyleWeight1;
- var sStyleWeight2;
- var sStyleWeight3;
- var sStyleWeight4;
- function loadText()
- {
- var txtLang = document.getElementsByName("txtLang");
- txtLang[0].innerHTML = "Skrifttype";
- txtLang[1].innerHTML = "Typografi";
- txtLang[2].innerHTML = "Stu00F8rrelse";
- txtLang[3].innerHTML = "Forgrund";
- txtLang[4].innerHTML = "Baggrund";
- txtLang[5].innerHTML = "Effekter";
- txtLang[6].innerHTML = "Dekoration";
- txtLang[7].innerHTML = "Tekst";
- txtLang[8].innerHTML = "Minicaps";
- txtLang[9].innerHTML = "Vertikal";
- txtLang[10].innerHTML = "Ingen";
- txtLang[11].innerHTML = "Understreget";
- txtLang[12].innerHTML = "Overstreget";
- txtLang[13].innerHTML = "Gennemstreget";
- txtLang[14].innerHTML = "Normal";
- txtLang[15].innerHTML = "Ingen";
- txtLang[16].innerHTML = "Kapitu00E6ler";
- txtLang[17].innerHTML = "St. bogstv.";
- txtLang[18].innerHTML = "Smu00E5 bogst.";
- txtLang[19].innerHTML = "Normal";
- txtLang[20].innerHTML = "Ingen";
- txtLang[21].innerHTML = "Small-Caps";
- txtLang[22].innerHTML = "Normal";
- txtLang[23].innerHTML = "Ingen";
- txtLang[24].innerHTML = "Hu00E6vet skrift";
- txtLang[25].innerHTML = "Su00E6nket skrift";
- txtLang[26].innerHTML = "Relativ";
- txtLang[27].innerHTML = "Grundlinie";//Baseline
- txtLang[28].innerHTML = "tegnafstand";
- txtLang[29].innerHTML = "Eksempel";
- var optLang = document.getElementsByName("optLang");
- optLang[0].text = "Almindelig"
- optLang[1].text = "Kursiv"
- optLang[2].text = "Fed"
- optLang[3].text = "Fed kursiv"
- optLang[0].value = "Almindelig"
- optLang[1].value = "Kursiv"
- optLang[2].value = "Fed"
- optLang[3].value = "Fed kursiv"
- sStyleWeight1 = "Almindelig"
- sStyleWeight2 = "Kursiv"
- sStyleWeight3 = "Fed"
- sStyleWeight4 = "Fed kursiv"
- optLang[4].text = "u00D8verst"
- optLang[5].text = "Midt"
- optLang[6].text = "Nederst"
- optLang[7].text = "Tekst top"
- optLang[8].text = "Tekst bund"
- document.getElementById("btnPick1").value = "Vu00E6lg"
- document.getElementById("btnPick2").value = "Vu00E6lg"
- document.getElementById("btnCancel").value = "Annuller"
- document.getElementById("btnOk").value = " Ok "
- }
- function getText(s)
- {
- switch(s)
- {
- case "Custom Colors": return "Custom Colors";
- case "More Colors...": return "More Colors...";
- default: return "";
- }
- }
- function writeTitle()
- {
- document.write("<title>Tekst formatering</title>")
- }