-
rec();
If i define and declare function.Do the function again.
查看全部 -
2-1Space+Enter
查看全部 -
1.define function
function xxx(){}
xxx();
2.bind action
查看全部 -
if 如果
else
查看全部 -
open() 方法可以查找一个已经存在或者新建的浏览器窗口。
语法:
window.open([URL], [窗口名称], [参数字符串])
参数说明:
URL:可选参数,在窗口中要显示网页的网址或路径。如果省略这个参数,或者它的值是空字符串,那么窗口就不显示任何文档。窗口名称:可选参数,被打开窗口的名称。 1.该名称由字母、数字和下划线字符组成。 2."_top"、"_blank"、"_self"具有特殊意义的名称。 _blank:在新窗口显示目标网页 _self:在当前窗口显示目标网页 _top:框架网页中在上部窗口中显示目标网页 3.相同 name 的窗口只能创建一个,要想创建多个窗口则 name 不能相同。 4.name 不能包含有空格。参数字符串:可选参数,设置窗口参数,各参数用逗号隔开。
参数表:
例如:打开http://www.imooc.com网站,大小为300px * 200px,无菜单,无工具栏,无状态栏,有滚动条窗口:
<script type="text/javascript"> window.open('http://www.imooc.com','_blank','width=300,height=200,menubar=no,toolbar=no, status=no,scrollbars=yes') </script>注意:运行结果考虑浏览器兼容问题。
查看全部 -
if()
else
???too supfacial.
查看全部 -
Class1-7 show that JavaScript's varable useway.
and use document.write().
查看全部 -
Class1-6 tips me // /* after a JavaScript part also done.
查看全部 -
Class1-5 tips that javascripts no ‘;’can also well work .
查看全部 -
Class1-4 show that sequence of javascipt performances.
if only document.write object,is ordered
查看全部 -
Class1-3 show that how to run independent js file.
查看全部 -
Class1-2 just show script tag how to used.
查看全部 -
class1-1 suppressed JavaScript action for html element etc.p.
查看全部 -
查看全部
-
是否打开新窗口
查看全部
举报

