最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
类似WORD的文本风格设置技术大揭密
时间:2022-06-30 09:38:29 编辑:袖梨 来源:一聚教程网
不足之处:
1.我没有权力贴图,如果有了图片,相信大家对这种技术应该比较容易理解。
2.还有这段代码并没有完全列出风格设置的全部,还有其他部分功能将不段的完善。
发言区
T language=javascript>
function dologin()
{
var doc = document.fmain;
var text = frames.comment.document.body.innerText;
var html = frames.comment.document.body.innerHTML;
if(doc.subject.value=="")
{
alert("You must enter subject");
doc.subject.focus();
return false;
}
if(doc.subject.length>200)
{
alert("The subject is larger,pls increame it");
doc.subject.focus();
return false;
}
if ((html == "") || (text == ""))
{
frames.comment.focus();
alert("You must enter Comment");
return false;
1.我没有权力贴图,如果有了图片,相信大家对这种技术应该比较容易理解。
2.还有这段代码并没有完全列出风格设置的全部,还有其他部分功能将不段的完善。
function dologin()
{
var doc = document.fmain;
var text = frames.comment.document.body.innerText;
var html = frames.comment.document.body.innerHTML;
if(doc.subject.value=="")
{
alert("You must enter subject");
doc.subject.focus();
return false;
}
if(doc.subject.length>200)
{
alert("The subject is larger,pls increame it");
doc.subject.focus();
return false;
}
if ((html == "") || (text == ""))
{
frames.comment.focus();
alert("You must enter Comment");
return false;
相关文章
- 百度农场如何更换其他水果 05-17
- cad如何合并多个视口为单一视口 05-17
- 崩坏星穹铁道翡翠遗器推荐 05-17
- poki小游戏-秒玩免费零等待入口 05-17
- sketchup如何绘制圆边立方体模型 05-17
- TikTok官网最新入口-TikTok网页版极速注册指南 05-17