code
stringlengths
1
2.08M
language
stringclasses
1 value
/** * 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
/* (c) Copyrights 2007 - 2008 Original idea by by Binny V A, http://www.openjs.com/scripts/events/keyboard_shortcuts/ jQuery Plugin by Tzury Bar Yochay tzury.by@gmail.com http://evalinux.wordpress.com http://facebook.com/profile.php?id=513676303 Project's sites: http://code.google.com/p/js-hotkeys/ http://github....
JavaScript
/* Flot plugin for stacking data sets, i.e. putting them on top of each other, for accumulative graphs. The plugin assumes the data is sorted on x (or y if stacking horizontally). For line charts, it is assumed that if a line has an undefined gap (from a null point), then the line above it should have the same gap - i...
JavaScript
/*! Javascript plotting library for jQuery, v. 0.7. * * Released under the MIT license by IOLA, December 2007. * */ // first an inline dependency, jquery.colorhelpers.js, we inline it here // for convenience /* Plugin for jQuery for working with colors. * * Version 1.1. * * Inspiration from jQuery color ani...
JavaScript
/* Flot plugin for showing crosshairs, thin lines, when the mouse hovers over the plot. crosshair: { mode: null or "x" or "y" or "xy" color: color lineWidth: number } Set the mode to one of "x", "y" or "xy". The "x" mode enables a vertical crosshair that lets you trace the values on the x axis, "y" en...
JavaScript
/* Flot plugin for adding panning and zooming capabilities to a plot. The default behaviour is double click and scrollwheel up/down to zoom in, drag to pan. The plugin defines plot.zoom({ center }), plot.zoomOut() and plot.pan(offset) so you easily can add custom controls. It also fires a "plotpan" and "plotzoom" even...
JavaScript
/* Flot plugin that adds some extra symbols for plotting points. The symbols are accessed as strings through the standard symbol choice: series: { points: { symbol: "square" // or "diamond", "triangle", "cross" } } */ (function ($) { function processRawData(plot, series, datapoints) { ...
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
/* Flot plugin for thresholding data. Controlled through the option "threshold" in either the global series options series: { threshold: { below: number color: colorspec } } or in a specific series $.plot($("#placeholder"), [{ data: [ ... ], threshold: { ... }}]) The data points below "bel...
JavaScript
/* Flot plugin for selecting regions. The plugin defines the following options: selection: { mode: null or "x" or "y" or "xy", color: color } Selection support is enabled by setting the mode to one of "x", "y" or "xy". In "x" mode, the user will only be able to specify the x range, similarly for "y" mode...
JavaScript
/* Plugin for jQuery for working with colors. * * Version 1.1. * * Inspiration from jQuery color animation plugin by John Resig. * * Released under the MIT license by Ole Laursen, October 2009. * * Examples: * * $.color.parse("#fff").scale('rgb', 0.25).add('a', -0.5).toString() * var c = $.color.extrac...
JavaScript
/* Flot plugin for computing bottoms for filled line and bar charts. The case: you've got two series that you want to fill the area between. In Flot terms, you need to use one as the fill bottom of the other. You can specify the bottom of each data point as the third coordinate manually, or you can use this plugin to ...
JavaScript
/* Flot plugin for rendering pie charts. The plugin assumes the data is coming is as a single data value for each series, and each of those values is a positive value or zero (negative numbers don't make any sense and will cause strange effects). The data values do NOT need to be passed in as percentage values...
JavaScript
/* Flot plugin for plotting images, e.g. useful for putting ticks on a prerendered complex visualization. The data syntax is [[image, x1, y1, x2, y2], ...] where (x1, y1) and (x2, y2) are where you intend the two opposite corners of the image to end up in the plot. Image must be a fully loaded Javascript image (you ca...
JavaScript
jQuery.fn.extend({ everyTime: function(interval, label, fn, times, belay) { return this.each(function() { jQuery.timer.add(this, interval, label, fn, times, belay); }); }, oneTime: function(interval, label, fn) { return this.each(function() { jQuery.timer.add(this, interval, label, fn, 1); }); }, sto...
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
if (!Array.prototype.indexOf) { Array.prototype.indexOf = function (searchElement /*, fromIndex */ ) { "use strict"; if (this == null) { throw new TypeError(); } var t = Object(this); var len = t.length >>> 0; if (len === 0) { return -...
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 reser...
JavaScript
(function($) { $.fn.transitionGallery = function( options ){ if( (typeof(options)).match('object|undefined') ){ return this.each(function(i){ new transitionGallery(this, options ); }); }else{ return this.each(function(i){ var tg = $(this).data('TransitionGallery'); switch(opti...
JavaScript
(function( $ ) { var radioCheck = /radio|checkbox/i, keyBreaker = /[^\[\]]+/g, numberMatcher = /^[\-+]?[0-9]*\.?[0-9]+([eE][\-+]?[0-9]+)?$/; var isNumber = function( value ) { if ( typeof value == 'number' ) { return true; } if ( typeof value != 'string' ) { return false; } return...
JavaScript
function showGreyScreen(boxDiv){ $('#greyScreen').css({ "display": "block", opacity: 0.6, "width":$(document).width()+20,"height":$(document).height(), "z-index":99998}).show(); $('#'+boxDiv).fadeIn().css({"display": "block", "z-index":99999}); $('body').css({"overflow":"hidden"}); } function hideGreyScree...
JavaScript
$.extend({ getUrlVars: function(){ var vars = [], hash; var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); for(var i = 0; i < hashes.length; i++) { hash = hashes[i].split('='); vars.push(hash[0]); vars[hash[0...
JavaScript
$(document).ready(function() { /* Search */ $('.button-search').bind('click', function() { url = $('base').attr('href') + 'index.php?route=product/search'; var search = $('input[name=\'search\']').attr('value'); if (search) { url += '&search=' + encodeURIComponent(search); } locati...
JavaScript
// ColorBox v1.3.19 - jQuery lightbox plugin // (c) 2011 Jack Moore - jacklmoore.com // License: http://www.opensource.org/licenses/mit-license.php (function ($, document, window) { var // Default settings object. // See http://jacklmoore.com/colorbox for details. defaults = { transitio...
JavaScript
/* * jQuery Nivo Slider v2.7.1 * http://nivo.dev7studios.com * * Copyright 2011, Gilbert Pellegrom * Free to use and abuse under the MIT license. * http://www.opensource.org/licenses/mit-license.php * * March 2010 */ (function($) { var NivoSlider = function(element, options){ //Defaults ...
JavaScript
function addToCartQty(product_id, e) { var input=$(e).parent().find('input[type=text]'); var qty = input.val(); if (!isNaN(qty)) { if(!qty){qty=1;} input.val(1); $.ajax({ url: 'index.php?route=checkout/cart/add', type: 'post', data: 'product_id=' + product_id + '&quantity=' + qty, ...
JavaScript
/* * jQuery.appear * https://github.com/bas2k/jquery.appear/ * http://code.google.com/p/jquery-appear/ * * Copyright (c) 2009 Michael Hixson * Copyright (c) 2012 Alexander Brovikov * Licensed under the MIT license (http://www.opensource.org/licenses/mit-license.php) */ (function($) { $.fn.appear =...
JavaScript
/*************************************************! * * project: liteAccordion - a horizontal accordion plugin for jQuery * author: Nicola Hibbert * url: http://nicolahibbert.com/liteaccordion-v2/ * demo: http://www.nicolahibbert.com/demo/liteAccordion/ * * Version: 2.1.1 * Co...
JavaScript
(function($, window, undefined) { // http://paulirish.com/2011/requestanimationframe-for-smart-animating/ // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating // requestAnimationFrame polyfill by Erik Möller // fixes from Paul Irish and Tino Zijdel var last...
JavaScript
/* Plugin: jQuery Parallax Version 1.1.3 Author: Ian Lunn Twitter: @IanLunn Author URL: http://www.ianlunn.co.uk/ Plugin URL: http://www.ianlunn.co.uk/plugins/jquery-parallax/ Dual licensed under the MIT and GPL licenses: http://www.opensource.org/licenses/mit-license.php http://www.gnu.org/licenses/gpl.html */ (func...
JavaScript
function tz_format_twitter(twitters) { var statusHTML = []; for (var i=0; i<twitters.length; i++){ var username = twitters[i].user.screen_name; var status = twitters[i].text.replace(/((https?|s?ftp|ssh)\:\/\/[^"\s\<\>]*[^.,;'">\:\s\<\>\)\]\!])/g, function(url) { return '<a href="'+url+'">'+url+'...
JavaScript
/*___________________________________________________________________________________________________________________________________________________ _ jquery.mb.components _ _ ...
JavaScript
$(document).ready(function() { /* Search */ $('#search .button-search').bind('click', function() { url = $('base').attr('href') + 'index.php?route=product/search'; var search = $('input[name=\'search\']').attr('value'); if (search) { url += '&search=' + encodeURIComponent(search); } ...
JavaScript
/* * TypeWatch 2.0 - Original by Denny Ferrassoli / Refactored by Charles Christolini * * Examples/Docs: github.com/dennyferra/TypeWatch * * Copyright(c) 2007 Denny Ferrassoli - DennyDotNet.com * Coprright(c) 2008 Charles Christolini - BinaryPie.com * * Dual licensed under the MIT and GPL licenses: * http://www....
JavaScript
$(window).load(function() { $("#loader").delay(500).fadeOut(); $(".mask").delay(1000).fadeOut("slow"); }); $(document).ready(function(){ ////////////////////////////////////////////////////////////////////////////////////////////////////////////// // -----------------------------------...
JavaScript
/** * Tipsy Facebook-style tooltip * Version: 0.1.7 * Project Page: http://onehackoranother.com/projects/jquery/tipsy/ * Requirements: jQuery * Usage Example: http://onehackoranother.com/projects/jquery/tipsy/#examples * * Author: Jason Frame * * License: MIT License * **/ (function...
JavaScript
var AjaxSearchContainerStatus = 0; function loadAjaxSearchContainer(){ if(AjaxSearchContainerStatus==0){ $("#AjaxAutoSuggest").slideDown("slow"); AjaxSearchContainerStatus = 1; } } function disableAjaxSearchContainer(){ if(AjaxSearchContainerStatus==1){ $("#AjaxAutoSuggest").slideUp("slow"); Ajax...
JavaScript
/* Supersized - Fullscreen Slideshow jQuery Plugin Version : 3.2.7 Site : www.buildinternet.com/project/supersized Author : Sam Dunn Company : One Mighty Roar (www.onemightyroar.com) License : MIT License / GPL License */ (function($){ /* Place Supersized Elements -------------------------...
JavaScript
/* highlight v3 Highlights arbitrary terms. <http://johannburkard.de/blog/programming/javascript/highlight-javascript-text-higlighting-jquery-plugin.html> MIT license. Johann Burkard <http://johannburkard.de> <mailto:jb@eaio.com> */ jQuery.fn.highlight = function(pat) { function innerHighlight(node, pat) { va...
JavaScript
/* * jQuery FlexSlider v2.1 * http://www.woothemes.com/flexslider/ * * Copyright 2012 WooThemes * Free to use under the GPLv2 license. * http://www.gnu.org/licenses/gpl-2.0.html * * Contributing author: Tyler Smith (@mbmufffin) */ ;(function ($) { //FlexSlider: Object Instance $.flexslider = function(el,...
JavaScript
/* * jQuery OwlCarousel v1.27 * * Copyright (c) 2013 Bartosz Wojciechowski * http://www.owlgraphic.com/owlcarousel/ * * Licensed under MIT * */ if ( typeof Object.create !== "function" ) { Object.create = function( obj ) { function F() {}; F.prototype = obj; return new F(); }; } (function( $, window, d...
JavaScript
//** jQuery Scroll to Top Control script- (c) Dynamic Drive DHTML code library: http://www.dynamicdrive.com. //** Available/ usage terms at http://www.dynamicdrive.com (March 30th, 09') //** v1.1 (April 7th, 09'): //** 1) Adds ability to scroll to an absolute position (from top of page) or specific element on the pa...
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
/* http://keith-wood.name/countdown.html Traditional Chinese initialisation for the jQuery countdown extension Written by Cloudream (cloudream@gmail.com). */ (function($) { $.countdown.regionalOptions['zh-TW'] = { labels: ['年', '月', '周', '天', '時', '分', '秒'], labels1: ['年', '月', '周', '天', '時', '分', '秒'], c...
JavaScript
/* http://keith-wood.name/countdown.html * Turkish initialisation for the jQuery countdown extension * Written by Bekir Ahmetoğlu (bekir@cerek.com) Aug 2008. */ (function($) { $.countdown.regionalOptions['tr'] = { labels: ['Yıl', 'Ay', 'Hafta', 'Gün', 'Saat', 'Dakika', 'Saniye'], labels1: ['Yıl', 'Ay', 'Haf...
JavaScript
/* http://keith-wood.name/countdown.html * Hungarian initialisation for the jQuery countdown extension * Written by Edmond L. (webmond@gmail.com). */ (function($) { $.countdown.regionalOptions['hu'] = { labels: ['Év', 'Hónap', 'Hét', 'Nap', 'Óra', 'Perc', 'Másodperc'], labels1: ['Év', 'Hónap', 'Hét', 'Nap...
JavaScript
/* Simple JavaScript Inheritance * By John Resig http://ejohn.org/ * MIT Licensed. */ // Inspired by base2 and Prototype (function(){ var initializing = false; // The base JQClass implementation (does nothing) window.JQClass = function(){}; // Collection of derived classes JQClass.classes = {}; ...
JavaScript
/* http://keith-wood.name/countdown.html * Malayalam/(Indian>>Kerala) initialisation for the jQuery countdown extension * Written by Harilal.B (harilal1234@gmail.com) Feb 2013. */ (function($) { $.countdown.regionalOptions['ml'] = { labels: ['വര്‍ഷങ്ങള്‍', 'മാസങ്ങള്‍', 'ആഴ്ചകള്‍', 'ദിവസങ്ങള്‍', 'മണി...
JavaScript
/* http://keith-wood.name/countdown.html French initialisation for the jQuery countdown extension Written by Keith Wood (kbwood{at}iinet.com.au) Jan 2008. */ (function($) { $.countdown.regionalOptions['fr'] = { labels: ['Années', 'Mois', 'Semaines', 'Jours', 'Heures', 'Minutes', 'Secondes'], labels1: ...
JavaScript
/* http://keith-wood.name/countdown.html German initialisation for the jQuery countdown extension Written by Samuel Wulf. */ (function($) { $.countdown.regionalOptions['de'] = { labels: ['Jahre', 'Monate', 'Wochen', 'Tage', 'Stunden', 'Minuten', 'Sekunden'], labels1: ['Jahr', 'Monat', 'Woche', 'Tag', ...
JavaScript
/* http://keith-wood.name/countdown.html * Slovak initialisation for the jQuery countdown extension * Written by Roman Chlebec (creamd@c64.sk) (2008) */ (function($) { $.countdown.regionalOptions['sk'] = { labels: ['Rokov', 'Mesiacov', 'Týždňov', 'Dní', 'Hodín', 'Minút', 'Sekúnd'], labels1: ['Rok', 'Mesiac', 'T...
JavaScript
/* http://keith-wood.name/countdown.html * Bulgarian initialisation for the jQuery countdown extension * Written by Manol Trendafilov manol@rastermania.com (2010) */ (function($) { $.countdown.regionalOptions['bg'] = { labels: ['Години', 'Месеца', 'Седмица', 'Дни', 'Часа', 'Минути', 'Секунди'], labels1: ['Годин...
JavaScript
/* http://keith-wood.name/countdown.html Greek initialisation for the jQuery countdown extension Written by Philip. */ (function($) { $.countdown.regionalOptions['el'] = { labels: ['Χρόνια', 'Μήνες', 'Εβδομάδες', 'Μέρες', 'Ώρες', 'Λεπτά', 'Δευτερόλεπτα'], labels1: ['Χρόνος', 'Μήνας', 'Εβδομάδα', 'Ημέρ...
JavaScript
/* http://keith-wood.name/countdown.html * Hebrew initialisation for the jQuery countdown extension * Translated by Nir Livne, Dec 2008 */ (function($) { $.countdown.regionalOptions['he'] = { labels: ['שנים', 'חודשים', 'שבועות', 'ימים', 'שעות', 'דקות', 'שניות'], labels1: ['שנה', 'חודש', 'שבוע', 'יום', 'שע...
JavaScript
/* http://keith-wood.name/countdown.html * Serbian Cyrillic initialisation for the jQuery countdown extension * Written by Predrag Leka lp@lemurcake.com (2010) */ (function($) { $.countdown.regionalOptions['sr'] = { labels: ['Година', 'Месеци', 'Недеља', 'Дана', 'Часова', 'Минута', 'Секунди'], labels1: ['Година...
JavaScript
/* http://keith-wood.name/countdown.html Finnish initialisation for the jQuery countdown extension Written by Kalle Vänskä and Juha Suni (juhis.suni@gmail.com). Corrected by Olli. */ (function($) { $.countdown.regionalOptions['fi'] = { labels: ['vuotta', 'kuukautta', 'viikkoa', 'päivää', 'tuntia', 'minuu...
JavaScript
/* http://keith-wood.name/countdown.html * Bosnian Latin initialisation for the jQuery countdown extension * Written by Miralem Mehic miralem@mehic.info (2011) */ (function($) { $.countdown.regionalOptions['bs'] = { labels: ['Godina', 'Mjeseci', 'Sedmica', 'Dana', 'Sati', 'Minuta', 'Sekundi'], labels1: ['G...
JavaScript
/* http://keith-wood.name/countdown.html * Romanian initialisation for the jQuery countdown extension * Written by Edmond L. (webmond@gmail.com). */ (function($) { $.countdown.regionalOptions['ro'] = { labels: ['Ani', 'Luni', 'Saptamani', 'Zile', 'Ore', 'Minute', 'Secunde'], labels1: ['An', 'Luna', 'Sapta...
JavaScript
/* http://keith-wood.name/countdown.html * Uzbek initialisation for the jQuery countdown extension * Written by Alisher U. (ulugbekov{at}gmail.com) August 2012. */ (function($) { $.countdown.regionalOptions['uz'] = { labels: ['Yil', 'Oy', 'Hafta', 'Kun', 'Soat', 'Daqiqa', 'Soniya'], labels1: ['Yil', 'Oy', 'Haft...
JavaScript
/* http://keith-wood.name/countdown.html Danish initialisation for the jQuery countdown extension Written by Buch (admin@buch90.dk). */ (function($) { $.countdown.regionalOptions['da'] = { labels: ['År', 'Måneder', 'Uger', 'Dage', 'Timer', 'Minutter', 'Sekunder'], labels1: ['År', 'Månad', 'Uge', 'Dag'...
JavaScript
/* http://keith-wood.name/countdown.html * Russian initialisation for the jQuery countdown extension * Written by Sergey K. (xslade{at}gmail.com) June 2010. */ (function($) { $.countdown.regionalOptions['ru'] = { labels: ['Лет', 'Месяцев', 'Недель', 'Дней', 'Часов', 'Минут', 'Секунд'], labels1: ['Год...
JavaScript
/* http://keith-wood.name/countdown.html * Slovenian localisation for the jQuery countdown extension * Written by Borut Tomažin (debijan{at}gmail.com) (2011) */ (function($) { $.countdown.regionalOptions['sl'] = { labels: ['Let', 'Mesecev', 'Tednov', 'Dni', 'Ur', 'Minut', 'Sekund'], labels1: ['Leto', 'Mesec', '...
JavaScript
/* http://keith-wood.name/countdown.html Estonian initialisation for the jQuery countdown extension Written by Helmer <helmer{at}city.ee> */ (function($) { $.countdown.regionalOptions['et'] = { labels: ['Aastat', 'Kuud', 'Nädalat', 'Päeva', 'Tundi', 'Minutit', 'Sekundit'], labels1: ['Aas...
JavaScript
/* http://keith-wood.name/countdown.html * Galician initialisation for the jQuery countdown extension * Written by Moncho Pena ramon.pena.rodriguez@gmail.com (2009) and Angel Farrapeira */ (function($) { $.countdown.regionalOptions['gl'] = { labels: ['Anos', 'Meses', 'Semanas', 'Días', 'Horas', 'Minutos', 'Segund...
JavaScript
/* http://keith-wood.name/countdown.html Arabic (عربي) initialisation for the jQuery countdown extension Translated by Talal Al Asmari (talal@psdgroups.com), April 2009. */ (function($) { $.countdown.regionalOptions['ar'] = { labels: ['سنوات','أشهر','أسابيع','أيام','ساعات','دقائق','ثواني'], labels1: [...
JavaScript
/* http://keith-wood.name/countdown.html * Kannada initialization for the jQuery countdown extension * Written by Guru Chaturvedi guru@gangarasa.com (2011) */ (function($) { $.countdown.regionalOptions['kn'] = { labels: ['ವರ್ಷಗಳು', 'ತಿಂಗಳು', 'ವಾರಗಳು', 'ದಿನಗಳು', 'ಘಂಟೆಗಳು', 'ನಿಮಿಷಗಳು', 'ಕ್ಷಣಗಳು'], labels1: ['ವರ್ಷ...
JavaScript
/* http://keith-wood.name/countdown.html Simplified Chinese initialisation for the jQuery countdown extension Written by Cloudream (cloudream@gmail.com). */ (function($) { $.countdown.regionalOptions['zh-CN'] = { labels: ['年', '月', '周', '天', '时', '分', '秒'], labels1: ['年', '月', '周', '天', '时', '分', '秒'], co...
JavaScript
/* http://keith-wood.name/countdown.html * Spanish initialisation for the jQuery countdown extension * Written by Sergio Carracedo Martinez webmaster@neodisenoweb.com (2008) */ (function($) { $.countdown.regionalOptions['es'] = { labels: ['Años', 'Meses', 'Semanas', 'Días', 'Horas', 'Minutos', 'Segundos'], ...
JavaScript
/* http://keith-wood.name/countdown.html Dutch initialisation for the jQuery countdown extension Written by Mathias Bynens <http://mathiasbynens.be/> Mar 2008. */ (function($) { $.countdown.regionalOptions['nl'] = { labels: ['Jaren', 'Maanden', 'Weken', 'Dagen', 'Uren', 'Minuten', 'Seconden'], labels1:...
JavaScript
/* http://keith-wood.name/countdown.html * Serbian Latin initialisation for the jQuery countdown extension * Written by Predrag Leka lp@lemurcake.com (2010) */ (function($) { $.countdown.regionalOptions['sr-SR'] = { labels: ['Godina', 'Meseci', 'Nedelja', 'Dana', 'Časova', 'Minuta', 'Sekundi'], labels1: ['Godin...
JavaScript
/* http://keith-wood.name/countdown.html * Croatian Latin initialisation for the jQuery countdown extension * Written by Dejan Broz info@hqfactory.com (2011) */ (function($) { $.countdown.regionalOptions['hr'] = { labels: ['Godina', 'Mjeseci', 'Tjedana', 'Dana', 'Sati', 'Minuta', 'Sekundi'], labels1: ['God...
JavaScript
/* http://keith-wood.name/countdown.html * Vietnamese initialisation for the jQuery countdown extension * Written by Pham Tien Hung phamtienhung@gmail.com (2010) */ (function($) { $.countdown.regionalOptions['vi'] = { labels: ['Năm', 'Tháng', 'Tuần', 'Ngày', 'Giờ', 'Phút', 'Giây'], labels1: ['Năm', 'Tháng'...
JavaScript
/* http://keith-wood.name/countdown.html * Latvian initialisation for the jQuery countdown extension * Written by Jānis Peisenieks janis.peisenieks@gmail.com (2010) */ (function($) { $.countdown.regionalOptions['lv'] = { labels: ['Gadi', 'Mēneši', 'Nedēļas', 'Dienas', 'Stundas', 'Minūtes', 'Sekundes'], lab...
JavaScript
/* http://keith-wood.name/countdown.html * Lithuanian localisation for the jQuery countdown extension * Written by Moacir P. de Sá Pereira (moacir{at}gmail.com) (2009) */ (function($) { $.countdown.regionalOptions['lt'] = { labels: ['Metų', 'Mėnesių', 'Savaičių', 'Dienų', 'Valandų', 'Minučių', 'Sekundžių'], lab...
JavaScript
/* http://keith-wood.name/countdown.html Norwegian Bokmål translation Written by Kristian Ravnevand */ (function($) { $.countdown.regionalOptions['nb'] = { labels: ['År', 'Måneder', 'Uker', 'Dager', 'Timer', 'Minutter', 'Sekunder'], labels1: ['År', 'Måned', 'Uke', 'Dag', 'Time', 'Minutt', 'Sekund'], ...
JavaScript
/* http://keith-wood.name/countdown.html Indonesian initialisation for the jQuery countdown extension Written by Erwin Yonathan Jan 2009. */ (function($) { $.countdown.regionalOptions['id'] = { labels: ['tahun', 'bulan', 'minggu', 'hari', 'jam', 'menit', 'detik'], labels1: ['tahun', 'bulan', 'minggu', ...
JavaScript
/* http://keith-wood.name/countdown.html Japanese initialisation for the jQuery countdown extension Written by Ken Ishimoto (ken@ksroom.com) Aug 2009. */ (function($) { $.countdown.regionalOptions['ja'] = { labels: ['年', '月', '週', '日', '時', '分', '秒'], labels1: ['年', '月', '週', '日', '時', '分', '秒'], c...
JavaScript
/* http://keith-wood.name/countdown.html Countdown for jQuery v2.0.0. Written by Keith Wood (kbwood{at}iinet.com.au) January 2008. Available under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license. Please attribute the author if you use it. */ (function($) { // Hide scope, no ...
JavaScript
/* http://keith-wood.name/countdown.html Korean initialisation for the jQuery countdown extension Written by Ryan Yu (ryanyu79@gmail.com). */ (function($) { $.countdown.regionalOptions['ko'] = { labels: ['년', '월', '주', '일', '시', '분', '초'], labels1: ['년', '월', '주', '일', '시', '분', '초'], compactLabels: ['년',...
JavaScript
/* http://keith-wood.name/countdown.html Malay initialisation for the jQuery countdown extension Written by Jason Ong (jason{at}portalgroove.com) May 2010. */ (function($) { $.countdown.regionalOptions['ms'] = { labels: ['Tahun', 'Bulan', 'Minggu', 'Hari', 'Jam', 'Minit', 'Saat'], labels1: ['Tahun', 'B...
JavaScript
/* http://keith-wood.name/countdown.html Thai initialisation for the jQuery countdown extension Written by Pornchai Sakulsrimontri (li_sin_th@yahoo.com). */ (function($) { $.countdown.regionalOptions['th'] = { labels: ['ปี', 'เดือน', 'สัปดาห์', 'วัน', 'ชั่วโมง', 'นาที', 'วินาที'], labels1: ['ปี', 'เดือน', '...
JavaScript
/* http://keith-wood.name/countdown.html Albanian initialisation for the jQuery countdown extension Written by Erzen Komoni. */ (function($) { $.countdown.regionalOptions['sq'] = { labels: ['Vite', 'Muaj', 'Javë', 'Ditë', 'Orë', 'Minuta', 'Sekonda'], labels1: ['Vit', 'Muaj', 'Javë', 'Di...
JavaScript
/* http://keith-wood.name/countdown.html * Polish initialisation for the jQuery countdown extension * Written by Pawel Lewtak lewtak@gmail.com (2008) */ (function($) { $.countdown.regionalOptions['pl'] = { labels: ['lat', 'miesięcy', 'tygodni', 'dni', 'godzin', 'minut', 'sekund'], labels1: ['rok', 'miesią...
JavaScript
/* http://keith-wood.name/countdown.html * Italian initialisation for the jQuery countdown extension * Written by Davide Bellettini (davide.bellettini@gmail.com) and Roberto Chiaveri Feb 2008. */ (function($) { $.countdown.regionalOptions['it'] = { labels: ['Anni', 'Mesi', 'Settimane', 'Giorni', 'Ore', 'Minuti', '...
JavaScript
/* http://keith-wood.name/countdown.html * Gujarati initialization for the jQuery countdown extension * Written by Sahil Jariwala jariwala.sahil@gmail.com (2012) */ (function($) { $.countdown.regionalOptions['gu'] = { labels: ['વર્ષ', 'મહિનો', 'અઠવાડિયા', 'દિવસ', 'કલાક', 'મિનિટ','સેકન્ડ'], labels1: ['વર્ષ...
JavaScript
/* http://keith-wood.name/countdown.html Swedish initialisation for the jQuery countdown extension Written by Carl (carl@nordenfelt.com). */ (function($) { $.countdown.regionalOptions['sv'] = { labels: ['År', 'Månader', 'Veckor', 'Dagar', 'Timmar', 'Minuter', 'Sekunder'], labels1: ['År', 'Månad', 'Vec...
JavaScript
/* http://keith-wood.name/countdown.html * Ukrainian initialisation for the jQuery countdown extension * Written by Goloborodko M misha.gm@gmail.com (2009), corrections by Iгор Kоновал */ (function($) { $.countdown.regionalOptions['uk'] = { labels: ['Років', 'Місяців', 'Тижнів', 'Днів', 'Годин', 'Хвилин', 'С...
JavaScript
/* http://keith-wood.name/countdown.html * Czech initialisation for the jQuery countdown extension * Written by Roman Chlebec (creamd@c64.sk) (2008) */ (function($) { $.countdown.regionalOptions['cs'] = { labels: ['Roků', 'Měsíců', 'Týdnů', 'Dní', 'Hodin', 'Minut', 'Sekund'], labels1: ['Rok', 'Měsíc', 'Týden', '...
JavaScript
/* http://keith-wood.name/countdown.html Burmese initialisation for the jQuery countdown extension Written by Win Lwin Moe (winnlwinmoe@gmail.com) Dec 2009. */ (function($) { $.countdown.regionalOptions['my'] = { labels: ['နွစ္', 'လ', 'ရက္သတဿတပတ္', 'ရက္', 'နာရီ', 'မိနစ္', 'စကဿကန့္'], labels1: ['နွစ္',...
JavaScript
/* http://keith-wood.name/countdown.html * Armenian initialisation for the jQuery countdown extension * Written by Artur Martirosyan. (artur{at}zoom.am) October 2011. */ (function($) { $.countdown.regionalOptions['hy'] = { labels: ['Տարի', 'Ամիս', 'Շաբաթ', 'Օր', 'Ժամ', 'Րոպե', 'Վարկյան'], labels1: ['Տարի', ...
JavaScript
/* http://keith-wood.name/countdown.html Urdu (اردو) initialisation for the jQuery countdown extension Translated by Azhar Rasheed (azhar.rasheed19@gmail.com), November 2013. */ (function($) { $.countdown.regionalOptions['ur'] = { labels: ['سال','مہينے','ہفتے','دن','گھنٹے','منٹس','سيکنڑز'], labels1: [...
JavaScript
/* http://keith-wood.name/countdown.html Persian (فارسی) initialisation for the jQuery countdown extension Written by Alireza Ziaie (ziai@magfa.com) Oct 2008. Digits corrected by Hamed Ramezanian Feb 2013. */ (function($) { $.countdown.regionalOptions['fa'] = { labels: ['‌سال', 'ماه', 'هفته', 'روز', ...
JavaScript
/* http://keith-wood.name/countdown.html Catalan initialisation for the jQuery countdown extension Written by Amanida Media www.amanidamedia.com (2010) */ (function($) { $.countdown.regionalOptions['ca'] = { labels: ['Anys', 'Mesos', 'Setmanes', 'Dies', 'Hores', 'Minuts', 'Segons'], labels1: ['Anys', ...
JavaScript
$(document).ready(function() { /* Search */ $('.button-search').bind('click', function() { url = $('base').attr('href') + 'index.php?route=product/search'; var search = $('input[name=\'search\']').attr('value'); if (search) { url += '&search=' + encodeURIComponent(search); } locati...
JavaScript
// ColorBox v1.3.19 - jQuery lightbox plugin // (c) 2011 Jack Moore - jacklmoore.com // License: http://www.opensource.org/licenses/mit-license.php (function ($, document, window) { var // Default settings object. // See http://jacklmoore.com/colorbox for details. defaults = { transitio...
JavaScript
/* * jQuery Nivo Slider v2.7.1 * http://nivo.dev7studios.com * * Copyright 2011, Gilbert Pellegrom * Free to use and abuse under the MIT license. * http://www.opensource.org/licenses/mit-license.php * * March 2010 */ (function($) { var NivoSlider = function(element, options){ //Defaults ...
JavaScript
// ColorBox v1.3.19 - jQuery lightbox plugin // (c) 2011 Jack Moore - jacklmoore.com // License: http://www.opensource.org/licenses/mit-license.php (function ($, document, window) { var // Default settings object. // See http://jacklmoore.com/colorbox for details. defaults = { transitio...
JavaScript
/* Flot plugin for stacking data sets, i.e. putting them on top of each other, for accumulative graphs. The plugin assumes the data is sorted on x (or y if stacking horizontally). For line charts, it is assumed that if a line has an undefined gap (from a null point), then the line above it should have the same gap - i...
JavaScript
/*! Javascript plotting library for jQuery, v. 0.7. * * Released under the MIT license by IOLA, December 2007. * */ // first an inline dependency, jquery.colorhelpers.js, we inline it here // for convenience /* Plugin for jQuery for working with colors. * * Version 1.1. * * Inspiration from jQuery color ani...
JavaScript
/* Flot plugin for showing crosshairs, thin lines, when the mouse hovers over the plot. crosshair: { mode: null or "x" or "y" or "xy" color: color lineWidth: number } Set the mode to one of "x", "y" or "xy". The "x" mode enables a vertical crosshair that lets you trace the values on the x axis, "y" en...
JavaScript