`
wsmh3333
  • 浏览: 3481 次
  • 性别: Icon_minigender_1
  • 来自: 长春
社区版块
存档分类
最新评论
文章列表
转载自http://www.cnblogs.com/uedt/archive/2010/06/24/1764561.html 一、 起因 那天用到prototype.js于是打开看看,才看几行就满头雾水,原因是对js的面向对象不是很熟悉,于是百度+google了一把,最后终于算小有收获,写此纪念一下^_^。 prototype.js代码片段 代码如下: var Class = { create: function() { return function() { this.initialize.apply(this , argume ...
1. document.write( " "); 输出语句 2.JS中的注释为// 3.传统的HTML文档顺序是:document- >html- >(head,body) 4.一个浏览器窗口中的DOM顺序是:window- >(navigator,screen,history,location,document) 5.得到表单中元素的名称和值:document.getElementById( "表单中元素的ID號 ").name(或value) 6.一个小写转大写的JS: document.getElementByI ...

js图片轮换

<html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <style> <!-- --> </style> </head> <body> <div id="img_swicth" style="margin:100px 100px;&q ...
<html> <head> <title>menu</title> <style> <!-- body{margin:0px;} .main{height:25px;line-height:25px;width:120px;} .main a{height:25px;line-height:25px;width:120px; text-align:center; font-size:14px; font-weight:bold; background:#0066FF; color:#FFFFFF;display:bl ...
Global site tag (gtag.js) - Google Analytics