code
stringlengths
1
2.08M
language
stringclasses
1 value
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
JavaScript
/* * CKFinder * ======== * http://ckfinder.com * Copyright (C) 2007-2010, CKSource - Frederico Knabben. All rights reserved. * * The software, this file and its contents are subject to the CKFinder * License. Please read the license.txt file before using, installing, copying, * modifying or distribute ...
JavaScript
/* This is the JavaScript file for the How to Create CAPTCHA Protection using PHP and AJAX Tutorial You may use this code in your own projects as long as this copyright is left in place. All code is provided AS-IS. This code is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; wit...
JavaScript
//** Smooth Navigational Menu- By Dynamic Drive DHTML code library: http://www.dynamicdrive.com //** Script Download/ instructions page: http://www.dynamicdrive.com/dynamicindex1/ddlevelsmenu/ //** Menu created: Nov 12, 2008 //** Dec 12th, 08" (v1.01): Fixed Shadow issue when multiple LIs within the same UL (level...
JavaScript
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net) * Licensed under the MIT License (LICENSE.txt). * * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers. * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix. * Thanks to: Seamus Leahy for adding deltaX and deltaY * *...
JavaScript
/* * FancyBox - jQuery Plugin * Simple and fancy lightbox alternative * * Examples and documentation at: http://fancybox.net * * Copyright (c) 2008 - 2010 Janis Skarnelis * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support i...
JavaScript
/* * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ * * Uses the built in easing capabilities added In jQuery 1.1 * to offer multiple easing options * * TERMS OF USE - jQuery Easing * * Open source under the BSD License. * * Copyright © 2008 George McGinley Smith * All rights reserved. * ...
JavaScript
/* * Easy Tooltip 1.0 - jQuery plugin * written by Alen Grakalic * http://cssglobe.com/post/4380/easy-tooltip--jquery-plugin * * Copyright (c) 2009 Alen Grakalic (http://cssglobe.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * Built for jQuery library ...
JavaScript
/** * jCarouselLite - jQuery plugin to navigate images/any content in a carousel style widget. * @requires jQuery v1.2 or above * * http://gmarwaha.com/jquery/jcarousellite/ * * Copyright (c) 2007 Ganeshji Marwaha (gmarwaha.com) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org...
JavaScript
(function(A){ A.jScrollPane={ active:[] };A.fn.jScrollPane=function(C){ C=A.extend({},A.fn.jScrollPane.defaults,C);var B=function(){ return false };return this.each(function(){ var O=A(this);O.css("overflow","hidden");var X=this;if(A(this).parent().is("...
JavaScript
/* Copyright (c) 2006 Brandon Aaron (brandon.aaron@gmail.com || http://brandonaaron.net) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers...
JavaScript
// JavaScript Document ddsmoothmenu.init({ mainmenuid: "smoothmenu1", //menu DIV id orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v" classname: 'ddsmoothmenu', //class added to menu's outer DIV //customtheme: ["#1c5a80", "#18374a"], contentsource: "markup" //"markup" or ["container_id", "...
JavaScript
/** * jCarouselLite - jQuery plugin to navigate images/any content in a carousel style widget. * @requires jQuery v1.2 or above * * http://gmarwaha.com/jquery/jcarousellite/ * * Copyright (c) 2007 Ganeshji Marwaha (gmarwaha.com) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/license...
JavaScript
/* * Thickbox 3.1 - One Box To Rule Them All. * By Cody Lindley (http://www.codylindley.com) * Copyright (c) 2007 cody lindley * Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php */ var tb_pathToImage = "images/loadingAnimation.gif"; /*!!!!!!!!!!!!!!!!! edit below this line at...
JavaScript
/*! jQuery v1.7.1 jquery.com | jquery.org/license */ (function(a, b) { function cy(a) { return f.isWindow(a) ? a : a.nodeType === 9 ? a.defaultView || a.parentWindow : !1 } function cv(a) { if (!ck[a]) { var b = c.body, d = f("<" + a + ">").appendTo(b), e = d.css("display"); ...
JavaScript
/* * Skeleton V1.1 * Copyright 2011, Dave Gamache * www.getskeleton.com * Free to use under the MIT license. * http://www.opensource.org/licenses/mit-license.php * 8/17/2011 */ $('body').on('click', 'ul.tabs > li > a', function(e) { //Get Location of tab's content var contentLocation = $(this).attr('h...
JavaScript
(function(factory) { if (typeof define === 'function' && define.amd) define(['jquery'], factory); // AMD support for RequireJS etc. else factory(jQuery); }(function($) { $.fn.tweet = function(o) { var s = $.extend({ username: null, // [string or array] required unless us...
JavaScript
//------ Keep track of whether the navigation is fixed in place. var SNAPPED = false; var SCROLLELEMENT = 'html, body'; var SCROLLPADDING = 0; function scrollToElement(el) { $(SCROLLELEMENT).stop().animate({ scrollTop: el.offset().top - SCROLLPADDING }, 600); } //In Page Scroll, Portfolio fil...
JavaScript
$(window).load(function() { initMain(); }); function getGridBlockHover(hoverElement) { $(hoverElement).each(function() { var imageWidth = $(this).find('img').width(), itemWidth = $(this).width(), itemHeight = $(this).height(), imageHeight = $(this).find(...
JavaScript
// Modernizr.load loading the right scripts only if you need them Modernizr.load([ { // Let's see if we need to load selectivizr test: Modernizr.borderradius, // Modernizr.load loads selectivizr and Respond.js for IE6-8 nope: ['libs/selectivizr-min.js'] } ]); /* jQuery Delay - A...
JavaScript
/* * Superfish v1.4.8 - jQuery menu widget * Copyright (c) 2008 Joel Birch * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt */ ; (funct...
JavaScript
/* ------------------------------------------------------------------------ Class: prettyPhoto Use: Lightbox clone for jQuery Author: Stephane Caron (http://www.no-margin-for-errors.com) Version: 3.1.4 ------------------------------------------------------------------------- */ (function($) { $.prettyPhoto = ...
JavaScript
/** * hoverIntent r6 // 2011.02.26 // jQuery 1.5.1+ * <http://cherne.net/brian/resources/jquery.hoverIntent.html> * * @param f onMouseOver function || An object with configuration options * @param g onMouseOut function || Nothing (use configuration options object) * @author Brian Cherne brian(at)cherne(d...
JavaScript
/* * Supersubs v0.2b - jQuery plugin * Copyright (c) 2008 Joel Birch * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * * This plugin automatically adjusts submenu widths of suckerfish-style menus to that of * th...
JavaScript
/* * Flickrush 1.0 - jQuery flickr plugin * * Copyright (c) 2010 Philip Beel (http://www.theodin.co.uk/) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * Revision: $Id: jquery.flickrush.js 2010-02-17 $...
JavaScript
$('#series').live('pagebeforecreate', function() { //$('#series-preview').parent().remove(); var b = $('<a>') .attr('data-role', 'button') .attr('href', '#') .attr('data-icon', 'search') .attr('data-theme', 'e') .text('Orthanc Web Viewer'); b.insertBefore($('#series-delete').parent().parent(...
JavaScript
/** * Orthanc - A Lightweight, RESTful DICOM Store * Copyright (C) 2012-2015 Sebastien Jodogne, Medical Physics * Department, University Hospital of Liege, Belgium * * This program is free software: you can redistribute it and/or * modify it under the terms of the GNU Affero General Public License * as published...
JavaScript
/** * SOURCE: https://github.com/notmasteryet/jpgjs/blob/master/jpg.js **/ /* -*- Mode: Java; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- / /* vim: set shiftwidth=2 tabstop=2 autoindent cindent expandtab: */ /* Copyright 2011 notmasteryet Licensed under the Apache License, Version 2.0 (the "Li...
JavaScript
/** * Coin Slider - Unique jQuery Image Slider * @version: 1.0 - (2010/04/04) * @requires jQuery v1.2.2 or later * @author Ivan Lazarevic * Examples and documentation at: http://workshop.rs/projects/coin-slider/ * Licensed under MIT licence: * http://www.opensource.org/licenses/mit-license.php **/ (functio...
JavaScript
/* * jQuery Flickr - jQuery plug-in * Version 1.0, Released 2008.04.17 * * Copyright (c) 2008 Daniel MacDonald (www.projectatomic.com) * Dual licensed GPL http://www.gnu.org/licenses/gpl.html * and MIT http://www.opensource.org/licenses/mit-license.php */ (function($) { $.fn.flickr = function(o){ var...
JavaScript
/* * jQuery FlickrGallery - jQuery plug-in * Version 1.0.1, Released * * Copyright (c) 2008 Steven Dugas * This work is licensed under a Creative Commons Attribution 3.0 Unported License. */ (function($) { $.fn.flickrGallery = function(options) { var defaults = { galleryHeight : 'auto', // ei...
JavaScript
var story = { "title": "AcheModaStoryboard2", "pages": [ { "title": "telaPrincipal", "height": 794, "width": 737, "image": "telaPrincipal.png", "links": [ { "page": 28, "rect": [ 536, 264, 572, 289 ] }, { "page": 33, "rect": [ 446, ...
JavaScript
/** * This jQuery plugin displays pagination links inside the selected elements. * * @author Gabriel Birke (birke *at* d-scribe *dot* de) * @version 1.2 * @param {int} maxentries Number of entries to paginate * @param {Object} opts Several options (see README for documentation) * @return {Object} jQuery Object ...
JavaScript
function Pager(tableName, itemsPerPage) { this.tableName = tableName; this.itemsPerPage = itemsPerPage; this.currentPage = 1; this.pages = 0; this.inited = false; this.showRecords = function(from, to) { var rows = document.getElementById(tableName).rows; // ...
JavaScript
/* * @Copyright (c) 2011 Aurélio Saraiva, Diego Plentz * @Page http://github.com/plentz/jquery-maskmoney * try at http://plentz.org/maskmoney * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software...
JavaScript
/*! * jQzoom Evolution Library v2.3 - Javascript Image magnifier * http://www.mind-projects.it * * Copyright 2011, Engineer Marco Renzi * Licensed under the BSD license. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following cond...
JavaScript
/* Masked Input plugin for jQuery Copyright (c) 2007-2011 Josh Bush (digitalbush.com) Licensed under the MIT license (http://digitalbush.com/projects/masked-input-plugin/#license) Version: 1.3 */ (function($) { var pasteEventName = ($.browser.msie ? 'paste' : 'input') + ".mask"; var iPhone = (window.orientation ...
JavaScript
/*jslint browser: true */ /*global jQuery: true */ /** * jQuery Cookie plugin * * Copyright (c) 2010 Klaus Hartl (stilbuero.de) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ // TODO JsDoc /** * Create a cookie...
JavaScript
/* Created by Artisteer v4.1.0.59782 */ /*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, strict:true, undef:true, curly:false, browser:true, jquery:false */ /*global jQuery BackgroundHelper */ // css helper (function ($) { 'use strict'; var data = [ { str: navigator.use...
JavaScript
/* Created by Artisteer v4.1.0.59782 */ /*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, strict:true, undef:true, curly:false, browser:true, jquery:false */ /*global jQuery */ var responsiveDesign = { isResponsive: false, isDesktop: false, isTablet: false, isPhone: fals...
JavaScript
/** * Select2 Brazilian Portuguese translation */ (function ($) { "use strict"; $.extend($.fn.select2.defaults, { formatNoMatches: function () { return "Nenhum resultado encontrado"; }, formatInputTooShort: function (input, min) { var n = min - input.length; return "Informe " + n + " caracter...
JavaScript
{ // a dummy block, so I can collapse all the meta stuff in the editor /**************************************************************************** * jQuery 1.3.x plugin to shorten styled text to fit in a block, appending * an ellipsis ("...", &hellip;, Unicode: 2026) or other text. * (Only supports ltr text fo...
JavaScript
;(function($) { $.widget('bpm.dashboard', { options: { rootUrl: null, rowSize: 37 }, _create: function() { var self = this, requiredParams = ['rootUrl']; $.each(requiredParams, function(index, param) { if (self.options[param] === null) { alert('Missing parameter: ' + p...
JavaScript
/* Set the defaults for DataTables initialisation */ $.extend( true, $.fn.dataTable.defaults, { "sDom": "<'row'<'col-xs-6'l><'col-xs-6'f>r>"+ "t"+ "<'row'<'col-xs-6'i><'col-xs-6'p>>", "oLanguage": { "sLengthMenu": "_MENU_ records per page" } } ); /* Default class modification */ $.extend( $.fn.dataTableExt...
JavaScript
/*! handlebars v1.3.0 Copyright (C) 2011 by Yehuda Katz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,...
JavaScript
$(document).ready(function() { $.datepicker.regional['pt'] = { closeText: 'Fechar', prevText: '<', nextText: '>', currentText: 'Hoje', monthNames: ['Janeiro','Fevereiro','Mar&ccedil;o','Abril','Maio','Junho', 'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'], monthNamesShort: ['...
JavaScript
/*! handlebars v1.3.0 Copyright (C) 2011 by Yehuda Katz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge,...
JavaScript
(function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['OrderItemHeader'] = template(function (Handlebars,depth0,helpers,partials,data) { this.compilerInfo = [4,'>= 1.0.0']; helpers = this.merge(helpers, Handlebars.helpers); data = data || {}; ...
JavaScript
(function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['CostsCentres'] = template(function (Handlebars,depth0,helpers,partials,data) { this.compilerInfo = [4,'>= 1.0.0']; helpers = this.merge(helpers, Handlebars.helpers); data = data || {}; var b...
JavaScript
(function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['OrderItem'] = template(function (Handlebars,depth0,helpers,partials,data) { this.compilerInfo = [4,'>= 1.0.0']; helpers = this.merge(helpers, Handlebars.helpers); data = data || {}; var buff...
JavaScript
(function() { var template = Handlebars.template, templates = Handlebars.templates = Handlebars.templates || {}; templates['NewComponent'] = template(function (Handlebars,depth0,helpers,partials,data) { this.compilerInfo = [4,'>= 1.0.0']; helpers = this.merge(helpers, Handlebars.helpers); data = data || {}; ...
JavaScript
;(function ($) { $.widget("bpm.costsCentres", { options: { maxItensOnList: 6 }, _create: function() { var self = this; self._createToggle(); }, _createToggle: function() { var self = this, button = null; self._disabled = self.element.data("disabled") == true; button = $("...
JavaScript
;(function($) { $.widget('bpm.report', { options: { source: null, columns: null, maxRows: null }, _create: function() { var self = this; self._bindEvents(); self._loadDataTable(); }, _bindEvents: function() { var self = this; $('#btnFilter').click(funct...
JavaScript
(function($) { function getPasteEvent() { var el = document.createElement('input'), name = 'onpaste'; el.setAttribute(name, ''); return (typeof el[name] === 'function')?'paste':'input'; } var pasteEventName = getPasteEvent() + ".mask", ua = navigator.userAgent, iPhone = /iphone/i.test(ua), chro...
JavaScript
/** The Calendar object constructor. */ Calendar = function (mondayFirst, dateStr, onSelected, onClose) { // member variables this.activeDiv = null; this.currentDateEl = null; this.checkDisabled = null; this.timeout = null; this.onSelected = onSelected || null; this.onClose = onClose || null; this.drag...
JavaScript
// // htmlArea v2.03 - Copyright (c) 2002 interactivetools.com, inc. // This copyright notice MUST stay intact for use (see license.txt). // // A free WYSIWYG editor replacement for <textarea> fields. // For full source code and docs, visit http://www.interactivetools.com/ // // write out styles for UI buttons...
JavaScript
/** * editable_selects.js * * Copyright, Moxiecode Systems AB * Released under LGPL License. * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ var TinyMCE_EditableSelects = { editSelectElm : null, init : function() { var nl = document.getElementsByTagName("...
JavaScript
/** * mctabs.js * * Copyright, Moxiecode Systems AB * Released under LGPL License. * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ function MCTabs() { this.settings = []; this.onChange = tinyMCEPopup.editor.windowManager.createInstance('tinymce.util.Dispatch...
JavaScript
/** * validate.js * * Copyright, Moxiecode Systems AB * Released under LGPL License. * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ /** // String validation: if (!Validator.isEmail('myemail')) alert('Invalid email.'); // Form validation: var f = docu...
JavaScript
/** * form_utils.js * * Copyright, Moxiecode Systems AB * Released under LGPL License. * * License: http://www.tinymce.com/license * Contributing: http://www.tinymce.com/contributing */ var themeBaseURL = tinyMCEPopup.editor.baseURI.toAbsolute('themes/' + tinyMCEPopup.getParam("theme")); function getColorPick...
JavaScript
$(function(){ $('.btn-about').click(function(){ $('.about-mini').fadeIn('fast'); }); });
JavaScript
$(window).scroll(function() { if ($(this).scrollTop() < 460) { $(".credits").slideUp(); } else { $(".credits").slideDown(); } });
JavaScript
$(document).ready(function () { $('.btn-menu').click(function () { $('.dropdown').toggleClass('hide'); }); $(function () { $('.tabs li').click(function() { $(this).addClass('.is-active'); $(this).siblings().removeClass('.is-active'); $(this).css({'b...
JavaScript
// NOTICE!! DO NOT USE ANY OF THIS JAVASCRIPT // IT'S ALL JUST JUNK FOR OUR DOCS! // ++++++++++++++++++++++++++++++++++++++++++ !function ($) { $(function(){ // Disable certain links in docs $('section [href^=#]').click(function (e) { e.preventDefault() }) // make code pretty window.pret...
JavaScript
$('#loginForm').form('submit', { url:http://www.baidu.com, onSubmit: function(){ // do some check // return false to prevent submit; }, success:function(data){ alert(data) } });
JavaScript
/** * @author shench * 服务器推送函数 ***/ /** 服务器请求函数 **/ var serverpush_json = ''; function serverpush_send(url, arg0){ $.post(url, function(result){ result = eval('('+ result +')'); if (result.success){ serverpush_alert('alert alert-info','','有 <font color="red">5</font> 条信息消息', arg0); //arg0.ht...
JavaScript
Pub_alert = function(info,title, msg ,arg){ var s = '<div class="' + info + '">'; s = s + '<button class="close" data-dismiss="alert">×</button>'; s = s + '<h4 align="left" class="alert-heading">' + title + '</h4>' + msg; s = s + '</div>'; arg.html(s); } Pub_alert_before = function(info,title, m...
JavaScript
function checkEmail(obj){ var reg = /^\w{3,}@\w+(\.\w+)+$/; if (reg.test(obj)){ return true; } return false; } function checkPassword(obj){ var reg = /^\w([\w\d\S]{5,20})$/; if (reg.test(obj)){ return true; } return false; }
JavaScript
/* * 鲁军(lujun) * http://www.cnblogs.com/idche/ * email: idche@qq.com * GTalk: jelle.lu * 2010-10-30 */ (function(){ // 上面是数据 var config = { boxID:"autoTalkBox", valuepWrap:'autoTalkText', wrap:'recipientsTips', listWrap:"autoTipsUserList", position:'autoUserTipsPosition', positionH...
JavaScript
/*! * jQuery Form Plugin * version: 3.14 (30-JUL-2012) * @requires jQuery v1.3.2 or later * * Examples and documentation at: http://malsup.com/jquery/form/ * Project repository: https://github.com/malsup/form * Dual licensed under the MIT and GPL licenses: * http://malsup.github.com/mit-license.txt * htt...
JavaScript
/* * jQuery Easing v1.1.1 - http://gsgd.co.uk/sandbox/jquery.easing.php * * Uses the built in easing capabilities added in jQuery 1.1 * to offer multiple easing options * * Copyright (c) 2007 George Smith * Licensed under the MIT License: * http://www.opensource.org/licenses/mit-license.php */ jQ...
JavaScript
/************************************************************************** Copyright (c) 2001-2003 Geir Landr� (drop@destroydrop.com) JavaScript Tree - www.destroydrop.com/hjavascripts/tree/ Version 0.96 This script can be used freely as long as all copyright messages are intact. 格式 // nodeId | par...
JavaScript
/* Correctly handle PNG transparency in Win IE 5.5 & 6. http://homepage.ntlworld.com/bobosola. Updated 18-Jan-2006. Use in <HEAD> with DEFER keyword wrapped in conditional comments: <!--[if lt IE 7]> <script defer type="text/javascript" src="pngfix.js"></script> <![endif]--> */ var arVersion = navigator.appVersion....
JavaScript
document.writeln('<style type="text/css">'); document.writeln('.hide { display:none; }'); document.writeln('</style>'); // Einträge markieren bzw. Markierung aufheben function mark_entries(name, state) { var fields = $('form input[@type=checkbox]'); for (var i = 0; i < fields.length; i++) { if (fields[i].name.sub...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript
/* * FCKeditor - The text editor for Internet - http://www.fckeditor.net * Copyright (C) 2003-2007 Frederico Caldeira Knabben * * == BEGIN LICENSE == * * Licensed under the terms of any of the following licenses at your * choice: * * - GNU General Public License Version 2 or later (the "GPL") * ...
JavaScript