网站首页  汉语字词  英语词汇  考试资料  写作素材  旧版资料

请输入您要查询的范文:

 

标题 javascript技巧2
范文
    窗体事件绑定
    document.onmousedown=scrollwindow;
    元素
    document.窗体.elements[索引]
    对象绑定事件
    document.all.xxx.detachevent('onclick',a);
    插件数目
    navigator.plugins
    取变量类型
    typeof($js_libpath) == undefined
    下拉框
    下拉框.options[索引]
    下拉框.options.length
    查找对象
    document.getelementsbyname(r1);
    document.getelementbyid(id);
    定时
    timer=setinterval('scrollwindow()',delay);
    clearinterval(timer);
    uncode编码
    escape() ,unescape
    父对象
    obj.parentelement(dhtml)
    obj.parentnode(dom)
    交换表的行
    tableid.moverow(2,1)
    替换css
    document.all.csss.href = a.css;
    并排显示
    display:inline
    隐藏焦点
    hidefocus=true
    根据宽度换行
    style=word-break:break-all
    自动刷新
    <meta http-equiv=refresh content=8;url=http://www.forasp.cn>
    简单邮件
    <a href=mailto:aaa@bbb.com?subject=ccc&body=xxxyyy>
    快速转到位置
    obj.scrollintoview(true)
    锚
    <a name=first>
    <a href=#first>anchors</a>
随便看

 

在线学习网范文大全提供好词好句、学习总结、工作总结、演讲稿等写作素材及范文模板,是学习及工作的有利工具。

 

Copyright © 2002-2024 cuapp.net All Rights Reserved
更新时间:2025/5/23 8:56:27