jQuery webPrejudice Plugin
- 授权协议: 未知
- 开发语言:
- 操作系统: 未知
- 软件首页: http://plugins.jquery.com/project/wP
软件介绍
Description
I believe most developers have been experiencing compatiblity issues with so-called brwosers. I know you have spent lots of time fixing pages to grace all browsers. So have I. I feel distressed, exhausted when finishing tweaking. The last words I want to voice out ---- I hate this!
Why not ask visitors to change another browser?! This plugin is set to list pros and cons of various browsers and recommend visitors to alter their browser!
Requirements
- jQuery Libary, just download from jQuery Official Site
- webPrejudice script file. You can download it from below
- a little knowledge on xhtml and js
Features
This plugin will check the type and version of the browser the visitor is using, and show a UI box to recommend visitors to change his browser, etc.
You can also manually choose the browser you want to prejudice on, and the plugin will help you tell the visitor how bad is the browser he's using and the benifits of other browsers!
Currently only 3 parameters are avaiblable, all of which are optional.
- disable if the plugin is disabled. Don't assign any vallue and the plugin will work. Set to "true" if you want to disable the plugin.
- loc the path of XML file where stores the language settings of this plugin.
- target the browser you want to condem. You can choose from "ie6","ie7,"ie8","safari","mozilla","opera", or leave it blank. Default is "ie6". (Most people will agree with my prejudice on IE6)
Usage
- Load jQuery Libary
- You can directly add the following code in <head> tag:
<script type="text/javascript" src="jquery..js"></script> - Load webPrejudice Plugin
- <script type="text/javascript" src="jquery.webPrejudice.js"></script>
- Assing the target object
- Use it inside jQuery(document).ready() block:
jQuery.webPrejudice();
You can, of course , apply some change, customizing the xml path and target browser:
jQuery.webPrejudice({
loc: "pathtoxml/set.xml",
target: "opera"
})
Codes above will using the language settings in set.xml and the plugin will help you persuade visitors to drop out Opera and use another browser. - XML Preferrence File
- By default, all lines are English, you can localize this plugin by creating XML Preferrence File in your own language. Open default.xml and edit it following the structure of this sample xml. The links of browsers downloading page are also in this xml file.
企业应用架构模式
Martin Fowler / 王怀民、周斌 / 机械工业出版社 / 2010-4 / 59.00元
《企业应用架构模式》作者是当今面向对象软件开发的权威,他在一组专家级合作者的帮助下,将40多种经常出现的解决方案转化成模式,最终写成这本能够应用于任何一种企业应用平台的、关于解决方案的、不可或缺的手册。《企业应用架构模式》获得了2003年度美国软件开发杂志图书类的生产效率奖和读者选择奖。《企业应用架构模式》分为两大部分。第一部分是关于如何开发企业应用的简单介绍。第二部分是《企业应用架构模式》的主体......一起来看看 《企业应用架构模式》 这本书的介绍吧!
JS 压缩/解压工具
在线压缩/解压 JS 代码
UNIX 时间戳转换
UNIX 时间戳转换
