码迷,mamicode.com
首页 >  
搜索关键字:document    ( 20024个结果
html5 css3表单
New Document div{ margin:20px; } Oscar Redemption Here`s your chance to set the record straight:tell us what year the wrong film got nominated,and which film shouldhave received a n...
分类:Web程序   时间:2015-01-10 21:06:49    阅读次数:135
穿衣打扮
packagecom.ttol.spider; importjava.io.IOException; importjava.net.URL; import java.util.List; importorg.jdom.Document; importorg.jdom.Element; import org.jdom.JDOMException; importorg.jdom.input.SAXBuilder; publicclassSpiderRss{ publicstaticvoidmain(String..
分类:其他好文   时间:2015-01-10 18:29:35    阅读次数:143
Zero Clipboard js+swf实现的复制功能使用方法
开发中经常会用到复制的功能,在 IE 下实现比较简单。但要想做到跨浏览器比较困难了。本文将介绍一个跨浏览器的库类 Zero Clipboard 。它利用 Flash 进行复制,所以只要浏览器装有 Flash 就可以运行,而且比 IE 的 document.execCommand("Copy") 更加...
分类:Web程序   时间:2015-01-10 18:04:16    阅读次数:198
jquery,javascript -设置某一ul下的li下的 a的属性
//javascriptvar ul = document.getElementById('ul);var as = ul.getElementsByTagName('a');for(var i = 0; i <as.length; i++) { as.item(i).onmouseover ...
分类:编程语言   时间:2015-01-10 12:25:47    阅读次数:194
css3 html5 3D动画练习
New Document div{ margin-bottom:10px; width:200px; height:100px; } @keyframes myfirst { from {background: red;} to {background: yellow;} } @-moz-keyframes myfirst /* Firefox */ { from {background:...
分类:Web程序   时间:2015-01-10 11:19:52    阅读次数:232
jQuery高亮当前选中菜单
假如页面中有以下菜单 首页 归档 分类 关于 如果不是Bootstrap自行定义active CSS样式 $(document).ready(function(){ $(".navbar-nav li").click(function(){ $(this).addClass("active").siblings().removeClass("active");...
分类:Web程序   时间:2015-01-09 23:51:50    阅读次数:530
让页面底部浮动起来固定起来
?? 1、获取屏幕高度, 2、获取页面高度。 3、判断两者之间的的大小。当页面高度大于屏幕高度时就不添加浮动到底布的样式。否则就添加。不去判断是否滚动屏幕。 获取屏幕高度$(window).height();$(document).height(); 浮动到底布: .footer{ position:fixed; width:100%; display:block; botto...
分类:其他好文   时间:2015-01-09 23:48:18    阅读次数:254
javascript Array对象的constructor属性
定义和用法 constructor 属性返回对创建此对象的数组函数的引用。 语法 object.constructor 例子: var test=new Array(); if (test.constructor==Array) { document.write("This is an Array"); } if (test.constructor==Boole...
分类:编程语言   时间:2015-01-09 22:21:04    阅读次数:479
浏览器 怪异模式(Quirks Mode) 与 标准模式(Standards Mode)
浏览器 怪异模式(Quirks Mode) 与 标准模式(Standards Mode)怪异模式,浏览器使用自己的方式解析渲染页面,在不同的浏览器就会显示不同的样式。标准模式,浏览器使用W3C的标准解析渲染页面。通过 document.compatMode 的值可以知道当前用的是什么模式。BackC...
分类:其他好文   时间:2015-01-09 20:56:26    阅读次数:125
如何定位到append的当前位置,不用拉滚动条scrollIntoView方法
1 var bb_mes_con = $('bb_mes_con');2 var mes_html = document.createElement('div');3 mes_html.setAttribute('id', 'mes_html');4 mes_html.innerHTML = ""+...
分类:移动开发   时间:2015-01-09 19:19:53    阅读次数:225
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!