code
stringlengths
1
2.08M
language
stringclasses
1 value
/* * Copyright (c) 2013 Eugene Kuzmenko * * 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, merg...
JavaScript
/* * Copyright (c) 2013 Eugene Kuzmenko * * 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, merg...
JavaScript
/* * Copyright (c) 2013 Eugene Kuzmenko * * 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, merg...
JavaScript
/* * Copyright (c) 2013 Eugene Kuzmenko * * 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, merg...
JavaScript
/* * Copyright (c) 2013 Eugene Kuzmenko * * 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, merg...
JavaScript
/* * Static Map * A JS class for rendering static Google Maps and loading dynamic maps on the fly * * Requires jQuery library (http://www.jquery.com), * jQuery.Class plug-in (http://github.com/taylanpince/jquery-class) * * Taylan Pince (taylanpince at gmail dot com) - October 24, 2008 */ $.namespace("cor...
JavaScript
/* * Class * jQuery plug-in that provides several tools for building object oriented * JavaScript applications. * * Requires jQuery library (http://www.jquery.com) * * Taylan Pince (taylanpince at gmail dot com) - June 16, 2007 */ (function($) { jQuery.extend({ namespace : function(spaces) { ...
JavaScript
if (typeof ALVEOLE.GUI.NAV=="undefined") ALVEOLE.GUI.NAV = {}; ALVEOLE.GUI.NAV.display=function() { if (!ALVEOLE.GUI.showWindow("nav")) { ALVEOLE.GUI.NAV.win=ALVEOLE.GUI.createWindow("Nav","nav",ALVEOLE.GUI.body); ALVEOLE.GUI.NAV.win.showAllways=true; ALVEOLE.GUI.NAV.dom=ALVEOLE.GUI.createForm("Go",ALVEOLE.G...
JavaScript
// read configuration if (typeof ALVEOLE.css=="undefined") ALVEOLE.css = ALVEOLE.baseaddress + "alveole.css"; document.write('<LINK href="' + ALVEOLE.css +'" rel="stylesheet" type="text/css">'); if (typeof ALVEOLE.GUI=="undefined") ALVEOLE.GUI ={}; ALVEOLE.GUI.domid=function(id,func) { return 'ALV' + id + fu...
JavaScript
// read configuration if (typeof ALVEOLE=="undefined") var ALVEOLE = {}; if (typeof ALVEOLE.baseaddress=="undefined") ALVEOLE.baseaddress="http://localhost:8080/alveole/"; // load gui features document.write('<script type="text/javascript" src="' + ALVEOLE.baseaddress + 'alveolegui.js"></script>'); document.write('...
JavaScript
if (typeof ALVEOLE.GUI.LOGIN=="undefined") ALVEOLE.GUI.LOGIN = {}; ALVEOLE.GUI.LOGIN.display=function() { if (!ALVEOLE.GUI.showWindowAlone("logIn")) { ALVEOLE.GUI.LOGIN.win=ALVEOLE.GUI.createWindow("logIn","logIn",ALVEOLE.GUI.body); ALVEOLE.GUI.LOGIN.dom=ALVEOLE.GUI.createForm("Log in",ALVEOLE.GUI.LOGIN.submit...
JavaScript
if (typeof ALVEOLE.GUI.SIGNUP=="undefined") ALVEOLE.GUI.SIGNUP = {}; ALVEOLE.GUI.SIGNUP.display=function() { ALVEOLE.GUI.hideAllWindows(); if (!ALVEOLE.GUI.showWindowAlone("signUp")) { ALVEOLE.GUI.SIGNUP.win=ALVEOLE.GUI.createWindow("SignUp","signUp",ALVEOLE.GUI.body); ALVEOLE.GUI.SIGNUP.dom=ALVEOLE.GUI.cr...
JavaScript
if (typeof ALVEOLE=="undefined") var ALVEOLE = {}; if (typeof ALVEOLE.baseaddress=="undefined") ALVEOLE.baseaddress="http://localhost:8080/alveole/"; document.write('<script type="text/javascript" src="alveolegui.js"></script>'); document.write('<script type="text/javascript" src="alveolenet.js"></script>'); docum...
JavaScript
// create container ALVEOLE.container = ALVEOLE.GUI.createWindow("container","Alveole",document.body); // create iframe var screen = ALVEOLE.GUI.getScreen(); ALVEOLE.frame = document.createElement("iframe"); ALVEOLE.frame.src = "http://localhost:8080/alveole/alveole.html" + "?width=" + 200 + "&height=" + screen.win...
JavaScript
ALVEOLE.GUI.body.style.cssFloat="right"; var screen=ALVEOLE.GUI.getScreen(); ALVEOLE.GUI.frame = document.createElement("iframe"); ALVEOLE.GUI.frame.setAttribute('src', 'http://www.hardware.fr'); ALVEOLE.GUI.frame.setAttribute('sandbox', 'allow-top-navigation'); ALVEOLE.GUI.frame.style.width=screen.winW-1-ALVEOLE.GUI....
JavaScript
if (typeof ALVEOLE.NET=="undefined") ALVEOLE.NET = {}; if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari ALVEOLE.NET.xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 ALVEOLE.NET.xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } ALVEOLE.NET.handleEvent=function(event,orig...
JavaScript
// read configuration if (typeof ALVEOLE=="undefined") var ALVEOLE = {}; if (typeof ALVEOLE.baseaddress=="undefined") ALVEOLE.baseaddress="http://localhost:8080/alveole/"; // load gui features document.write('<script type="text/javascript" src="' + ALVEOLE.baseaddress + 'alveolegui.js"></script>'); document.write('...
JavaScript
// create container ALVEOLE.container = ALVEOLE.GUI.createWindow("container","Alveole",document.body); // create iframe var screen = ALVEOLE.GUI.getScreen(); ALVEOLE.frame = document.createElement("iframe"); ALVEOLE.frame.src = "http://localhost:8080/alveole/alveole.html" + "?width=" + 200 + "&height=" + screen.win...
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 ...
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 res...
JavaScript
function add(formu) { qty=formu.quantity.value; productname=formu.product.value; stock=formu.stock.value; if(stock<=0){ alert("We have run out of this product!\nStock: 0"); } else{ if (confirm("This product will be added: \n\n " + productname + " \n\nAre you sure?")) ...
JavaScript
/** @license * DHTML Snowstorm! JavaScript-based Snow for web pages * -------------------------------------------------------- * Version 1.43.20111201 (Previous rev: 1.42.20111120) * Copyright (c) 2007, Scott Schiller. All rights reserved. * Code provided under the BSD License: * http://schillmania.com/projects/s...
JavaScript
/* ------------------------------------------------------------------------- JavaScript Form Validator (gen_validatorv31.js) Version 3.1.2 Copyright (C) 2003-2008 JavaScript-Coder.com. All rights reserved. You can freely use this script in your Web pages. You may adapt this script for y...
JavaScript
$(document).ready(function() { /* General ================================================== */ $("form :submit").button(); $(".selectAuto").selectmenu(); /* FechaHora ================================================== */ $("#datepicker").datetimepicker({ timeText: "Hora",...
JavaScript
// SpryMenuBar.js - version 0.13 - Spry Pre-Release 1.6.1 // // Copyright (c) 2006. Adobe Systems Incorporated. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of sou...
JavaScript
// SpryAccordion.js - version 0.17 - Spry Pre-Release 1.6.1 // // Copyright (c) 2006. Adobe Systems Incorporated. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of s...
JavaScript
// SpryTabbedPanels.js - version 0.7 - Spry Pre-Release 1.6.1 // // Copyright (c) 2006. Adobe Systems Incorporated. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistributions of...
JavaScript
$(function(){ var enforceModalFocusFn = $.fn.modal.Constructor.prototype.enforceFocus; $.fn.modal.Constructor.prototype.enforceFocus = function() {}; $this=$(".alert"); $this.find(".close").click(function(){ $this.hide(); }); $(".fancybox").fancybox(); $('.datepicker-input').each(function(){ $(...
JavaScript
$(function(){ $('.datepicker-input1,.datepicker-input').datepicker({ dateFormat: 'dd-mm-yy' }); }) $("body").click(function(){ $('.view-list-customer').hide(); }) $( ".qt-user" ).click(function() { iconAddUser(); }); function iconAddUser(){ $(".input-user").html("<input type='text' class='select-customer' p...
JavaScript
!function ($) { $(function(){ $('#world_map').vectorMap({ map: 'world_mill_en', normalizeFunction: 'polynomial', backgroundColor: '#fff', regionStyle: { initial: { fill: '#36424f' }, hover: { fill: '#1ccc88' }, }, ...
JavaScript
$(function(){ $("#key_search").keyup(function(){ var key = $(this).val(); if(key.length >= 2){ $.ajax({ type: "GET", url: MAIN_URL + "customer/ajax/?ajax=true&mod=search&where="+key, success: function(msg){ ...
JavaScript
$(function(){ $("#dashboard_task_search").keyup(function(){ var key = $(this).val(); if(key.length >= 3){ $.ajax({ type: "GET", url: MAIN_URL + "ajax/?ajax=true&action=search&key="+key, success: functi...
JavaScript
$(function(){ /* $('#dt_task_date').editable({ pk: 1, mode:'inline' }); $("#dt_task_rate").editable({ source: [ {value: 1, text: 'Tiếp xúc'}, {value: 2, text: 'Xúc tiến'} ], mode:'inline', display: f...
JavaScript
$(document).ready( function(){ theMonths = ["Tháng 1, Năm", "Tháng 2, Năm", "Tháng 3, Năm", "Tháng 4, Năm", "Tháng 5, Năm", "Tháng 6, Năm", "Tháng 7, Năm", "Tháng 8, Năm", "Tháng 9, Năm", "Tháng 10, Năm", "Tháng 11, Năm", "Tháng 12, Năm"]; theDays = ["S", "M", "T", "W", "T", "F", "S"]; $('#calendar').calendar({ ...
JavaScript
/*! * jQuery twitter bootstrap wizard plugin * Examples and documentation at: http://github.com/VinceG/twitter-bootstrap-wizard * version 1.0 * Requires jQuery v1.3.2 or later * Supports Bootstrap 2.2.x, 2.3.x, 3.0 * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.p...
JavaScript
+function ($) { $(function(){ $('#wizardform').bootstrapWizard({ 'tabClass': 'nav nav-tabs', 'onNext': function(tab, navigation, index) { var valid = false; $('[data-required="true"]', $( $(tab.html()).attr('href') )).each(function(){ return (valid = $(this).parsley( 'valid...
JavaScript
/*! * GMaps.js v0.4.5 * http://hpneo.github.com/gmaps/ * * Copyright 2013, Gustavo Leon * Released under the MIT License. */ if (!(typeof window.google === 'object' && window.google.maps)) { throw 'Google Maps API is required. Please register the following JavaScript library http://maps.google.com/maps/api/js?...
JavaScript
!function ($) { $(function(){ map = new GMaps({ div: '#gmap_geocoding', lat: 37.77493, lng: -122.419416, zoom: 4 }); map.addMarker({ lat: 37.77493, lng: -122.419416, title: 'Marker', infoWindow: { content: 'Info content here...' } }); $('#geocoding_form').submit(function(e)...
JavaScript
/* * jQuery Pines Notify (pnotify) Plugin 1.2.2 * * http://pinesframework.org/pnotify/ * Copyright (c) 2009-2012 Hunter Perrin * * Triple license under the GPL, LGPL, and MPL: * http://www.gnu.org/licenses/gpl.html * http://www.gnu.org/licenses/lgpl.html * http://www.mozilla.org/MPL/MPL-1.1.h...
JavaScript
var opts = { basePath: '', theme: { base: 'js/markdown/epiceditor.css', preview: 'js/markdown/bartik.css', editor: 'js/markdown/epic-light.css' } } var editor = new EpicEditor(opts).load();
JavaScript
+function ($) { $(function(){ // fullcalendar var date = new Date(); var d = date.getDate(); var m = date.getMonth(); var y = date.getFullYear(); var addDragEvent = function($this){ // create an Event Object (http://arshaw.com/fullcalendar/docs/event_data/Event_Object/) // it doe...
JavaScript
window.ParsleyConfig = window.ParsleyConfig || {}; (function ($) { window.ParsleyConfig = $.extend( true, {}, window.ParsleyConfig, { validators: { minwords: function ( val, nbWords ) { val = val.replace( /(^\s*)|(\s*$)/gi, "" ); val = val.replace( /[ ]{2,}/gi, " " ); val = val.repl...
JavaScript
/** * Flot plugin that provides spline interpolation for line graphs * author: Alex Bardas < alex.bardas@gmail.com > * modified by: Avi Kohn https://github.com/AMKohn * based on the spline interpolation described at: * http://scaledinnovation.com/analytics/splines/aboutSplines.html * * Example usage: (add in p...
JavaScript
/* Flot plugin for automatically redrawing plots when the placeholder size changes, e.g. on window resizes. It works by listening for changes on the placeholder div (through the jQuery resize event plugin) - if the size changes, it will redraw the plot. There are no options. If you need to disable the plugin for some...
JavaScript
/* * The MIT License Copyright (c) 2010,2011,2012, 2013 by Juergen Marsch 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, cop...
JavaScript
$(function(){ // var monthNames = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; var d1 = []; for (var i = 0; i <= 11; i += 1) { d1.push([i, parseInt((Math.floor(Math.random() * (1 + 20 - 10))) + 10)]); } $("#flot-1ine").length && $.plot($("#flot-1ine"), [{ ...
JavaScript
/* * Flot plugin to order bars side by side. * * Released under the MIT license by Benjamin BUFFET, 20-Sep-2010. * * This plugin is an alpha version. * * To activate the plugin you must specify the parameter "order" for the specific serie : * * $.plot($("#placeholder"), [{ data: [ ... ], bars :{ order = null...
JavaScript
/*! X-editable - v1.5.1 * In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery * http://github.com/vitalets/x-editable * Copyright (c) 2013 Vitaliy Potapov; Licensed MIT */ ! function(a) { "use strict"; var b = function(b, c) { this.options = a.extend({}, a.fn.editableform.defaults, c), ...
JavaScript
/* * HTML5 Sortable jQuery Plugin * http://farhadi.ir/projects/html5sortable * * Copyright 2012, Ali Farhadi * Released under the MIT license. */ (function($) { var dragging, placeholders = $(); $.fn.sortable = function(options) { var method = String(options); options = $.extend({ connectWith: false }, opti...
JavaScript
/* * jQuery Hotkeys Plugin * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * * Based upon the plugin by Tzury Bar Yochay: * http://github.com/tzuryby/hotkeys * * Original idea by: * Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/ */ /* * One small cha...
JavaScript
$(function(){ function initToolbarBootstrapBindings() { var fonts = ['Serif', 'Sans', 'Arial', 'Arial Black', 'Courier', 'Courier New', 'Comic Sans MS', 'Helvetica', 'Impact', 'Lucida Grande', 'Lucida Sans', 'Tahoma', 'Times', 'Times New Roman', 'Verdana'], fontTarget = $('[title=Fo...
JavaScript
(function(e, t) { var n, r, i = typeof t, o = e.location, a = e.document, s = a.documentElement, l = e.jQuery, u = e.$, c = {}, p = [], f = "1.10.2", d = p.concat, h = p.push, g = p.slice, m = p.indexOf, ...
JavaScript
+function ($) { "use strict"; $(function(){ // sparkline var sr, sparkline = function($re){ $(".sparkline").each(function(){ var $data = $(this).data(); if($re && !$data.resize) return; ($data.type == 'pie') && $data.sliceColors && ($data.sliceColors = eval($data.sliceColors)); ($data.type == 'bar...
JavaScript
$(document).ready(function() { // activate Nestable for list 1 $('#nestable1').nestable({ group: 1 }); // activate Nestable for list 2 $('#nestable2').nestable({ group: 1 }); var $expand = false; $('#nestable-menu').on('click', function(e) { if ($expand...
JavaScript
/*! * Nestable jQuery Plugin - Copyright (c) 2012 David Bushell - http://dbushell.com/ * Dual-licensed under the BSD or MIT licenses */ ;(function($, window, document, undefined) { var hasTouch = 'ontouchstart' in window; /** * Detect CSS pointer-events property * events are normally disabled on t...
JavaScript
+function ($) { $(function(){ var intro = introJs(); intro.setOptions({ steps: [ { element: '#nav .nav-user', intro: '<p class="h4 text-uc"><strong>1: User settings</strong></p><p>Start edit your info here.</p>', position: 'bottom' }, { e...
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
function create_menu(basepath) { var base = (basepath == 'null') ? '' : basepath; document.write( '<table cellpadding="0" cellspaceing="0" border="0" style="width:98%"><tr>' + '<td class="td" valign="top">' + '<ul>' + '<li><a href="'+base+'index.html">User Guide Home</a></li>' + '<li><a href="'+base+'toc....
JavaScript
/* moo.fx, simple effects library built with prototype.js (http://prototype.conio.net). by Valerio Proietti (http://mad4milk.net) MIT-style LICENSE. for more info (http://moofx.mad4milk.net). 10/24/2005 v(1.0.2) */ //base var fx = new Object(); fx.Base = function(){}; fx.Base.prototype = { setOptions: function(option...
JavaScript
window.onload = function() { myHeight = new fx.Height('nav', {duration: 400}); myHeight.hide(); }
JavaScript
/*! * GMAP3 Plugin for JQuery * Version : 5.1.1 * Date : 2013-05-25 * Licence : GPL v3 : http://www.gnu.org/licenses/gpl.html * Author : DEMONTE Jean-Baptiste * Contact : jbdemonte@gmail.com * Web site : http://gmap3.net * * Copyright (c) 2010-2012 Jean-Baptiste DEMONTE * All rights re...
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
var currentLink = ""; $(document).ready(function() { var hash = location.hash; hash = hash.replace( /^#/, '' ); if(hash != ''){ if(hash.indexOf('/') != -1){ hash = hash.split('/'); showPage('?func=' + hash[0] + '&' + hash[1] + '&ajax=true'); } else{showPage('?func=' + hash.replace( /^#/, '' ) ...
JavaScript
/* * jQuery UI Multilevel accordionze v.1 * * Copyright (c) 2011 Pieter Pareit * * http://www.scriptbreaker.com * */ //plugin definition (function($){ $.fn.extend({ //pass the options variable to the function accordionze: function(options) { var defaults = { accordionze: 'true', s...
JavaScript
/** * stacktable.js * Author & copyright (c) 2012: John Polacek * Dual MIT & GPL license * * Page: http://johnpolacek.github.com/stacktable.js * Repo: https://github.com/johnpolacek/stacktable.js/ * * jQuery plugin for stacking tables on small screens * */ ;(function($) { $.fn.stacktable = function(options...
JavaScript
if(!window.calendar_languages) { window.calendar_languages = {}; } window.calendar_languages['fr-FR'] = { error_noview: 'Calendrier: Vue {0} introuvable', error_dateformat: 'Calendrier: Format de date incorrect {0}. Formats acceptés : "now" ou "yyyy-mm-dd"', error_loadurl: 'Calendrier: Events load URL is not set', ...
JavaScript
if(!window.calendar_languages) { window.calendar_languages = {}; } window.calendar_languages['pt-BR'] = { error_noview: 'Calendar: View {0} not found', error_dateformat: 'Calendar: Formato de data inválido {0}. Deve ser "now" ou "yyyy-mm-dd"', error_loadurl: 'Calendar: URL de carregamento de eventos não está atribu...
JavaScript
if(!window.calendar_languages) { window.calendar_languages = {}; } window.calendar_languages['de-DE'] = { error_noview: 'Kalender: View {0} nicht gefunden', error_dateformat: 'Kalender: Falsches Datumsformat {0}. Sollte entweder "now" oder "yyyy-mm-dd" sein', error_loadurl: 'Kalender: Event-URL nicht gesetzt.', er...
JavaScript
if(!window.calendar_languages) { window.calendar_languages = {}; } window.calendar_languages['el-GR'] = { error_noview: 'Ημερολόγιο: Η προβολή {0} δεν βρέθηκε', error_dateformat: 'Ημερολόγιο: Η μορφή της ημερομηνίας {0} δεν είναι έγκυρη. Παρακαλώ χρησιμοποιήστε "now" ή "yyyy-mm-dd"', error_loadurl: 'Ημερολόγιο: Η δ...
JavaScript
if(!window.calendar_languages) { window.calendar_languages = {}; } window.calendar_languages['sv-SE'] = { error_noview: 'Kalender: Vy {0} ej funnen', error_dateformat: 'Kalender: Felaktigt datumformat {0}. Måste antingen vara "now" eller "åååå-mm-dd"', error_loadurl: 'Kalender: Laddnings-URL för events är ej satt',...
JavaScript
if(!window.calendar_languages) { window.calendar_languages = {}; } window.calendar_languages['pl-PL'] = { error_noview: 'Kalendarz: Widok {0} nie znaleziony', error_dateformat: 'Kalendarz: Zły format daty {0}. Powinna być w formacie "now" lub "yyyy-mm-dd"', error_loadurl: 'Kalendarz: Adres URL do ładowania wydarzeń...
JavaScript
if(!window.calendar_languages) { window.calendar_languages = {}; } window.calendar_languages['es-MX'] = { error_noview: 'Calendar: Vista {0} no encontrada', error_dateformat: 'Calendar: Formato de Fecha Inválido {0}. Debe ser "now" o con el formato "yyyy-mm-dd"', error_loadurl: 'Calendar: URL de datos no definida',...
JavaScript
if(!window.calendar_languages) { window.calendar_languages = {}; } window.calendar_languages['it-IT'] = { error_noview: 'Calendario: vista {0} non trovata', error_dateformat: 'Calendario: formato data {0} non valido. Dovrebbe essere "now" o "yyyy-mm-dd"', error_loadurl: 'Calendario: URL di caricamento degli eventi ...
JavaScript
if(!window.calendar_languages) { window.calendar_languages = {}; } window.calendar_languages['ru-RU'] = { error_noview: 'Календарь: Шаблон вида {0} не найден.', error_dateformat: 'Календарь: неверный формат даты {0}. Должно быть или "now" или "yyyy-mm-dd"', error_loadurl: 'Календарь: не назначен URL для загрузки со...
JavaScript
if(!window.calendar_languages) { window.calendar_languages = {}; } window.calendar_languages['es-ES'] = { error_noview: 'Calendario: Vista {0} no encontrada', error_dateformat: 'Calendario: Formato de fecha inválido {0}. Debe ser "now" o "yyyy-mm-dd"', error_loadurl: 'Calendario: URL de carga de eventos no configur...
JavaScript
/** * Bootstrap based calendar full view. * * https://github.com/Serhioromano/bootstrap-calendar * * User: Sergey Romanov <serg4172@mail.ru> * Version 0.1 */ "use strict"; Date.prototype.getWeek = function() { var onejan = new Date(this.getFullYear(), 0, 1); return Math.ceil((((this.getTime() - onejan.getTime...
JavaScript
(function($) { "use strict"; var options = { events_source: 'assets/js/calendar/events.json.php', view: 'month', tmpl_path: 'assets/js/calendar/tmpls/', tmpl_cache: false, day: '2014-03-12', onAfterEventsLoad: function(events) { if(!events) { return; } var list = $('#eventlist'); list.ht...
JavaScript
/*! * jQuery Stepy - A Wizard Plugin * -------------------------------------------------------------- * * jQuery Stepy is a plugin that generates a customizable wizard. * * Licensed under The MIT License * * @version 1.1.0 * @since 2010-07-03 * @author Washington Botelho * @documentat...
JavaScript
/*! * jQuery Cookie Plugin v1.3.1 * https://github.com/carhartl/jquery-cookie * * Copyright 2013 Klaus Hartl * Released under the MIT license */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as anonymous module. define(['jquery'], factory); } else { // Browser gl...
JavaScript
;(function(){ /** * Require the given path. * * @param {String} path * @return {Object} exports * @api public */ function require(path, parent, orig) { var resolved = require.resolve(path); // lookup failed if (null == resolved) { orig = orig || path; parent = parent || 'root'; var err = new ...
JavaScript
/* _____ _____ _____ _______ /\ \ /\ \ /\ \ /::\ \ /::\ \ /::\ \ /::\ \ /::::\ \ /::::\ \ ...
JavaScript
/*! * FooTable - Awesome Responsive Tables * Version : 2.0.1.2 * http://fooplugins.com/plugins/footable-jquery/ * * Requires jQuery - http://jquery.com/ * * Copyright 2013 Steven Usher & Brad Vincent * Released under the MIT license * You are free to use FooTable in commercial projects as long as this copyrig...
JavaScript
(function ($, w, undefined) { if (w.footable === undefined || w.footable === null) throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); var defaults = { filter: { enabled: true, input: '.footable-filter', ...
JavaScript
(function ($, w, undefined) { if (w.footable === undefined || w.footable === null) throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); var defaults = { sort: true, sorters: { alpha: function (a, b) { ...
JavaScript
(function ($, w, undefined) { if (w.footable === undefined || w.footable === null) throw new Error('Please check and make sure footable.js is included in the page and is loaded prior to this script.'); var defaults = { paginate: true, pageSize: 10, pageNavigation: '.pagination',...
JavaScript
/*! * The Final Countdown for jQuery v2.0.3 (http://hilios.github.io/jQuery.countdown/) * Copyright (c) 2014 Edson Hilios * * 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 rest...
JavaScript
/* * jQuery Progress Button 1.0.0 * https://github.com/Desertsnowman/jQuery-Progress-Buttons * * Copyright 2012, David Cramer * http://digilab.co.za * * Licensed under the MIT license: * http://www.opensource.org/licenses/MIT */ (function( $ ){ var methods = { init : function( options ) { ...
JavaScript
/* == malihu jquery custom scrollbar plugin == Version: 3.0.3 Plugin URI: http://manos.malihu.gr/jquery-custom-content-scroller Author: malihu Author URI: http://manos.malihu.gr License: MIT License (MIT) */ /* Copyright 2010 Manos Malihutsakis (email: manos@malihu.gr) Permission is hereby granted, free of charge,...
JavaScript
/* jQuery Tags Input Plugin 1.3.3 Copyright (c) 2011 XOXCO, Inc Documentation for this plugin lives here: http://xoxco.com/clickable/jquery-tags-input Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php ben@xoxco.com */ (function($) { var delimiter = new Array(); var t...
JavaScript
//Sliding Effect Control head.js("public/theme/default/js/skin-select/jquery.cookie.js"); head.js("public/theme/default/js/skin-select/skin-select.js"); //Showing Date head.js("public/theme/default/js/clock/date.js"); //Bootstrap //head.js("public/theme/default/js/bootstrap.js"); /* //NEWS STICKER head.js("public/t...
JavaScript
/* Tooltipster 2.1.4 | 6/1/13 A rockin' custom tooltip jQuery plugin Developed by: Caleb Jacob - calebjacob.com Copyright (C) 2013 Caleb Jacob THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR P...
JavaScript
(function($, window, document, undefined) { $.fn.quicksearch = function (target, opt) { var timeout, cache, rowcache, jq_results, val = '', e = this, options = $.extend({ delay: 100, selector: null, stripeRows: null, loader: null, noResults: '', matchedResultsCount: 0, bind: 'keyup', onBe...
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
$(document).ready(function() { // toggle skin select $("#skin-select #toggle").click(function() { if($(this).hasClass('active')) { $(this).removeClass('active') $('#skin-select').animate({ left:0 }, 100); $('.wrap-fluid').css({"width":"auto","margin-left":"250px"}); $('.navbar').css({"margin-le...
JavaScript
/*! * jQuery blockUI plugin * Version 2.59.0-2013.04.05 * @requires jQuery v1.7 or later * * Examples at: http://malsup.com/jquery/block/ * Copyright (c) 2007-2013 M. Alsup * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/license...
JavaScript
$(function() { function randomPercentage() { return Math.floor(Math.random() * 100); } function randomInterval() { var min = Math.floor(Math.random() * 30); var max = min + (Math.floor(Math.random() * 40) + 70); return [min, max]; } function randomStep () { return Mat...
JavaScript
(function($) { var NumberProgressBar = function(element, options) { var settings = $.extend ({ duration: 10000, style: 'basic', min: 0, max: 100, current: 0, shownQuery: '.number-pb-shown', numQuery: '.number-pb-num' }, options || {}); this.duration = settings.du...
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