text1.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 = "Fuente";
- txtLang[1].innerHTML = "Estilo";
- txtLang[2].innerHTML = "Tamau00F1o";
- txtLang[3].innerHTML = "Color Texto";
- txtLang[4].innerHTML = "Color Fondo";
- txtLang[5].innerHTML = "Efectos";
- txtLang[6].innerHTML = "Decoraciu00F3n";
- txtLang[7].innerHTML = "May./Min.";
- txtLang[8].innerHTML = "Variante";
- txtLang[9].innerHTML = "Alineaciu00F3n Vertical";
- txtLang[10].innerHTML = "No definido";
- txtLang[11].innerHTML = "Subrallado";
- txtLang[12].innerHTML = "Sobreimpresiu00F3n";
- txtLang[13].innerHTML = "Tachar";
- txtLang[14].innerHTML = "Ninguno";
- txtLang[15].innerHTML = "No definido";
- txtLang[16].innerHTML = "1ª mayúsculas";
- txtLang[17].innerHTML = "mayu00FAsculas";
- txtLang[18].innerHTML = "Minu00FAsculas";
- txtLang[19].innerHTML = "Ninguna";
- txtLang[20].innerHTML = "No definido";
- txtLang[21].innerHTML = "Versales";
- txtLang[22].innerHTML = "Normal";
- txtLang[23].innerHTML = "No definido";
- txtLang[24].innerHTML = "Superu00EDndice";
- txtLang[25].innerHTML = "Subu00EDndice";
- txtLang[26].innerHTML = "Relativo";
- txtLang[27].innerHTML = "lu00EDnea de Base ";
- txtLang[28].innerHTML = "Espacio caracteres";
- txtLang[29].innerHTML = "Vista Previa";
- txtLang[30].innerHTML = "Aplicar a";
- var optLang = document.getElementsByName("optLang");
- optLang[0].text = "Regular"
- optLang[1].text = "Italica"
- optLang[2].text = "Negrita"
- optLang[3].text = "Negrita Italica"
- optLang[0].value = "Regular"
- optLang[1].value = "Italica"
- optLang[2].value = "Negrita"
- optLang[3].value = "Negrita Italica"
- sStyleWeight1 = "Regular"
- sStyleWeight2 = "Italica"
- sStyleWeight3 = "Negrita"
- sStyleWeight4 = "Negrita Italica"
- optLang[4].text = "Arriba"
- optLang[5].text = "Medio"
- optLang[6].text = "Abajo"
- optLang[7].text = "Texto-superior"
- optLang[8].text = "Texto-inferior"
- optLang[9].text = "Texto seleccionado"
- optLang[10].text = "Etiqueta actual"
- document.getElementById("btnPick1").value = "Seleccionar";
- document.getElementById("btnPick2").value = "Seleccionar";
- document.getElementById("btnCancel").value = "Cancelar";
- document.getElementById("btnApply").value = "Aplicar";
- document.getElementById("btnOk").value = " Aplicar y salir ";
- }
- function getText(s)
- {
- switch(s)
- {
- case "Custom Colors": return "Custom Colors";
- case "More Colors...": return "More Colors...";
- default: return "";
- }
- }
- function writeTitle()
- {
- document.write("<title>Formato Texto</title>")
- }