上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 21 下一页
摘要: <style> #outer{ position: relative; width: 800px; height: 450px; margin: 30px auto 0; overflow: hidden; } #inner{ position: absolute; left: 0; top: 0; 阅读全文
posted @ 2016-03-06 14:09 mingjixiaohui 阅读(316) 评论(0) 推荐(0) 编辑
摘要: <style type="text/css"> *{ margin: 0; padding: 0; } #outer{ position: relative; margin: 30px auto 0; width: 800px; height: 450px; overflow: hidden; } 阅读全文
posted @ 2016-03-06 14:04 mingjixiaohui 阅读(871) 评论(0) 推荐(0) 编辑
摘要: <style> *{ margin:0; padding:0; } #outer{ width:800px; height:450px; overflow:hidden; position:relative; } #inner{ position:absolute; width:4800px; ov 阅读全文
posted @ 2016-03-06 14:01 mingjixiaohui 阅读(175) 评论(0) 推荐(0) 编辑
摘要: <style> *{ margin:0; padding:0; } ul{ list-style:none; overflow:hidden; } ul li{ width:100px; height:40px; border:1px solid black; float:left; text-al 阅读全文
posted @ 2016-03-06 14:00 mingjixiaohui 阅读(555) 评论(0) 推荐(0) 编辑
摘要: <style> #mainBox{ overflow:hidden; position:relative; width:320px; height:568px; background:url(images/background_1.png) no-repeat; margin:30px auto 0 阅读全文
posted @ 2016-03-06 13:59 mingjixiaohui 阅读(352) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> // var person1 = new Object(); // person1.name = "syz"; // person1.age = "26"; // person1.say = function(){ // alert(" 阅读全文
posted @ 2016-03-06 13:57 mingjixiaohui 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 面向对象的语言有一个标志,即拥有类的概念,抽象实例对象的公共属性与方法,基于类可以创建任意多个实例对象,一般具有封装、继承、多态的特性!但JS中对象与纯面向对象语言中的对象是不同的,ECMA标准定义JS中对象:无序属性的集合,其属性可以包含基本值、对象或者函数。可以简单理解为JS的对象是一组无序的值 阅读全文
posted @ 2016-03-06 13:56 mingjixiaohui 阅读(171) 评论(0) 推荐(0) 编辑
摘要: <script> window.onload = function(){ var oTxt= document.getElementById("txt1"); var oBtn = document.getElementById("btn1"); oBtn.onclick = function(){ 阅读全文
posted @ 2016-03-06 13:49 mingjixiaohui 阅读(182) 评论(0) 推荐(0) 编辑
摘要: <script> window.onload = function(){ var oTxt1 = document.getElementById("txt1"); var oTxt2 = document.getElementById("txt2"); var oBtn = document.get 阅读全文
posted @ 2016-03-06 13:48 mingjixiaohui 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-03-06 13:47 mingjixiaohui 阅读(283) 评论(0) 推荐(0) 编辑
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 21 下一页