1. 单像素边框CSS表格这是一个非经常常使用的表格样式。源码: Info Header 1Info Header 2Info Header 3 Text 1AText 1BText 1C Text 2AText 2BText 2C2. 带背景图的CSS样式表格和上面差点儿相同,只是每一个格子里多了...
分类:
Web程序 时间:
2014-07-16 18:30:56
阅读次数:
238
在Grid中显示时间,后台传过来的是date格式的数据(PHP date('Y-m-d', time()),一般在Ext model中定义数据的类型和格式:{name:'birth', type:'date'},view层:{ header: '生日', dataIndex: 'birth', ed...
分类:
Web程序 时间:
2014-07-16 18:29:36
阅读次数:
199
依据《C++ More Exception》所述的规则:
Rule #1: Never write using-directives in header files.
Rule #2: Never write namespace using-declarations in header files.
Rule #3: In implementation files, never ...
分类:
其他好文 时间:
2014-07-16 11:00:58
阅读次数:
141
1 public class Solution { 2 public int firstMissingPositive(int[] A) { 3 HashSet hash=new HashSet(); 4 int count=0; 5 int...
分类:
其他好文 时间:
2014-07-15 08:58:16
阅读次数:
239
我们可以通过在java程序中模拟浏览器一样,把数据抓下来,具体方法是在java程序中set header和cookie,下面是一个例子:
public class NetConnection {
public static final int MAX_HOTWORDS_FILE_SIZE = 256 * 1024;
public static void main(String[] args...
分类:
编程语言 时间:
2014-07-14 13:34:03
阅读次数:
219
打开在DXF参考手册中,点击“索引”-->输入“HEADER”,...
分类:
其他好文 时间:
2014-07-13 18:51:49
阅读次数:
1043
JS控制新窗口打开网页,防止蜘蛛爬行
点击 这里也可以是图片
function locationUrl(){
var u1 = 'http://www.';
var u2 = 'baidu.com/hl/';
var u3 = 'bak_header.php';
var url = u1+u2+u3;
window.open(url);
...
分类:
Web程序 时间:
2014-07-13 15:44:24
阅读次数:
179
项目中要用到采集的数据,所以就先拿CSDN博客来试了试。这里使用Simple HTML DOM(官网)这个库,它能够方便的遍历HTML文档。
php
include_once('simple_html_dom.php');
header('Content-Type:text/html;charset=utf-8');
$html = file_get_htm...
分类:
Web程序 时间:
2014-07-13 15:29:04
阅读次数:
262
<?php/***二维数组根据某个字段排序*功能:按照用户的年龄倒序排序*@authorruxing.li*/header(‘Content-Type:text/html;Charset=utf-8‘);$arrUsers=array(array(‘id‘=>1,‘name‘=>‘张三‘,‘age‘=>25,),array(‘id‘=>2,‘name‘=>‘李四‘,‘age‘=>23,),array(‘id‘..
分类:
Web程序 时间:
2014-07-13 15:07:48
阅读次数:
259