paragraph.js
资源名称:JSP-OA.rar [点击查看]
上传用户:jhtang88
上传日期:2014-01-27
资源大小:28528k
文件大小:2k
源码类别:
Jsp/Servlet
开发平台:
Java
- function loadText()
- {
- var txtLang = document.getElementsByName("txtLang");
- txtLang[0].innerHTML = "Alinear";
- txtLang[1].innerHTML = "sangría";
- txtLang[2].innerHTML = "Espacio entre palabras";
- txtLang[3].innerHTML = "Espacio entre letras";
- txtLang[4].innerHTML = "Interlineado";
- txtLang[5].innerHTML = "May/min";
- txtLang[6].innerHTML = "Espacio en blanco";
- document.getElementById("divPreview").innerHTML = "Lorem ipsum dolor sit amet, " +
- "consetetur sadipscing elitr, " +
- "sed diam nonumy eirmod tempor invidunt ut labore et " +
- "dolore magna aliquyam erat, " +
- "sed diam voluptua. At vero eos et accusam et justo " +
- "duo dolores et ea rebum. Stet clita kasd gubergren, " +
- "no sea takimata sanctus est Lorem ipsum dolor sit amet.";
- var optLang = document.getElementsByName("optLang");
- optLang[0].text = "No definido";
- optLang[1].text = "Izquierda";
- optLang[2].text = "Derecha";
- optLang[3].text = "Centrar";
- optLang[4].text = "Justificar";
- optLang[5].text = "No definido";
- optLang[6].text = "1u00AA mayu00FAsculas";
- optLang[7].text = "mayu00FAsculas";
- optLang[8].text = "Minu00FAsculas";
- optLang[9].text = "Ninguno";
- optLang[10].text = "No definido";
- optLang[11].text = "No ajustar";
- optLang[12].text = "pre";
- optLang[13].text = "Normal";
- document.getElementById("btnCancel").value = "Cancelar";
- document.getElementById("btnApply").value = "Aplicar";
- document.getElementById("btnOk").value = " Aplicar y salir ";
- }
- function writeTitle()
- {
- document.write("<title>Formato parrafo</title>")
- }