This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function($) { | |
$.eb = $.eb || {}; | |
// $.eb.ie = function (min,max) { | |
// // return true; | |
// if ($.browser.msie) { | |
// var v = Math.floor($.browser.version); | |
// if (v >= min && v <= max) { | |
// return true; | |
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* Bootstrap v2.2.1 | |
* | |
* Copyright 2012 Twitter, Inc | |
* Licensed under the Apache License v2.0 | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Designed and built with all the love in the world @twitter by @mdo and @fat. | |
*/ | |
article, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Underscore.php v1.3.1 | |
* Copyright (c) 2011 Brian Haveri | |
* Underscore.php is licensed under the MIT license | |
* Underscore.php was inspired by and borrowed from Underscore.js | |
* For docs, license, tests, and downloads, see: http://brianhaveri.github.com/Underscore.php | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function () { | |
/* 延迟函数 */ | |
jQuery.fn.delay = function (time, func) { | |
return this.each(function () { | |
setTimeout(func, time); | |
}); | |
}; | |
jQuery.fn.countDown = function (settings, to) { | |
settings = jQuery.extend({ | |
startFontSize: '36px', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var scrolltotop={ | |
setting: {startline:1, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]}, | |
controlHTML: '<img src="http://res.quxue.com/images/upTop.gif" style="width:23px; height:72px" />', | |
controlattrs: {offsetx:5, offsety:45}, | |
anchorkeyword: '#top', | |
state: {isvisible:false, shouldvisible:false}, | |
scrollup:function(){ | |
if (!this.cssfixedsupport) | |
this.$control.css({opacity:0}) | |
var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! http://mths.be/placeholder v2.0.7 by @mathias */ | |
;(function(f,h,$){var a='placeholder' in h.createElement('input'),d='placeholder' in h.createElement('textarea'),i=$.fn,c=$.valHooks,k,j;if(a&&d){j=i.placeholder=function(){return this};j.input=j.textarea=true}else{j=i.placeholder=function(){var l=this;l.filter((a?'textarea':':input')+'[placeholder]').not('.placeholder').bind({'focus.placeholder':b,'blur.placeholder':e}).data('placeholder-enabled',true).trigger('blur.placeholder');return l};j.input=a;j.textarea=d;k={get:function(m){var l=$(m);return l.data('placeholder-enabled')&&l.hasClass('placeholder')?'':m.value},set:function(m,n){var l=$(m);if(!l.data('placeholder-enabled')){return m.value=n}if(n==''){m.value=n;if(m!=h.activeElement){e.call(m)}}else{if(l.hasClass('placeholder')){b.call(m,true,n)||(m.value=n)}else{m.value=n}}return l}};a||(c.input=k);d||(c.textarea=k);$(function(){$(h).delegate('form','submit.placeholder',function(){var l=$('.placeholder',this).each(b);setTimeout(function(){l.each(e)},1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function($){ | |
/* 基于Bootstrap Typeahead改造而来的自动完成插件 | |
* Author:F.L.F | |
* Site: http://digdata.me | |
* ================================= */ | |
var Autocomplete = function (element, options) { | |
this.$element = $(element) | |
this.options = $.extend({}, $.fn.autocomplete.defaults, options) | |
this.sorter = this.options.sorter || this.sorter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* == jQuery simpleTabs v2.2 == | |
* QQ: 390514201[sole] | |
* 发布: 2012-09-25 | |
* 更新: 2013/10/7 17:48 | |
*/ | |
;(function($){ | |
$.fn.simpleTabs = function(o){ | |
var defs = { | |
control : ".control a", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* json2select 1.0.1 | |
* | |
* Copyright (c) 2008 Shawphy (shawphy.com) | |
* Dual licensed under the MIT and GPL licenses: | |
* http://www.opensource.org/licenses/mit-license.php | |
* http://www.gnu.org/licenses/gpl.html | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var areaJson = [{"t":"北京市","s":[{"t":"东城区","s":[{"t":"和平里街道"},{"t":"东直门街道"},{"t":"建国门街道"},{"t":"朝阳门街道"},{"t":"东四街道"},{"t":"北新桥街道"},{"t":"安定门街道"},{"t":"交道口街道"},{"t":"景山街道"},{"t":"东华门街道"}]},{"t":"西城区","s":[{"t":"什刹海街道"},{"t":"金融街街道"},{"t":"德胜街道"},{"t":"展览路街道"},{"t":"月坛街道"},{"t":"新街口街道"},{"t":"西长安街街道"}]},{"t":"崇文区 ","s":[{"t":"永定门外街道"},{"t":"天坛街道"},{"t":"体育馆路街道"},{"t":"龙潭街道"},{"t":"东花市街道"},{"t":"崇文门外街道"},{"t":"前门街道"}]},{"t":"宣武区","s":[{"t":"广安门外街道"},{"t":"白纸坊街道"},{"t":"牛街街道"},{"t":"广安门内街道"},{"t":"陶然亭街道"},{"t":"椿树街道"},{"t":"天桥街道"},{"t":"大栅栏街道"}]},{"t":"朝阳区","s":[{"t":"望京开发街道"},{"t":"首都机场街道"},{"t":"王四营地区(王四营乡)"},{"t":"豆各庄地区(豆各庄乡)"},{"t":"黑庄户地区(黑庄户乡)"},{"t":"东坝地区(东坝乡)"},{"t":"崔各庄地区(崔各庄乡)"},{"t":"孙河地区(孙河乡)"},{"t":"金盏地区(金盏乡)"},{"t":"管庄地区(管庄乡)"},{"t":"三间房地区(三间房乡)"},{"t":"常营回族地区(常营回族乡)"},{"t":"来广营地区(来广营乡)"},{"t":"奥运村地区(奥运村乡)"},{"t":"东风地区(东风乡)"},{"t":"平房地区(平房乡)"},{"t":"十八里店地区(十八里店乡)"},{"t":"小红门地区(小红门乡)"},{"t":"望京街道"},{"t":"大屯街道"},{"t":"太阳宫地区(太阳宫乡)"},{"t":"将台地区(将台乡)"},{"t":"高碑店地区(高碑店乡)"},{"t":"南磨房地区(南磨房乡)"},{"t":"垡头街道"}, |