styles.js
资源名称:eat.rar [点击查看]
上传用户:jisenq
上传日期:2014-06-29
资源大小:7216k
文件大小:1k
源码类别:
数据库编程
开发平台:
ASP/ASPX
- function loadText()
- {
- var txtLang = document.getElementsByName("txtLang");
- txtLang[0].innerHTML = "Styles";
- txtLang[1].innerHTML = "Preview";
- txtLang[2].innerHTML = "Apply to";
- var optLang = document.getElementsByName("optLang");
- optLang[0].text = "Selected Text"
- optLang[1].text = "Current Tag"
- document.getElementById("btnCancel").value = "cancel";
- document.getElementById("btnApply").value = "apply";
- document.getElementById("btnOk").value = " ok ";
- }
- function getText(s)
- {
- switch(s)
- {
- case "You're selecting BODY element.":
- return "You're selecting BODY element.";
- case "Please select a text.":
- return "Please select a text.";
- default:return "";
- }
- }
- function writeTitle()
- {
- document.write("<title>Styles</title>")
- }