ddSlick 是一个轻量级的 jQuery 插件用来实现定制的下拉组件。
主要特点: Adds images and description to otherwise boring drop downs. Uses JSON to populate the drop down options. Uses Minimum css and no external stylesheets to download. Supports callback functions on selection. Works as good even without images or description.
官网:http://designwithpc.com/Plugins/ddSlick
下载:… Read More
在JavaScript文件里嵌入大量字符串常量是经常遇到的事。有时为了省事,就把一些界面的HTML和CSS直接写在JS文件里。数量少还好,多的话就密密麻麻的一坨文字,讲究美观的文艺青年们,会用大量的字符连接符号甚至加上缩进,强制换成好几行。例如:
var html =
'<div>' +
'<p>Hello</p>' +
'<p>World'</p>' +
'</div>';
这还好,要是字符串里有不少双引号单引号,那就更麻烦了,各种转义字符看的眼花缭乱。
其实有个不怎么起眼的小技巧,就能解决这个问题。大家总认为字符串必须在”R… Read More
测试DEMO
I am currently working on a large project and part of the project is to send simple text message notices using PHP. Our client had looked into a number of expensive services to send simple SMS messages but most were cost prohibitive for a start-up venture.
As usual, I was not satisfied paying for something that
在这篇文章中,我们将提供最好的PDF浏览器插件。
1. JavaScript的PDF阅读器(JavaScript PDF Reader : pdf.js)
pdf.js 基于HTML5实现
在线演示
2. jQuery的媒体插件(jQuery Media Plugin)
jQuery的媒体插件支持丰富的媒体内容不显眼的转换标准标记。它支持virtually any media type, including Flash, Quicktime, Windows Media Player, Real Player, MP3, Silverlight, PDF 等等
在线演示
3. 嵌入PDF文件转换成HTML文件(PDFObject : Embeds PDF file… Read More