code
stringlengths
1
2.08M
language
stringclasses
1 value
;(function($){ /** * jqGrid extension for form editing Grid Data * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ var rp_ge = null; $.jgrid.extend({ searchGrid...
JavaScript
;(function($){ /** * jqGrid extension for custom methods * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid.extend({ getColProp : function(colname){ va...
JavaScript
/* * jqDnR - Minimalistic Drag'n'Resize for jQuery. * * Copyright (c) 2007 Brice Burgess <bhb@iceburg.net>, http://www.iceburg.net * Licensed under the MIT License: * http://www.opensource.org/licenses/mit-license.php * * $Version: 2007.08.19 +r2 */ (function($){ $.fn.jqDrag=function(h){return i(this,h,'d');}...
JavaScript
/* * jqGrid common function * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */ // Modal functions var showModal = function(h) { h.w.show(); }; var closeModal = fu...
JavaScript
/* The below work is licensed under Creative Commons GNU LGPL License. Original work: License: http://creativecommons.org/licenses/LGPL/2.1/ Author: Stefan Goessner/2006 Web: http://goessner.net/ Modifications made: Version: 0.9-p5 Description: Restructured code, JSLint validated (no s...
JavaScript
;(function($){ /** * jqGrid extension for manipulating columns properties * Piotr Roznicki roznicki@o2.pl * http://www.roznicki.prv.pl * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid.extend({ setColumns : func...
JavaScript
;(function($){ /* * jqGrid extension for constructing Grid Data from external file * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid.extend({ ...
JavaScript
/* ** * formatter for values but most of the values if for jqGrid * Some of this was inspired and based on how YUI does the table datagrid but in jQuery fashion * we are trying to keep it as light as possible * Joshua Burnett josh@9ci.com * http://www.greenbill.com * * Changes from Tony Tomov tony@trirand.com ...
JavaScript
;(function($){ /** * jqGrid extension for manipulating Grid Data * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid.extend({ //Editing editRow : function...
JavaScript
// This file should be used if you want to debug function jqGridInclude() { var pathtojsfiles = "js/"; // need to be ajusted // set include to false if you do not want some modules to be included var modules = [ { include: true, incfile:'i18n/grid.locale-en.js'}, // jqGrid translation ...
JavaScript
;(function($){ /* ** * jqGrid addons using jQuery UI * Author: Mark Williams * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * depends on jQuery UI sortable **/ if ($.browser.msie && $.browser.version==8) { $.expr[":"].h...
JavaScript
;(function($){ /** * jqGrid Norwegian Translation * KEM * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = {}; $.jgrid.defaults = { recordtext: "Rad(er)", loadtext: "Laster...", pgtext : "/" }; $.jgrid.search...
JavaScript
;(function($){ /** * jqGrid German Translation * Version 1.0.0 (developed for jQuery Grid 3.3.1) * Olaf Klöppel opensource@blue-hit.de * http://blue-hit.de/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = {...
JavaScript
;(function($){ /** * jqGrid Persian Translation * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "View {0} - {1} of {2}", emptyrecords: "No records to view", loadtext: "بارگ...
JavaScript
;(function($){ /** * jqGrid Greek (el) Translation * Alex Cicovic * http://www.alexcicovic.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "View {0} - {1} of {2}", empty...
JavaScript
;(function($){ /** * jqGrid Ukrainian Translation v1.0 02.07.2009 * Sergey Dyagovchenko * http://d.sumy.ua * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "Перегляд {0} - {1} з {...
JavaScript
;(function($){ /** * jqGrid Czech Translation * Pavel Jirak pavel.jirak@jipas.cz * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "View {0} - {1} of {2...
JavaScript
;(function($){ /** * jqGrid Japanese Translation * OKADA Yoshitada okada.dev@sth.jp * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "View {0} - {1} of...
JavaScript
;(function($){ /** * jqGrid English Translation * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "View {0} - {1} of {2}",...
JavaScript
;(function($){ /** * jqGrid Russian Translation v1.0 02.07.2009 (based on translation by Alexey Kanaev v1.1 21.01.2009, http://softcore.com.ru) * Sergey Dyagovchenko * http://d.sumy.ua * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/license...
JavaScript
;(function($){ /** * jqGrid Bulgarian Translation * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "{0} - {1} от {2}", ...
JavaScript
;(function($){ /** * jqGrid (fi) Finnish Translation * Jukka Inkeri awot.fi * http://awot.fi * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "View {0} - {1} of {2}", emptyr...
JavaScript
;(function($){ /** * jqGrid Romanian Translation * Alexandru Emil Lupu contact@alecslupu.ro * http://www.alecslupu.ro/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "Vizualiza...
JavaScript
;(function($){ /** * jqGrid Swedish Translation * Anders Nyberg anders.nyberg@alecta.com * http://wwww.alecta.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "post(er)", ...
JavaScript
;(function($){ /** * jqGrid French Translation * Tony Tomov tony@trirand.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "Enregistrements {0} - {1...
JavaScript
;(function($){ /** * jqGrid Spanish Translation * Traduccion jqGrid en Español por Yamil Bracho * Traduccion corregida y ampliada por Faserline, S.L. * http://www.faserline.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl....
JavaScript
;(function($){ /** * jqGrid Catalan Translation * Traducció jqGrid en Catatà per Faserline, S.L. * http://www.faserline.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "Mostr...
JavaScript
;(function($){ /** * jqGrid Italian Translation * Vincenzo Solomita vincenzosolomita@gmail.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "View {0} - {1} of {2}", emptyr...
JavaScript
;(function($){ /** * jqGrid Polish Translation * Łukasz Schab * http://FreeTree.pl * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "Pokaż {0} - {1} z {2}", emptyrecords: "Br...
JavaScript
;(function($){ /** * jqGrid Turkish Translation * Erhan Gündoğan (erhan@trposta.net) * http://blog.zakkum.com * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "{0}-{1} listeleniyo...
JavaScript
;(function($){ /** * jqGrid Danish Translation * Kaare Rasmussen kjs@jasonic.dk * http://jasonic.dk/blog * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "View {0} - {1} of {2}",...
JavaScript
(function(a) { a.jgrid = { defaults: { recordtext: "regels {0} - {1} van {2}", emptyrecords: "Geen data gevonden.", loadtext: "laden...", pgtext: "pagina {0} van {1}" }, search: { caption: "Zoeken...", ...
JavaScript
;(function($){ /** * jqGrid Brazilian-Portuguese Translation * Sergio Righi sergio.righi@gmail.com * http://curve.com.br * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "Ver {0} ...
JavaScript
;(function($){ /** * jqGrid Hebrew Translation * Shuki Shukrun shukrun.shuki@gmail.com * http://trirand.com/blog/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html **/ $.jgrid = { defaults : { recordtext: "מציג {0} - {1}...
JavaScript
jQuery("#listdnd").tableDnD({scrollAmount:0}); jQuery("#listdnd").jqGrid({ url:'server.php?q=1', datatype: "xml", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:...
JavaScript
/** * TableDnD plug-in for JQuery, allows you to drag and drop table rows * You can set up various options to control how the system will work * Copyright (c) Denis Howlett <denish@isocra.com> * Licensed like jQuery, see http://docs.jquery.com/License. * * Configuration options: * * onDragStyle * This is ...
JavaScript
//make table editable, refresh charts on blur$(function(){ $(function(){ $('table').visualize({type: 'pie', height: '300px', width: '420px'}); $('table td') .click(function(){ if( !$(this).is('.input') ){ $(this).addClass('input') .html('<input type="text" value="'+ $(this).text() +'" />') .fin...
JavaScript
/* * -------------------------------------------------------------------- * jQuery inputToButton plugin * Author: Scott Jehl, scott@filamentgroup.com * Copyright (c) 2009 Filament Group * licensed under MIT (filamentgroup.com/examples/mit-license.txt) * -----------------------------------------------------------...
JavaScript
// Run the script on DOM ready: $(function(){ //filtered chart $('table') .visualize({ rowFilter: ':not(:last)', colFilter: ':not(:last-child)' }) .before("<h2>B) Charted with filters to exclude totals data</h2><pre><code>$('table').visualize({<strong>rowFilter: ':not(:last)', colFilter: ':not(:last...
JavaScript
//Filament Group modification note: //This version of excanvas is modified to support lazy loading of this file. More info here: http://pipwerks.com/2009/03/12/lazy-loading-excanvasjs/ // Copyright 2006 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file excep...
JavaScript
// Run the script on DOM ready: $(function(){ $('table').visualize({type: 'pie', height: '300px', width: '420px'}); $('table').visualize({type: 'bar', width: '420px'}); $('table').visualize({type: 'area', width: '420px'}); $('table').visualize({type: 'line', width: '420px'}); });
JavaScript
/* Inicializaci�n en espa�ol para la extensi�n 'UI date picker' para jQuery. */ /* Traducido por Vester (xvester@gmail.com). */ jQuery(function($){ $.datepicker.regional['es'] = { closeText: 'Cerrar', prevText: '&#x3c;Ant', nextText: 'Sig&#x3e;', currentText: 'Hoy', monthNames: ['Enero','Febrero','Marzo','Ab...
JavaScript
var tipocambios = { init:function(){ $.getJSON("monedas/listamonedas", function(listamonedas) { setupGrid(listamonedas); }); var tipocambio = this; function setupGrid(listamonedas){ $('#tipocambios').jqGrid({ url:'tipocambios/index', datatype:'json', ...
JavaScript
$(document).ready(function(){ //tableToGrid("#detallevale"); });
JavaScript
var matriculas = { init:function(){ $('#programacionsmatriculas').jqGrid({ url:'programacions/index', datatype:'json', mtype:'POST', colNames:['id','Curso','Docente','Año','Seccion','Fecha Inicio','Fecha fin','Creado','Estado'], colModel:[ ...
JavaScript
$(document).ready(function(){ personaAutocomplete(); //inicializarPrecio(); actualizarBotonEliminar(); }); //INICIALIZA EL CALCULO DE LOS PRECIOS function inicializarPrecio(){ $(".recalcularPrecio").bind("change",calcularPrecioDetalle); } //AGREGA LA OPCION DE AUTOCOMPLETADO PARA LOS ARTICULOS functio...
JavaScript
var tipodocumentos = { init:function(){ $('#tipodocumentos').jqGrid({ url:'tipodocumentos/index', datatype:'json', mtype:'POST', colNames:['id','Descripcion','Modelo','Creado','Estado'], colModel:[ {name:"data[Tipodocumento][id]",hid...
JavaScript
var mydata; var asistencias = { init:function(){ //validamos el formulario $('#asistenciasForm').validate({ submitHandler: function(form){ $('#asistencias').html(''); asistencias.buscar(form); return false; } }); }, buscar : function(form){ $('#datos').html("<table id='a...
JavaScript
var periodos = { init:function(){ var periodo = this; $('#periodos').jqGrid({ url:'periodos/index', datatype:'json', mtype:'POST', colNames:['id','Año','Ciclo','Creado','Estado'], colModel:[ {name:"data[Periodo][id]",h...
JavaScript
var personas = { init:function(){ $.getJSON("ubigeos/listaubigeos", function(listaubigeos){ setupGrid(listaubigeos); }); var persona = this; function setupGrid(listaubigeos){ $('#personas').jqGrid({ url:'personas/index', datatype:'json', mtype:'POST', ...
JavaScript
var articulos = { init:function(){ $.getJSON("familias/listafamilias", function(listafamilia) { $.getJSON("unidades/listaunidades", function(listaunidades) { setupGrid(listafamilia, listaunidades); }); }); var articulo = this; function setupGrid(listafamilia,listaunidades){ ...
JavaScript
var proveedores = { init:function(){ var anterior_id; var proveedor = this; $('#proveedores').jqGrid({ url:'proveedores/index', datatype:'json', mtype:'POST', colNames:['id','Codigo','Razon Social','Nombre Comercial','Direccion','Ruc','DNI','Fecha Inicio','Te...
JavaScript
var clientes = { init:function(){ $.getJSON("ubigeos/listaubigeos", function(listaubigeos){ setupGrid(listaubigeos); }); var cliente = this; function setupGrid(listaubigeos){ $('#clientes').jqGrid({ url:'clientes/index', datatype:'json', mtype:'POST', ...
JavaScript
var depositos = { init:function(){ $.getJSON("usuarios/listausuarios", function(listausuarios) { $.getJSON("cuentacorrientes/listacuentascorrientes", function(listacuentascorrientes) { setupGrid(listacuentascorrientes,listausuarios); }); }); var deposito = this; function setupGri...
JavaScript
var monedas = { init:function(){ var moneda = this; $('#monedas').jqGrid({ url:'monedas/index', datatype:'json', mtype:'POST', colNames:['id','Simbolo','Nombre','Creado','Estado'], colModel:[ {name:"data[Moneda][id]",hidden:tru...
JavaScript
var programacions = { init:function(){ $.getJSON("cursos/listacursos", function(listacursos){ $.getJSON("personas/listadocentes", function(listadocentes) { $.getJSON("periodos/listaperiodos", function(listaperiodos) { setupGrid(listacursos,listadocentes,listaperiodos); }); }); }); var programacion =...
JavaScript
alert('plugin one nested js file');
JavaScript
alert('win sauce');
JavaScript
alert('I am a root level file!');
JavaScript
alert("Test App");
JavaScript
nested theme js file
JavaScript
root theme js file
JavaScript
/*! * Thumbnail helper for fancyBox * version: 1.0.7 (Mon, 01 Oct 2012) * @requires fancyBox v2.0 or later * * Usage: * $(".fancybox").fancybox({ * helpers : { * thumbs: { * width : 50, * height : 50 * } * } * }); * */ (fun...
JavaScript
/*! * Media helper for fancyBox * version: 1.0.6 (Fri, 14 Jun 2013) * @requires fancyBox v2.0 or later * * Usage: * $(".fancybox").fancybox({ * helpers : { * media: true * } * }); * * Set custom URL parameters: * $(".fancybox").fancybox({ * helpers : { * ...
JavaScript
/*! * Buttons helper for fancyBox * version: 1.0.5 (Mon, 15 Oct 2012) * @requires fancyBox v2.0 or later * * Usage: * $(".fancybox").fancybox({ * helpers : { * buttons: { * position : 'top' * } * } * }); * */ (function ($) { //Shortcut for ...
JavaScript
// document ready function $(document).ready(function() { //------------- Full calendar -------------// $(function () { var date = new Date(); var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); //front page calendar $('#calendar').fullCalendar({ //isRTL: tru...
JavaScript
// document ready function $(document).ready(function() { //------------- Full calendar -------------// $(function () { var date = new Date(); var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); //front page calendar $('#calendar').fullCalendar({ //isRTL: t...
JavaScript
//------------- Mega menu -------------// megaMenu = $('.mega-menu'); megaLink = megaMenu.find('a'); subMenu = megaMenu.find('ul.submenu'); subMenu.prev('a').addClass('hasSub').append('<span class="hasDrop icon16 icomoon-icon-arrow-down-2"></span>'); //show all links if mega menu has class s...
JavaScript
// document ready function $(document).ready(function() { var divElement = $('div'); //log all div elements //Simple chart if (divElement.hasClass('simple-chart')) { $.ajax({ type: "GET", contentType: "application/json; charset=utf-8", cache:false, //change to true in production app ...
JavaScript
// document ready function $(document).ready(function() { });//End document ready functions //sparkline in sidebar area var positive = [1,5,3,7,8,6,10]; var negative = [10,6,8,7,3,5,1] var negative1 = [7,6,8,7,6,5,4] $('#stat1').sparkline(positive,{ height:15, spotRadius: 0, barColor: '#9FC569',...
JavaScript
// document ready function $(document).ready(function() { //--------------- Data tables ------------------// if($('table').hasClass('emailTable')){ $('.emailTable').dataTable({ "bJQueryUI": false, "bAutoWidth": false, "bLengthChange": false, "oLanguage": { "sSearch": "", "s...
JavaScript
// document ready function $(document).ready(function() { //------------- Select plugin -------------// $("#select1").select2(); //create success msg for wizard function createSuccessMsg (loc, msg) { loc.append( '<div class="alert alert-success"><button type="button" class="close" data-dismiss="al...
JavaScript
// document ready function $(document).ready(function() { //------------- Check all checkboxes -------------// $("#masterCh").click(function() { var checkedStatus = $(this).find('span').hasClass('checked'); $("#checkAll tr .chChildren input:checkbox").each(function() { this.checked = checkedStatu...
JavaScript
var CustomControl = Class.create(); var msg_found = "Found ".fontcolor("green"); var msg_device = " devices.".fontcolor("green"); var msg_not_found = "No devices found.".fontcolor("red"); var msg_retrieve_data = "Processing retrieved data...".fontcolor("green"); CustomControl.prototype = { initialize: function(status...
JavaScript
// make console.log safe to use window.console||(console={log:function(){}}); //------------- Options for Supr - admin tempalte -------------// var supr_Options = { fixedWidth: false, //activate fixed version with true rtl:false //activate rtl version with true } //------------- Modernizr -------------// ...
JavaScript
// document ready function $(document).ready(function() { //--------------- Data tables ------------------// if($('table').hasClass('dynamicTable')){ $('.dynamicTable').dataTable( { "sDom": "<'row'<'col-lg-6'l><'col-lg-6'f>r>t<'row'<'col-lg-6'i><'col-lg-6'p>>", "sPaginationType": "bootstrap", "b...
JavaScript
// document ready function $(document).ready(function() { //sort options $('#sort-layout div[class*="col-lg-"]').sortable({ connectWith: '#sort-layout div[class*="col-lg"]', handle: '.panel-heading', placeholder: "sortable-placeholder", forcePlaceholderSize: true, helper...
JavaScript
// document ready function $(document).ready(function() { //--------------- Tabs ------------------// //Activate support tab $('.tabs-left li:eq(1) a').tab('show'); // Select third tab (0-indexed) //support page scroll if($(".scroll-y").length) { $(".scroll-y").niceScroll({ cursoropacitymax:...
JavaScript
// document ready function $(document).ready(function() { //------------- Check all checkboxes -------------// $("#masterCh").click(function() { var checkedStatus = $(this).find('span').hasClass('checked'); $("#checkAll tr .chChildren input:checkbox").each(function() { this.checked = checkedStatu...
JavaScript
// document ready function $(document).ready(function() { var divElement = $('div'); //log all div elements //Simple chart if (divElement.hasClass('simple-chart')) { $(function () { var sin = [], cos = []; for (var i = 0; i < 14; i += 0.5) { sin.push([i, Math.sin(i)]); co...
JavaScript
// document ready function $(document).ready(function() { //--------------- button state demo ------------------// $('#fat-btn').click(function () { var btn = $(this) btn.button('loading') setTimeout(function () { btn.button('reset') }, 3000); }) });//E...
JavaScript
/*! Copyright (c) 2011 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 delta...
JavaScript
// document ready function $(document).ready(function() { //--------------- Tabs ------------------// $('#myTab a').click(function (e) { e.preventDefault(); $(this).tab('show'); }) //activate loaders tabs $('#myTabLoaders a').click(function (e) { e.preventDefault(); $(this).ta...
JavaScript
/*! * Thumbnail helper for fancyBox * version: 1.0.7 (Mon, 01 Oct 2012) * @requires fancyBox v2.0 or later * * Usage: * $(".fancybox").fancybox({ * helpers : { * thumbs: { * width : 50, * height : 50 * } * } * }); * */ (fun...
JavaScript
/*! * Media helper for fancyBox * version: 1.0.5 (Tue, 23 Oct 2012) * @requires fancyBox v2.0 or later * * Usage: * $(".fancybox").fancybox({ * helpers : { * media: true * } * }); * * Set custom URL parameters: * $(".fancybox").fancybox({ * helpers : { * ...
JavaScript
/*! * Buttons helper for fancyBox * version: 1.0.5 (Mon, 15 Oct 2012) * @requires fancyBox v2.0 or later * * Usage: * $(".fancybox").fancybox({ * helpers : { * buttons: { * position : 'top' * } * } * }); * */ (function ($) { //Shortcut for ...
JavaScript
/*! Copyright (c) 2011 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 delta...
JavaScript
// document ready function $(document).ready(function() { //------------- Tags plugin -------------// $("#tags").select2({ tags:["red", "green", "blue", "orange"] }); //------------- Elastic textarea -------------// if ($('textarea').hasClass('elastic')) { $('.elastic').elastic(); } //-...
JavaScript
// document ready function $(document).ready(function() { //------------- Elfinder file manager -------------// var elf = $('#elfinder').elfinder({ // lang: 'ru', // language (OPTIONAL) url : 'php/connector.php' // connector URL (REQUIRED) }).elfinder('instance'); //------------...
JavaScript
/** * http://github.com/valums/file-uploader * * Multiple file upload component with progress-bar, drag-and-drop. * © 2010 Andrew Valums ( andrew(at)valums.com ) * * Licensed under GNU GPL 2 or later and GNU LGPL 2 or later, see license.txt. */ // // Helper functions // var qq = qq || {}; /** * Adds ...
JavaScript
/** * Node.JS server sample file for the cool ajax file uploader by Valums (http://valums.com/ajax-upload/). * * You have to install additional modules with: * npm install express * npm install node-uuid * * If you are using NginX as reverse proxy, please set this in your server block: * client_max_body...
JavaScript
/** * jQuery Opacity Rollover plugin * * Copyright (c) 2009 Trent Foley (http://trentacular.com) * Licensed under the MIT License: * http://www.opensource.org/licenses/mit-license.php */ ;(function($) { var defaults = { mouseOutOpacity: 0.67, mouseOverOpacity: 1.0, fadeSpeed: 'fast', ...
JavaScript
/** * jQuery Galleriffic plugin * * Copyright (c) 2008 Trent Foley (http://trentacular.com) * Licensed under the MIT License: * http://www.opensource.org/licenses/mit-license.php * * Much thanks to primary contributer Ponticlaro (http://www.ponticlaro.com) */ ;(function($) { // Globally keep track ...
JavaScript
/* * jQuery history plugin * * sample page: http://www.mikage.to/jquery/jquery_history.html * * Copyright (c) 2006-2009 Taku Sano (Mikage Sawatari) * Licensed under the MIT License: * http://www.opensource.org/licenses/mit-license.php * * Modified by Lincoln Cooper to add Safari support and only call the ca...
JavaScript
/** * @fileoverview * Registers a language handler for VHDL '93. * * Based on the lexical grammar and keywords at * http://www.iis.ee.ethz.ch/~zimmi/download/vhdl93_syntax.html * * @author benoit@ryder.fr */ PR['registerLangHandler']( PR['createSimpleLexer']( [ // Whitespace [PR['...
JavaScript
// Copyright (C) 2009 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
JavaScript
// Copyright (C) 2009 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
JavaScript
// Copyright (C) 2008 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
JavaScript
// Copyright (C) 2010 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
JavaScript
// Copyright (C) 2008 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
JavaScript