code
stringlengths
1
2.08M
language
stringclasses
1 value
/* * If you want to copy the code below, please DO NOT delete or modify this note * * Author : Copycat91 * Website : http://infotentangblog.blogspot.com/ * Description : * Creating a recent post widget classified by labels. * * Inspired from : a comment on http://tutorial-jitu.blogspot.com/ *...
JavaScript
(function($) { // Compliant with jquery.noConflict() $.fn.jCarouselLite = function(o) { o = $.extend({ btnPrev: null, btnNext: null, btnGo: null, mouseWheel: false, auto: null, speed: 200, easing: null, ...
JavaScript
//<![CDATA[ function ddtabcontent(tabinterfaceid){ this.tabinterfaceid=tabinterfaceid this.tabs=document.getElementById(tabinterfaceid).getElementsByTagName("a") this.enabletabpersistence=true this.hottabspositions=[] this.currentTabIndex=0 this.subcontentids=[] this.revcontentids=[] this.selectedClassTarget="l...
JavaScript
//<![CDATA[ /* * 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/changel...
JavaScript
//<![CDATA[ imgr = new Array(); imgr[0] = "http://2.bp.blogspot.com/-uitX7ROPtTU/Tyv-G4NA_uI/AAAAAAAAFBY/NcWLPVnYEnU/s1600/no+image.jpg"; showRandomImg = true; aBold = true; summaryPost = 350; summaryTitle = 25; numposts = 8; function removeHtmlTag(strx,chop){ var s = strx.split("<"); for(var i=0;i<s....
JavaScript
if(!window.editorconstant)window.editorconstant={}; // When creating a table using the Wizard, the following default attributes apply. editorconstant._CreateEditingTableStyle = "<table border='0' cellspacing='2' cellpadding='2' width='500'>"; // When creating a new div box, the following default attributes apply...
JavaScript
var OxO8c9a=[];
JavaScript
var caps=0, lock=0, hexchars="0123456789ABCDEF", accent="0000", clavdeb=0 var clav=new Array();j=0;for (i in Maj){clav[j]=i;j++} var ns6=((!document.all)&&(document.getElementById)) var ie=document.all var langue=getCk();if (langue==""){langue=clav[clavdeb]} CarMaj=Maj[langue].split("|");CarMin=Min[langue].split...
JavaScript
$.TitleFlash = function(str, cnt) { if (isNaN(cnt)) cnt = 21; if (cnt % 2 == 0) cnt++; $.TitleFlash.Params.FlashCnt = cnt; var str1 = str; var str2 = ""; for (var i = 0; i < str.length; i++) { var charI = str.charCodeAt(i); if (charI < 0 || charI > 255) ...
JavaScript
jQuery.extend({ createUploadIframe: function(id, uri) { //create frame var frameId = 'jUploadFrame' + id; if(window.ActiveXObject) { var io = document.createElement('<iframe id="' + frameId + '" name="' + frameId + '" />'); if(t...
JavaScript
/* Copyright: Paul Hanlon Released under the MIT/BSD licence which means you can do anything you want with it, as long as you keep this copyright notice on the page */ (function(jq){ jq.fn.jqTreeTable=function(map, options){ var opts = jq.extend({openImg:"",shutImg:"",leafImg:"",lastOpenImg:"",lastShu...
JavaScript
function ajaxFileUpload(field) { if ($("#" + field + "_file").val() == "") { return false; } var fileName = $("#" + field + "_file").val(); var ext = fileName.split('.')[fileName.split('.').length - 1]; var allowext = $("#" + field + "_allowExt").val(); var allows = all...
JavaScript
/* * jQuery blockUI plugin * Version 2.07 (05/17/2008) * @requires jQuery v1.2.3 or later * * Examples at: http://malsup.com/jquery/block/ * Copyright (c) 2007-2008 M. Alsup * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licen...
JavaScript
/** * Copyright (c) 2008 Kelvin Luck (http://www.kelvinluck.com/) * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses. * * $Id: jquery.datePicker.js 5 2008-12-02 23:43:08Z kelvin.luck $ **/ (function(...
JavaScript
/* * Date prototype extensions. Doesn't depend on any * other code. Doens't overwrite existing methods. * * Adds dayNames, abbrDayNames, monthNames and abbrMonthNames static properties and isLeapYear, * isWeekend, isWeekDay, getDaysInMonth, getDayName, getMonthName, getDayOfYear, getWeekOfYear, * setDayOfYear, ad...
JavaScript
// BBCode control. (based on bbcode.js from http://forum.dklab.ru) function BBCode(textarea) { this.construct(textarea) } BBCode.prototype = { VK_TAB: 9, VK_ENTER: 13, VK_PAGE_UP: 33, BRK_OP: '[', BRK_CL: ']', textarea: null, stext: '', quoter: null, collapseAfterInsert: false, repla...
JavaScript
if (!window.console || !console.firebug) { (function() { window.console = { log: function() { logFormatted(arguments, ""); }, debug: function() { logFormatted(arguments, "debug"); }, info: function() { ...
JavaScript
if (!window.console || !console.firebug) { var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"]; window.console = {}; for (var i = 0; i < names.length; ++i) window.console[names[i]] =...
JavaScript
var dev = true;
JavaScript
/* * jQuery Media Plugin for converting elements into rich media content. * * Examples and documentation at: http://malsup.com/jquery/media/ * Copyright (c) 2007-2008 M. Alsup * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses...
JavaScript
/* Copyright (c) 2005 Scott S. McCoy * This was originally a non-object oriented interface * Function printf(format_string,arguments...) * Javascript emulation of the C printf function (modifiers and argument types * "p" and "n" are not supported due to language restrictions) * * Copyright 2003 K&L Productions...
JavaScript
/** * Debug_HackerConsole_Js: JavaScript frontend for hacker console. * (C) 2005 Dmitry Koterov, http://forum.dklab.ru/users/DmitryKoterov/ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Softwa...
JavaScript
function return_module(data) { ajaxLoaderClose(); if(typeof data.result_error == "undefined" || data.result_error==false){ fdialog(null,data.messageAction,'success', data.locationAction); $('#list-news tbody').prepend('<tr><td>' + data.title + '</td><td>' + data.summary + '</td><td>' + data.date...
JavaScript
function return_module(data) { ajaxLoaderClose(); if(typeof data.result_error == "undefined" || data.result_error==false){ fdialog(null,'<strong>Usuario</strong> creado con exito','success'); $('#list-user tbody').append('<tr><td>' + data.login + '</td><td>'+ data.role +'</td><td><a class="del" ...
JavaScript
function return_module(data) { ajaxLoaderClose(); if(typeof data.result_error == "undefined" || data.result_error==false){ location.href=data.url; }else{ fdialog(null,'<strong>Usuario</strong> o <strong>Clave</strong> invalidos rectifiquelos e intente nuevamente','message'); } };
JavaScript
function return_module(data) { ajaxLoaderClose(); if(typeof data.result_error == "undefined" || data.result_error==false){ fdialog(null,data.messageAction,'success', data.locationAction); $('#list-client tbody').append('<tr><td>' + data.rif + '</td><td>' + data.name + '</td><td>' + data.cont...
JavaScript
function return_module(data) { ajaxLoaderClose(); if(typeof data.result_error == "undefined" || data.result_error==false){ fdialog(null,data.messageAction,'success', data.locationAction); $('#list-ccontrataciones tbody').prepend('<tr><td>' + data.titulo + '</td><td>' + data.denominacion + '</td>...
JavaScript
function return_module(data) { ajaxLoaderClose(); if(typeof data.result_error == "undefined" || data.result_error==false){ fdialog(null,data.messageAction,'success', data.locationAction); $('#list-profile tbody').prepend('<tr><td>' + data.name + '</td><td>' + data.description + '</td><td><a href...
JavaScript
/* Conjunto de Scripts * Copyright (c) 2013 - Alfonzo Diez (+58 416 753 1889 - alfonzodiez@gmail.com) * http://www.diezsoluciones.com/ * Utilizando en la librería default * Created on : 10/01/2013 09:12:26 AM * Author : alfonzo * Revision : 01 * La reproducción, utilización, venta y copia no autorizada de ...
JavaScript
function return_module(data) { ajaxLoaderClose(); if(typeof data.result_error == "undefined" || data.result_error==false){ fdialog(null,data.messageAction,'success', data.locationAction); $('#list-news tbody').prepend('<tr><td>' + data.title + '</td><td>' + data.summary + '</td><td>' + data.date...
JavaScript
function return_module(data) { ajaxLoaderClose(); if(typeof data.result_error == "undefined" || data.result_error==false){ fdialog(null,data.messageAction,'success', data.locationAction); $('#list-admcontrollers tbody').prepend('<tr><td>' + data.name + '</td><td>' + data.description + '</td><td>...
JavaScript
function return_module(data) { ajaxLoaderClose(); if(typeof data.result_error == "undefined" || data.result_error==false){ fdialog(null,data.messageAction,'success', data.locationAction); $('#list-goods tbody').append('<tr><td>' + data.name_article + '</td><td>' + data.mark + '</td><td>' + data....
JavaScript
/** * @license Data plugin for Highcharts v0.1 * * (c) 2012 Torstein Hønsi * * License: www.highcharts.com/license */ /* * Demo: http://jsfiddle.net/highcharts/SnLFj/ */ (function (Highcharts) { // Utilities var each = Highcharts.each; // The Data constructor var Data = function (options) { this....
JavaScript
/** * @license A class to parse color values * @author Stoyan Stefanov <sstoo@gmail.com> * @link http://www.phpied.com/rgb-color-parser-in-javascript/ * Use it if you like it * */ function RGBColor(color_string) { this.ok = false; // strip any leading # if (color_string.charAt(0) == '#') { // remov...
JavaScript
/** * @license Highcharts JS v2.3.3 (2012-10-04) * Exporting module * * (c) 2010-2011 Torstein Hønsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, document, window, Math, setTimeout */ (function () { // encapsulate // create shortcuts var HC = Highcharts, Chart = HC.Chart...
JavaScript
/** * @license Highcharts JS v2.3.3 (2012-10-04) * MooTools adapter * * (c) 2010-2011 Torstein Hønsi * * License: www.highcharts.com/license */ // JSLint options: /*global Fx, $, $extend, $each, $merge, Events, Event, DOMEvent */ (function () { var win = window, doc = document, mooVersion = win.MooTools.ver...
JavaScript
/** * Dark blue theme for Highcharts JS * @author Torstein Hønsi */ Highcharts.theme = { colors: ["#DDDF0D", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee"], chart: { backgroundColor: { linearGradient: [0, 0, 250, 500], stops: [ [0, 'rgb(...
JavaScript
/** * Grid theme for Highcharts JS * @author Torstein Hønsi */ Highcharts.theme = { colors: ['#058DC7', '#50B432', '#ED561B', '#DDDF00', '#24CBE5', '#64E572', '#FF9655', '#FFF263', '#6AF9C4'], chart: { backgroundColor: { linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 }, stops: [ [0, 'rgb(255, 255, 255)'...
JavaScript
/** * Skies theme for Highcharts JS * @author Torstein Hønsi */ Highcharts.theme = { colors: ["#514F78", "#42A07B", "#9B5E4A", "#72727F", "#1F949A", "#82914E", "#86777F", "#42A07B"], chart: { className: 'skies', borderWidth: 0, plotShadow: true, plotBackgroundImage: '/demo/gfx/skies.jpg', plotBackground...
JavaScript
/** * Gray theme for Highcharts JS * @author Torstein Hønsi */ Highcharts.theme = { colors: ["#DDDF0D", "#7798BF", "#55BF3B", "#DF5353", "#aaeeee", "#ff0066", "#eeaaee", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee"], chart: { backgroundColor: { linearGradient: { x1: 0, y1: 0, x2: 0, y2: 1 }, stops: [ ...
JavaScript
/** * Dark blue theme for Highcharts JS * @author Torstein Hønsi */ Highcharts.theme = { colors: ["#DDDF0D", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee", "#ff0066", "#eeaaee", "#55BF3B", "#DF5353", "#7798BF", "#aaeeee"], chart: { backgroundColor: { linearGradient: { x1: 0, y1: 0, x2: 1, y2: 1 }, stops: [...
JavaScript
// ==ClosureCompiler== // @compilation_level SIMPLE_OPTIMIZATIONS /** * @license Highcharts JS v2.3.3 (2012-10-04) * * (c) 2009-2011 Torstein Hønsi * * License: www.highcharts.com/license */ // JSLint options: /*global Highcharts, document, window, navigator, setInterval, clearInterval, clearTimeout, setTimeout...
JavaScript
function resultAjaxUpload(data){ return_module(data); } function convertDataSerializeToArray(text){ var array1 = text.split('&'); var array2 = new Array(); var data = new Array(); for(i in array1){ array2 = array1[i].split('='); data[array2[0]]=array2[1]; } return data; } jQu...
JavaScript
/*! * IE10 viewport hack for Surface/desktop Windows 8 bug * Copyright 2014 Twitter, Inc. * Licensed under the Creative Commons Attribution 3.0 Unported License. For * details, see http://creativecommons.org/licenses/by/3.0/. */ // See the Getting Started docs for more information: // http://getbootstrap....
JavaScript
/** * WYSIWYG - jQuery plugin 0.5 * * Copyright (c) 2008-2009 Juan M Martinez * http://plugins.jquery.com/project/jWYSIWYG * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * $Id: $ */ (function( $ ) { $.fn....
JavaScript
jQuery.noConflict(); jQuery(document).ready(function(){ kriesi_tab('#content','.jquery_tab_title','.jquery_tab'); /*remove this if you dont want to have jquery tabs*/ kriesi_navigation(".nav"); /*remove this if you dont want a jquery sidebar menu*/ kriesi_closeable_divs(".closeable"); /*remove this if you dont w...
JavaScript
/* * This file has been commented to support Visual Studio Intellisense. * You should not use this file at runtime inside the browser--it is only * intended to be used only for design-time IntelliSense. Please use the * standard jQuery library for all production use. * * Comment version: 1.3.2b */ /* * jQuery...
JavaScript
$.datepicker.regional['ru'] = { closeText: 'Закрыть', prevText: '<Пред', nextText: 'След>', currentText: 'Сегодня', monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь', 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'], monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн', 'Июл','Авг','...
JavaScript
/* German initialisation for the jQuery UI date picker plugin. */ /* Written by Milian Wolff (mail@milianw.de). */ $.datepicker.regional['de'] = { closeText: 'schließen', prevText: '&#x3c;zurück', nextText: 'Vor&#x3e;', currentText: 'heute', monthNames: ['Januar','Februar','März','April','...
JavaScript
/* Swedish initialisation for the jQuery UI date picker plugin. */ /* Written by Henrik Engman (info@ehenrik.com). */ $.datepicker.regional['se'] = { closeText: 'Stäng', prevText: 'Tillbaka', nextText: 'Nästa;', currentText: 'Idag', monthNames: ['Januari','Februari','Mars','April','Maj','Juni', ...
JavaScript
/* Blog Entry: Ask Ben: Print Part Of A Web Page With jQuery Code Snippet: 2 Author: Ben Nadel / Kinky Solutions Link: http://www.bennadel.com/index.cfm?event=blog.view&id=1591 Date Posted: May 21, 2009 at 9:10 PM */ /** * Edited by: Morris Jencen O. Chavez <macinville@gmail....
JavaScript
/** * jQuery Yii GridView plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ (function ($) { var selectCheckedRows, methods, yiiXHR={}, gridSettings = []; /** * 1. Sele...
JavaScript
/** * jQuery Yii ListView plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ ;(function($) { var yiiXHR = {}; /** * yiiListView set function. * @param options map settings ...
JavaScript
/** * CHANGES MADE BY YII DEVELOPERS, READ CAREFULLY BEFORE UPGRADING THIS FILE: * 1. This commit has been used: * https://github.com/jquerytools/jquerytools/commit/4f3f3f14e83b0ff276a795e9f45400930904adff#src/tooltip/tooltip.js * 2. Original `$.fn.tooltip` has been changed to `$.fn.tooltip2` to prevent conflict be...
JavaScript
$(document).ready(function() { if($('div.form.login').length) { // in login page $('input#LoginForm_password').focus(); } $('table.preview input[name="checkAll"]').click(function() { $('table.preview .confirm input').prop('checked', this.checked); }); $('table.preview td.confirm input').click(function() { ...
JavaScript
/* Blog Entry: Ask Ben: Print Part Of A Web Page With jQuery Code Snippet: 2 Author: Ben Nadel / Kinky Solutions Link: http://www.bennadel.com/index.cfm?event=blog.view&id=1591 Date Posted: May 21, 2009 at 9:10 PM */ /** * Edited by: Morris Jencen O. Chavez <macinville@gmail....
JavaScript
/** * jQuery Yii GridView plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ (function ($) { var selectCheckedRows, methods, yiiXHR={}, gridSettings = []; /** * 1. Sele...
JavaScript
/** * jQuery Yii ListView plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ ;(function($) { var yiiXHR = {}; /** * yiiListView set function. * @param options map settings ...
JavaScript
/** * jQuery Yii plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ ;(function($) { $.yii = { version : '1.0', submitForm : function (element, url, params) { var f = $(elem...
JavaScript
/** * jQuery Yii plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ ;(function($) { $.extend($.fn, { yiitab: function() { function activate(id) { var pos = id.indexOf...
JavaScript
/* Masked Input plugin for jQuery Copyright (c) 2007-2013 Josh Bush (digitalbush.com) Licensed under the MIT license (http://digitalbush.com/projects/masked-input-plugin/#license) Version: 1.3.1 */ (function($) { function getPasteEvent() { var el = document.createElement('input'), name = 'onpaste'; ...
JavaScript
/* * jQuery Autocomplete plugin 1.1 * * Modified for Yii Framework: * - Renamed "autocomplete" to "legacyautocomplete". * - Fixed IE8 problems (mario.ffranco). * * Copyright (c) 2009 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * ht...
JavaScript
/* * Async Treeview 0.1 - Lazy-loading extension for Treeview * * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ * * Copyright (c) 2007 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/...
JavaScript
(function($) { var CLASSES = $.treeview.classes; var proxied = $.fn.treeview; $.fn.treeview = function(settings) { settings = $.extend({}, settings); if (settings.add) { return this.trigger("add", [settings.add]); } if (settings.remove) { return this.trigger("remove", [settings.remove]); } return p...
JavaScript
/* ### jQuery Star Rating Plugin v4.11 - 2013-03-14 ### * Home: http://www.fyneworks.com/jquery/star-rating/ * Code: http://code.google.com/p/jquery-star-rating-plugin/ * * Licensed under http://en.wikipedia.org/wiki/MIT_License ### */ /*# AVOID COLLISIONS #*/ ;if(window.jQuery) (function($){ /*# AVOI...
JavaScript
/* * Treeview 1.5pre - jQuery plugin to hide and show branches of a tree * * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ * http://docs.jquery.com/Plugins/Treeview * * Copyright (c) 2007 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-...
JavaScript
/*! * jQuery BBQ: Back Button & Query Library - v1.4pre - 1/15/2013 * http://benalman.com/projects/jquery-bbq-plugin/ * * Copyright (c) 2010-2013 "Cowboy" Ben Alman * Dual licensed under the MIT and GPL licenses. * http://benalman.com/about/license/ */ // Script: jQuery BBQ: Back Button & Query Library // // *...
JavaScript
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net) * Licensed under the MIT License (LICENSE.txt). * * Version 2.1.2 */ (function($){ $.fn.bgiframe = ($.browser.msie && /msie 6\.0/i.test(navigator.userAgent) ? function(s) { s = $.extend({ top : 'auto', // auto == .currentStyle.borderTo...
JavaScript
/* * Metadata - jQuery plugin for parsing metadata from elements * * Copyright (c) 2006 John Resig, Yehuda Katz, J�örn Zaefferer, Paul McLanahan * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Revision: $Id: j...
JavaScript
/*! http://mths.be/punycode v1.2.0 by @mathias */ ;(function(root) { /** * The `punycode` object. * @name punycode * @type Object */ var punycode, /** Detect free variables `define`, `exports`, `module` and `require` */ freeDefine = typeof define == 'function' && typeof define.amd == 'object' && define....
JavaScript
/** * jQuery yiiactiveform plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ * @since 1.1.1 */ (function ($) { /* * returns the value of the CActiveForm input field * perform...
JavaScript
/** * Ajax Queue Plugin * * Homepage: http://jquery.com/plugins/project/ajaxqueue * Documentation: http://docs.jquery.com/AjaxQueue */ /** <script> $(function(){ jQuery.ajaxQueue({ url: "test.php", success: function(html){ jQuery("ul").append(html); } }); jQuery.ajaxQueue({ url: "test.p...
JavaScript
/** * Cookie plugin * * Copyright (c) 2006 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 * */ /** * Create a cookie with the given name and value and other optional parameters. * * @examp...
JavaScript
$.datepicker.regional['ru'] = { closeText: 'Закрыть', prevText: '<Пред', nextText: 'След>', currentText: 'Сегодня', monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь', 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'], monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн', 'Июл','Авг','...
JavaScript
/* German initialisation for the jQuery UI date picker plugin. */ /* Written by Milian Wolff (mail@milianw.de). */ $.datepicker.regional['de'] = { closeText: 'schließen', prevText: '&#x3c;zurück', nextText: 'Vor&#x3e;', currentText: 'heute', monthNames: ['Januar','Februar','März','April','...
JavaScript
/* Swedish initialisation for the jQuery UI date picker plugin. */ /* Written by Henrik Engman (info@ehenrik.com). */ $.datepicker.regional['se'] = { closeText: 'Stäng', prevText: 'Tillbaka', nextText: 'Nästa;', currentText: 'Idag', monthNames: ['Januari','Februari','Mars','April','Maj','Juni', ...
JavaScript
/** * jQuery Yii plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ ;(function($) { $.yii = { version : '1.0', submitForm : function (element, url, params) { var f = $(elem...
JavaScript
/** * jQuery Yii plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ ;(function($) { $.extend($.fn, { yiitab: function() { function activate(id) { var pos = id.indexOf...
JavaScript
/* Masked Input plugin for jQuery Copyright (c) 2007-2013 Josh Bush (digitalbush.com) Licensed under the MIT license (http://digitalbush.com/projects/masked-input-plugin/#license) Version: 1.3.1 */ (function($) { function getPasteEvent() { var el = document.createElement('input'), name = 'onpaste'; ...
JavaScript
/* * jQuery Autocomplete plugin 1.1 * * Modified for Yii Framework: * - Renamed "autocomplete" to "legacyautocomplete". * - Fixed IE8 problems (mario.ffranco). * * Copyright (c) 2009 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * ht...
JavaScript
/* * Async Treeview 0.1 - Lazy-loading extension for Treeview * * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ * * Copyright (c) 2007 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/...
JavaScript
(function($) { var CLASSES = $.treeview.classes; var proxied = $.fn.treeview; $.fn.treeview = function(settings) { settings = $.extend({}, settings); if (settings.add) { return this.trigger("add", [settings.add]); } if (settings.remove) { return this.trigger("remove", [settings.remove]); } return p...
JavaScript
/* ### jQuery Star Rating Plugin v4.11 - 2013-03-14 ### * Home: http://www.fyneworks.com/jquery/star-rating/ * Code: http://code.google.com/p/jquery-star-rating-plugin/ * * Licensed under http://en.wikipedia.org/wiki/MIT_License ### */ /*# AVOID COLLISIONS #*/ ;if(window.jQuery) (function($){ /*# AVOI...
JavaScript
/* * Treeview 1.5pre - jQuery plugin to hide and show branches of a tree * * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ * http://docs.jquery.com/Plugins/Treeview * * Copyright (c) 2007 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-...
JavaScript
/*! * jQuery BBQ: Back Button & Query Library - v1.4pre - 1/15/2013 * http://benalman.com/projects/jquery-bbq-plugin/ * * Copyright (c) 2010-2013 "Cowboy" Ben Alman * Dual licensed under the MIT and GPL licenses. * http://benalman.com/about/license/ */ // Script: jQuery BBQ: Back Button & Query Library // // *...
JavaScript
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net) * Licensed under the MIT License (LICENSE.txt). * * Version 2.1.2 */ (function($){ $.fn.bgiframe = ($.browser.msie && /msie 6\.0/i.test(navigator.userAgent) ? function(s) { s = $.extend({ top : 'auto', // auto == .currentStyle.borderTo...
JavaScript
/* * Metadata - jQuery plugin for parsing metadata from elements * * Copyright (c) 2006 John Resig, Yehuda Katz, J�örn Zaefferer, Paul McLanahan * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Revision: $Id: j...
JavaScript
/*! http://mths.be/punycode v1.2.0 by @mathias */ ;(function(root) { /** * The `punycode` object. * @name punycode * @type Object */ var punycode, /** Detect free variables `define`, `exports`, `module` and `require` */ freeDefine = typeof define == 'function' && typeof define.amd == 'object' && define....
JavaScript
/** * jQuery yiiactiveform plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ * @since 1.1.1 */ (function ($) { /* * returns the value of the CActiveForm input field * perform...
JavaScript
/** * Ajax Queue Plugin * * Homepage: http://jquery.com/plugins/project/ajaxqueue * Documentation: http://docs.jquery.com/AjaxQueue */ /** <script> $(function(){ jQuery.ajaxQueue({ url: "test.php", success: function(html){ jQuery("ul").append(html); } }); jQuery.ajaxQueue({ url: "test.p...
JavaScript
/** * Cookie plugin * * Copyright (c) 2006 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 * */ /** * Create a cookie with the given name and value and other optional parameters. * * @examp...
JavaScript
/** * jQuery Yii plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ ;(function($) { $.yii = { version : '1.0', submitForm : function (element, url, params) { var f = $(elem...
JavaScript
/** * jQuery Yii plugin file. * * @author Qiang Xue <qiang.xue@gmail.com> * @link http://www.yiiframework.com/ * @copyright 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ */ ;(function($) { $.extend($.fn, { yiitab: function() { function activate(id) { var pos = id.indexOf...
JavaScript
/* Masked Input plugin for jQuery Copyright (c) 2007-2013 Josh Bush (digitalbush.com) Licensed under the MIT license (http://digitalbush.com/projects/masked-input-plugin/#license) Version: 1.3.1 */ (function($) { function getPasteEvent() { var el = document.createElement('input'), name = 'onpaste'; ...
JavaScript
/* * jQuery Autocomplete plugin 1.1 * * Modified for Yii Framework: * - Renamed "autocomplete" to "legacyautocomplete". * - Fixed IE8 problems (mario.ffranco). * * Copyright (c) 2009 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * ht...
JavaScript
/* * Async Treeview 0.1 - Lazy-loading extension for Treeview * * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ * * Copyright (c) 2007 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/...
JavaScript
(function($) { var CLASSES = $.treeview.classes; var proxied = $.fn.treeview; $.fn.treeview = function(settings) { settings = $.extend({}, settings); if (settings.add) { return this.trigger("add", [settings.add]); } if (settings.remove) { return this.trigger("remove", [settings.remove]); } return p...
JavaScript
/* ### jQuery Star Rating Plugin v4.11 - 2013-03-14 ### * Home: http://www.fyneworks.com/jquery/star-rating/ * Code: http://code.google.com/p/jquery-star-rating-plugin/ * * Licensed under http://en.wikipedia.org/wiki/MIT_License ### */ /*# AVOID COLLISIONS #*/ ;if(window.jQuery) (function($){ /*# AVOI...
JavaScript
/* * Treeview 1.5pre - jQuery plugin to hide and show branches of a tree * * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ * http://docs.jquery.com/Plugins/Treeview * * Copyright (c) 2007 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-...
JavaScript
/*! * jQuery BBQ: Back Button & Query Library - v1.4pre - 1/15/2013 * http://benalman.com/projects/jquery-bbq-plugin/ * * Copyright (c) 2010-2013 "Cowboy" Ben Alman * Dual licensed under the MIT and GPL licenses. * http://benalman.com/about/license/ */ // Script: jQuery BBQ: Back Button & Query Library // // *...
JavaScript