上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 40 下一页
摘要: 1. [代码][CSS]代码 http://www.huiyi8.com/hunsha/hanshi/​ ... 阅读全文
posted @ 2014-08-30 16:45 虚空之眼 阅读(1090) 评论(0) 推荐(0)
摘要: 1. [代码][JavaScript]代码 (function ($) { $.fn.placeholder = function (options) { var defaults = { pColor: "#ccc", pActive: "#999", pF... 阅读全文
posted @ 2014-08-30 16:41 虚空之眼 阅读(356) 评论(0) 推荐(0)
摘要: 1. [代码]php服务器端的 run();class Sock{ public $sockets; public $users; public $master; public function __construct($address, $port){ $this->maste... 阅读全文
posted @ 2014-08-29 15:22 虚空之眼 阅读(405) 评论(0) 推荐(0)
摘要: 一个截取HTML文本的工具,可以按照文字字数或文字字节长度进行截取,保留HTML样式并在最后自动补齐截取后的标签。按工作要求编写,时间紧迫,代码未优化,欢迎讨论和指正。​1. [文件] SubHtml.js/*** 文件名:SubHtml.js* 作 者:DHC* 说 明:带HTML标签根据HTML... 阅读全文
posted @ 2014-08-29 15:20 虚空之眼 阅读(1707) 评论(0) 推荐(0)
摘要: 1. [代码]index.html Album 1 Album 1 Album 3 2. [代码]css/main.css /* Photo Gallery styles */.gallery { margin: 50px auto 0; ... 阅读全文
posted @ 2014-08-29 15:19 虚空之眼 阅读(456) 评论(0) 推荐(0)
摘要: 试用支持canvas的浏览器,无JS依赖,运用新的HTML5技术DrawBoard.renderDrawer('myHandWrite',{penColor:'#FF0000',penWidth:'1px'});仅一段代码就可渲染出整个绘图板​1. [文件] Drawer.js/*** @class... 阅读全文
posted @ 2014-08-29 15:12 虚空之眼 阅读(825) 评论(0) 推荐(0)
摘要: 1. [代码][C#]代码using System;using System.Collections.Generic;using System.Linq;using System.Net.Sockets;using System.Text;using System.Net;using System.... 阅读全文
posted @ 2014-08-29 15:10 虚空之眼 阅读(388) 评论(0) 推荐(0)
摘要: 1.[图片]lxdpie.jpg​2. [文件] lqdpie.html ~ 801B 下载(7) 刘强东吃饼 Your browser does not support the HTML5 canvas tag. 3. [文件] pie.js ~ 3K... 阅读全文
posted @ 2014-08-28 17:04 虚空之眼 阅读(342) 评论(0) 推荐(0)
摘要: 1. [代码]判断是否支持 IndexedDB var indexedDB = window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB || window.msIndexedDB;2. [代码]打开数据库 var db;... 阅读全文
posted @ 2014-08-28 16:58 虚空之眼 阅读(659) 评论(0) 推荐(0)
摘要: 谷歌和百度首页的搜索框都是+模式的,bing的搜索框感觉要好点儿。简言之,就是将提交按钮放到中,其实这是做不到的,只能伪装。​1. [代码]主要源代码 掬一捧|搜索框的实现搜索框 ​ 阅读全文
posted @ 2014-08-28 16:56 虚空之眼 阅读(9860) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 40 下一页