
js
文章平均质量分 63
飞鸟zjs
这个作者很懒,什么都没留下…
展开
-
各种分享特效
http://www.jiathis.com/原创 2013-10-23 18:36:56 · 550 阅读 · 0 评论 -
js的属性操作
Remove this if you use the .htaccess -->js的属性操作window.onload = function(){var bu1 = document.getElementById("bu1");var bu2 = document.getElementById("bu2");var p原创 2014-09-03 22:20:49 · 500 阅读 · 0 评论 -
easyui的学习之路---panel组件
<%String path = request.getContextPath();String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";%> "> 主页原创 2014-08-11 22:21:02 · 601 阅读 · 2 评论 -
js模拟发短信version1
js的属性操作 .bottom{border: 1px solid red; height: 50px; width: 300px; margin-left: 100px;} .content{border: 1px solid red; height: 500px; width: 300px; margin-left: 100px; } .imp{原创 2014-09-04 22:05:57 · 645 阅读 · 0 评论 -
js实现的折叠导航
function expand(el)//传递的是id,1,2,3用来区分所属的分类 { childobj = document.getElementById("child" + el);//child1,child2..... if (childobj.style.display == 'none')//如原创 2013-11-17 20:06:59 · 925 阅读 · 0 评论 -
js操作table
记得以前面试的时候遇到过这样一个问题:有一个表格,然后有4个输入框,一个合并 按钮,输入框是这样的,从第几行到第几行,从第几列到第几列,然后点击按钮,合并 。当时我从学校出来,js知识只是知道一些,根本做不到!现在想想,其实这个问题也还是考基础功夫是否扎实!大家有兴趣可以自己做做看,测下自己是不是能够做出来。题目的截图: 第1/1列第1/2列第1/3列第1/4列转载 2013-11-28 23:54:16 · 497 阅读 · 0 评论 -
js中关于简单事件的处理与浏览器对象
简单的事件处理 <!-- 这个js的外部调用标签不能自结束 --> function clickD(obj){ alert(obj.innerHTML); } function mouseD(obj){ obj.style.color = "#f原创 2013-10-09 09:47:03 · 999 阅读 · 0 评论 -
js基础部分的一部分小例子
1,关于js调用日期的代码var d = new Date(); //js中,月份的下标是从0开始的document.write(d.getFullYear()+"年"+(d.getMonth()+1)+"月"+d.getDate()+"日"+"星期"+d.getDay());2,concat的用法var str1 = new String("abc");原创 2013-10-09 09:43:54 · 776 阅读 · 0 评论 -
js特效
1,禁止查看源码:function click() {if (event.button==2) {alert('不许你偷看!');}}document.onmousedown=click 2,分时问候:<!--now = new Date(),hour = now.getHours()if(hour < 6){document.write("凌晨好!")}e原创 2013-10-09 16:20:51 · 953 阅读 · 0 评论 -
js操作table
Marketplace function addTr(){ var num = document.getElementById("num"); if(num.value<=4){ var tabel = document.getElementById("added"); var tr = document.createEl原创 2014-10-13 12:01:47 · 20817 阅读 · 0 评论