//新闻导航 (function (){ //获取分类名称 var _text = $('.news .news-wrapper .news-left .news-left-title .position a').eq(1).text(); ...
分类:
Web开发 时间:
2015-12-16 15:21:20
收藏:
0 评论:
0 赞:
0 阅读:
160
.HalfPixelLine{ background: repeat-x top left url("data:image/svg+xml;utf8,"); height: 1px; width: 100%;}
分类:
Web开发 时间:
2015-12-16 15:20:10
收藏:
0 评论:
0 赞:
0 阅读:
192
1.在httpd.conf添加多个端口,如下Listen 80Listen 80802.开启Include conf/extra/httpd-vhosts.conf3.具体代码如下 ServerAdmin webmaster@dummy-host.example.com Document...
分类:
Web开发 时间:
2015-12-16 15:18:40
收藏:
0 评论:
0 赞:
0 阅读:
270
适应各种终端设备的自适应网页设计现在上网不再仅限于电脑,各种移动设备如手机平板等正超过桌面设备,成为访问互联网的最常见终端。于是,网页设计师不得不面对一个难题:如何才能在不同大小的设备上呈现同样的网页?手机的屏幕比较小,宽度通常在600像素以下;PC的屏幕宽度,一般都在1000像素以上(目前主流宽度...
分类:
Web开发 时间:
2015-12-16 15:16:20
收藏:
0 评论:
0 赞:
0 阅读:
131
CSS3弹性盒模型CSS3 属性集合box-orient设置或检索弹性盒模型对象的子元素的排列方式。box-pack设置或检索弹性盒模型对象的子元素的对齐方式。box-align设置或检索弹性盒模型对象的子元素的对齐方式。box-flex设置或检索弹性盒模型对象的子元素如何分配其剩余空间。box-d...
分类:
Web开发 时间:
2015-12-16 15:14:50
收藏:
0 评论:
0 赞:
0 阅读:
209
var http=require('http');var cheerio=require('cheerio');//页面获取到的数据模块var url='http://www.jcpeixun.com/lesson/1512/';function filterData(html){ /*所要获...
分类:
Web开发 时间:
2015-12-16 15:13:30
收藏:
0 评论:
0 赞:
0 阅读:
205
document.getElementById('label').innerText="";document.getElementById('div').innerHTML="";
分类:
Web开发 时间:
2015-12-16 15:12:30
收藏:
0 评论:
0 赞:
0 阅读:
196
有固定好的Json数据格式,你还在手动敲对应的实体吗?有点low了!步入正题,这是一个json字符串,先去验证JSON数据格式(http://www.bejson.com/)如下:{ "items_custom_get_response": { "items": { ...
分类:
Web开发 时间:
2015-12-16 14:02:00
收藏:
0 评论:
0 赞:
0 阅读:
151
这里应该主要css顺序:a:hover应该放在最后
分类:
Web开发 时间:
2015-12-16 14:00:56
收藏:
0 评论:
0 赞:
0 阅读:
212
centos6.532位系统;checkingforthelocationoflibpng...yescheckingforthelocationoflibXpm...nocheckingforFreeType2...yescheckingforT1libsupport...nocheckingwhethertoenabletruetypestringfunctioninGD...yescheckingwhethertoenableJIS-mappedJapanesefontsupportinGD....
分类:
Web开发 时间:
2015-12-16 12:42:50
收藏:
0 评论:
0 赞:
0 阅读:
3497
Hibernate中如何正确匹配字段到List对象...
分类:
Web开发 时间:
2015-12-16 12:37:01
收藏:
0 评论:
0 赞:
0 阅读:
230
判空 function check(s) { return (s == null || typeof (s) == "undefined" || s == ""); }去掉前后空格 function trim(s) { return s.replace(/(^\s*)|(\s*$)/g, "").....
分类:
Web开发 时间:
2015-12-16 12:35:10
收藏:
0 评论:
0 赞:
0 阅读:
264
Dribbble - Popular网页设计师联盟--国内网页设计综合门户CHINAUI优艾网站酷(ZCOOL)ICONFANS|图标粉丝网
分类:
Web开发 时间:
2015-12-16 12:34:30
收藏:
0 评论:
0 赞:
0 阅读:
244
为了方便我们快速地找到一些特殊的元素,js提供了几个有用的东东。1.快速找到根元素:document.documentElement和document.body。2.obj.parentNode:找到obj元素 的父元素 。3.obj.childNodes:找到obj元素的全体子元素。注意,有可能空...
分类:
Web开发 时间:
2015-12-16 12:30:20
收藏:
0 评论:
0 赞:
0 阅读:
216
介绍BOM:Browser Object Model,即浏览器对象模型,提供了独立于内容的、可以与浏览器窗口进行互动的对象结构。 Browser对象:指BOM提供的多个对象,包括:Window、Navigator、Screen、History、Location等。
分类:
Web开发 时间:
2015-12-16 12:28:40
收藏:
0 评论:
0 赞:
0 阅读:
357
打开..\wamp\bin\apache\apache2.4.9\conf\httpd.conf配置文件, # # Possible values for the Options directive are "None", "All", # or any combination of: # Inde...
分类:
Web开发 时间:
2015-12-16 12:27:50
收藏:
0 评论:
0 赞:
0 阅读:
390
html使用css让文字超出部分用省略号三个点显示的方法: 我正确使用的就是下面的代码,li里面是a标记。在IE和google中使用是正常的,火狐不知道,我也不在意,等你来测 li{ display:block; overflow:hidden; word-break:k...
分类:
Web开发 时间:
2015-12-16 12:25:50
收藏:
0 评论:
0 赞:
0 阅读:
191
1.parse 用于从一个字符串中解析出json 对象。例如var str='{"name":"cpf","age":"23"}'经 JSON.parse(str) 得到:Object: age:"23" name:"cpf" _proto_:Objectps:单引号写在{}外,...
分类:
Web开发 时间:
2015-12-16 12:25:20
收藏:
0 评论:
0 赞:
0 阅读:
203