code
stringlengths
1
2.08M
language
stringclasses
1 value
/* * dialog_events.js */ (function($) { module("dialog: events"); test("open", function() { expect(6); el = $("<div></div>"); el.dialog({ open: function(ev, ui) { ok(true, 'autoOpen: true fires open callback'); equals(this, el[0], "context of callback"); } }); el.remove(); el = ...
JavaScript
/* * dialog_methods.js */ (function($) { module("dialog: methods"); test("init", function() { expect(7); $("<div></div>").appendTo('body').dialog().remove(); ok(true, '.dialog() called on element'); $([]).dialog().remove(); ok(true, '.dialog() called on empty collection'); $('<div></div>')....
JavaScript
/* * dialog_core.js */ var el, offsetBefore, offsetAfter, heightBefore, heightAfter, widthBefore, widthAfter, dragged; function dlg() { return el.data("dialog").element.parents(".ui-dialog:first"); } function isOpen(why) { ok(dlg().is(":visible"), why); } function isNotOpen(why) { ok(!dl...
JavaScript
/* * dialog_tickets.js */ (function($) { module("dialog: tickets"); })(jQuery);
JavaScript
/* * dialog_options.js */ (function($) { module("dialog: options"); test("autoOpen", function() { expect(2); el = $('<div></div>').dialog({ autoOpen: false }); isNotOpen('.dialog({ autoOpen: false })'); el.remove(); el = $('<div></div>').dialog({ autoOpen: true }); isOpen('.dialog({ autoOpe...
JavaScript
/* * selector unit tests */ (function($) { module("selectors"); function isFocusable(selector, msg) { ok($(selector).is(':focusable'), msg); } function isNotFocusable(selector, msg) { ok($(selector).length && !$(selector).is(':focusable'), msg); } function isTabbable(selector, msg) { ok($(selec...
JavaScript
/* * core unit tests */ (function($) { module('jQuery extensions'); test("attr - aria", function() { expect(6); var el = $('#aria'); ok(!el.attr('role'), 'role is empty via attr'); equals(el.attr('role', 'tablist').attr('role'), 'tablist', 'role is tablist'); equals(el.attr('aria-expanded'), ...
JavaScript
/* * slider_options.js */ (function($) { function handle() { return el.find(".ui-slider-handle"); } module("slider: options"); test("animate", function() { ok(false, "missing test - untested code is broken code."); }); test("max", function() { el = $('<div></div>'); options = { max: 37,...
JavaScript
/* * slider_methods.js */ (function($) { module("slider: methods"); test("init", function() { expect(6); $("<div></div>").appendTo('body').slider().remove(); ok(true, '.slider() called on element'); $([]).slider().remove(); ok(true, '.slider() called on empty collection'); $('<div></div>')....
JavaScript
/* * slider unit tests */ (function($) { // // Slider Test Helper Functions // var el, options; function handle() { return el.find(".ui-slider-handle"); } // Slider Tests module("slider: core"); test("keydown HOME on handle sets value to min", function() { el = $('<div></div>'); options = { ...
JavaScript
/* * slider_tickets.js */ (function($) { module("slider: tickets"); })(jQuery);
JavaScript
/* * slider_events.js */ (function($) { module("slider: events"); test("start", function() { ok(false, "missing test - untested code is broken code."); }); test("slide", function() { ok(false, "missing test - untested code is broken code."); }); test("change", function() { ok(false, "missing te...
JavaScript
/* * slider_defaults.js */ var slider_defaults = { animate: false, delay: 0, disabled: false, distance: 0, max: 100, min: 0, orientation: 'horizontal', range: false, step: 1, value: 0, values: null }; commonWidgetTests('slider', { defaults: slider_defaults });
JavaScript
/* * selectable_defaults.js */ var selectable_defaults = { appendTo: 'body', autoRefresh: true, cancel: ':input,option', delay: 0, disabled: false, distance: 0, filter: '*', tolerance: 'touch' }; commonWidgetTests('selectable', { defaults: selectable_defaults });
JavaScript
/* * selectable_options.js */ (function($) { module("selectable: options"); test("autoRefresh", function() { expect(3); el = $("#selectable1"); var actual, sel = $("*", el), selected = function() { actual += 1 }; actual = 0; el = $("#selectable1").selectable({ autoRefresh: false, selected: select...
JavaScript
/* * selectable_tickets.js */ (function($) { module("selectable: tickets"); })(jQuery);
JavaScript
/* * selectable_events.js */ (function($) { module("selectable: events"); test("start", function() { expect(2); el = $("#selectable1"); el.selectable({ start: function(ev, ui) { ok(true, "drag fired start callback"); equals(this, el[0], "context of callback"); } }); el.simulate("drag"...
JavaScript
/* * selectable_core.js */ var el; var drag = function(dx, dy) { var off = el.offset(), pos = { clientX: off.left, clientY: off.top }; el.simulate("mousedown", pos); $(document).simulate("mousemove", pos); pos.clientX += dx; pos.clientY += dy; $(document).simulate("mousemove", pos); $(document)....
JavaScript
/* * selectable_methods.js */ (function($) { module("selectable: methods"); test("init", function() { expect(6); $("<div></div>").appendTo('body').selectable().remove(); ok(true, '.selectable() called on element'); $([]).selectable().remove(); ok(true, '.selectable() called on empty collection'...
JavaScript
/* * accordion_tickets.js */ (function($) { module("accordion: tickets"); })(jQuery);
JavaScript
/* * accordion_defaults.js */ var accordion_defaults = { active: null, animated: false, autoHeight: true, clearStyle: false, collapsible: false, disabled: false, event: "click", fillSpace: false, header: "> li > :first-child,> :not(li):even", icons: { "header": "ui-icon-triangle-1-e", "header...
JavaScript
/* * accordion_events.js */ (function($) { module("accordion: events"); test("accordionchange event, open closed and close again", function() { expect(8); $("#list1").accordion({ active: false, collapsible: true }) .one("accordionchange", function(event, ui) { equals( ui.oldHeader.size(), 0 ...
JavaScript
/* * accordion_methods.js */ (function($) { module("accordion: methods"); test("init", function() { ok(false, 'missing test - untested code is broken code'); }); test("destroy", function() { ok(false, 'missing test - untested code is broken code'); }); test("enable", function() { ok(false, 'mis...
JavaScript
/* * accordion_core.js */ jQuery.ui.accordion.defaults.animated = false; function state(accordion) { var args = $.makeArray(arguments).slice(1); $.each(args, function(i, n) { equals(accordion.find(".ui-accordion-content").eq(i).is(":visible"), n); }); } function state2(accordion) { var args = $...
JavaScript
/* * accordion_options.js */ (function($) { module("accordion: options"); test("{ active: first child }, default", function() { ok(false, 'missing test - untested code is broken code'); }); test("{ active: Selector }", function() { ok(false, 'missing test - untested code is broken code'); }); tes...
JavaScript
/* tests.js */ $(function() { var matrix = $("#matrix"); matrix.children("tbody").children("tr").each(function() { var tr = $(this), th = tr.find("th"), pluginName = th.text().toLowerCase(), staticTd = th.next(), visualTd = staticTd.next(), staticHtmlTd = visualTd.next(), visualHtmlTd = staticHtmlTd....
JavaScript
/* static_helpers.js */ $(function(){ //add hover states on the static widgets $('.ui-state-default:not(.ui-state-disabled, .ui-slider-range, .ui-progressbar-value), a.ui-datepicker-next, a.ui-datepicker-prev, .ui-dialog-titlebar-close').hover( function(){ $(this).addClass('ui-state-hover'); }, function()...
JavaScript
$(function() { $("div.effect") .hover(function() { $(this).addClass("hover"); }, function() { $(this).removeClass("hover"); }); var effect = function(el, n, o) { $.extend(o, { easing: "easeOutQuint" }); $(el).bind("click", function() { $(this).addClass("current").hide(n, o, 1000,...
JavaScript
/* * jQuery UI Effects Pulsate 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/Pulsate * * Depends: * effects.core.js */ (function($) { $.effects.pul...
JavaScript
/* * jQuery UI Effects Explode 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/Explode * * Depends: * effects.core.js */ (function($) { $.effects.exp...
JavaScript
/* * jQuery UI Selectable 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Selectables * * Depends: * ui.core.js */ (function($) { $.widget("ui.selectable", $...
JavaScript
/* * jQuery UI Effects Fold 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/Fold * * Depends: * effects.core.js */ (function($) { $.effects.fold = fu...
JavaScript
/* * jQuery UI Progressbar 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Progressbar * * Depends: * ui.core.js */ (function($) { $.widget("ui.progressbar...
JavaScript
/* * jQuery UI Droppable 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Droppables * * Depends: * ui.core.js * ui.draggable.js */ (function($) { $.widget(...
JavaScript
/* * jQuery UI Effects Bounce 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/Bounce * * Depends: * effects.core.js */ (function($) { $.effects.bounc...
JavaScript
/* * jQuery UI Effects Drop 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/Drop * * Depends: * effects.core.js */ (function($) { $.effects.drop = fu...
JavaScript
/* * jQuery UI Effects 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/ */ ;jQuery.effects || (function($) { $.effects = { version: "1.7.3", // Saves...
JavaScript
/* * jQuery UI Effects Clip 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/Clip * * Depends: * effects.core.js */ (function($) { $.effects.clip = fu...
JavaScript
/* * jQuery UI Slider 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Slider * * Depends: * ui.core.js */ (function($) { $.widget("ui.slider", $.extend({},...
JavaScript
/* * jQuery UI Effects Transfer 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/Transfer * * Depends: * effects.core.js */ (function($) { $.effects.t...
JavaScript
/* * jQuery UI 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI */ ;jQuery.ui || (function($) { var _remove = $.fn.remove, isFF2 = $.browser.mozilla && (parseFloa...
JavaScript
/* * jQuery UI Effects Scale 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/Scale * * Depends: * effects.core.js */ (function($) { $.effects.puff = ...
JavaScript
/* * jQuery UI Datepicker 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Datepicker * * Depends: * ui.core.js */ (function($) { // hide the namespace $.ex...
JavaScript
/* * jQuery UI Effects Slide 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/Slide * * Depends: * effects.core.js */ (function($) { $.effects.slide =...
JavaScript
/* * jQuery UI Sortable 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Sortables * * Depends: * ui.core.js */ (function($) { $.widget("ui.sortable", $.exten...
JavaScript
/* * jQuery UI Draggable 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Draggables * * Depends: * ui.core.js */ (function($) { $.widget("ui.draggable", $.ex...
JavaScript
/* * jQuery UI Effects Shake 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/Shake * * Depends: * effects.core.js */ (function($) { $.effects.shake =...
JavaScript
/* * jQuery UI Effects Highlight 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/Highlight * * Depends: * effects.core.js */ (function($) { $.effects...
JavaScript
/* * jQuery UI Dialog 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Dialog * * Depends: * ui.core.js * ui.draggable.js * ui.resizable.js */ (function($) {...
JavaScript
/* * jQuery UI Accordion 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Accordion * * Depends: * ui.core.js */ (function($) { $.widget("ui.accordion", { ...
JavaScript
/* * jQuery UI Tabs 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Tabs * * Depends: * ui.core.js */ (function($) { var tabId = 0, listId = 0; $.widget...
JavaScript
/* * jQuery UI Effects Blind 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Effects/Blind * * Depends: * effects.core.js */ (function($) { $.effects.blind =...
JavaScript
/* * jQuery UI Resizable 1.7.3 * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI/Resizables * * Depends: * ui.core.js */ (function($) { $.widget("ui.resizable", $.ex...
JavaScript
/* Indonesian initialisation for the jQuery UI date picker plugin. */ /* Written by Deden Fathurahman (dedenf@gmail.com). */ jQuery(function($){ $.datepicker.regional['id'] = { closeText: 'Tutup', prevText: '&#x3c;mundur', nextText: 'maju&#x3e;', currentText: 'hari ini', monthNames: ['Januari','Febru...
JavaScript
/* Serbian i18n for the jQuery UI date picker plugin. */ /* Written by Dejan Dimić. */ jQuery(function($){ $.datepicker.regional['sr-SR'] = { closeText: 'Zatvori', prevText: '&#x3c;', nextText: '&#x3e;', currentText: 'Danas', monthNames: ['Januar','Februar','Mart','April','Maj','Jun', 'Jul','Avgu...
JavaScript
/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* @author Arturas Paleicikas <arturas@avalon.lt> */ jQuery(function($){ $.datepicker.regional['lt'] = { closeText: 'Uždaryti', prevText: '&#x3c;Atgal', nextText: 'Pirmyn&#x3e;', currentText: 'Šiandien', monthNames: ['Sausi...
JavaScript
/* Bulgarian initialisation for the jQuery UI date picker plugin. */ /* Written by Stoyan Kyosev (http://svest.org). */ jQuery(function($){ $.datepicker.regional['bg'] = { closeText: 'затвори', prevText: '&#x3c;назад', nextText: 'напред&#x3e;', nextBigText: '&#x3e;&#x3e;', ...
JavaScript
/* Turkish initialisation for the jQuery UI date picker plugin. */ /* Written by Izzet Emre Erkan (kara@karalamalar.net). */ jQuery(function($){ $.datepicker.regional['tr'] = { closeText: 'kapat', prevText: '&#x3c;geri', nextText: 'ileri&#x3e', currentText: 'bugün', monthNames: ['Ocak','Şubat','Mart'...
JavaScript
/* Hebrew initialisation for the UI Datepicker extension. */ /* Written by Amir Hardon (ahardon at gmail dot com). */ jQuery(function($){ $.datepicker.regional['he'] = { closeText: 'סגור', prevText: '&#x3c;הקודם', nextText: 'הבא&#x3e;', currentText: 'היום', monthNames: ['ינואר','פברואר','מרץ','אפריל...
JavaScript
/* Korean initialisation for the jQuery calendar extension. */ /* Written by DaeKwon Kang (ncrash.dk@gmail.com). */ jQuery(function($){ $.datepicker.regional['ko'] = { closeText: '닫기', prevText: '이전달', nextText: '다음달', currentText: '오늘', monthNames: ['1월(JAN)','2월(FEB)','3월(MAR)','4월(APR)','5월(MAY)',...
JavaScript
/* Chinese initialisation for the jQuery UI date picker plugin. */ /* Written by Cloudream (cloudream@gmail.com). */ jQuery(function($){ $.datepicker.regional['zh-CN'] = { closeText: '关闭', prevText: '&#x3c;上月', nextText: '下月&#x3e;', currentText: '今天', monthNames: ['一月','二月','三月','四月','五月','六月', '七...
JavaScript
/* Hungarian initialisation for the jQuery UI date picker plugin. */ /* Written by Istvan Karaszi (jquerycalendar@spam.raszi.hu). */ jQuery(function($){ $.datepicker.regional['hu'] = { closeText: 'bezárás', prevText: '&laquo;&nbsp;vissza', nextText: 'előre&nbsp;&raquo;', currentText: 'ma', monthNames...
JavaScript
/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */ jQuery(function($){ $.datepicker.regional['lv'] = { closeText: 'Aizvērt', prevText: 'Iepr', nextText: 'Nāka', currentText: 'Šodien', monthNames: ['Janvāris','F...
JavaScript
/* Croatian i18n for the jQuery UI date picker plugin. */ /* Written by Vjekoslav Nesek. */ jQuery(function($){ $.datepicker.regional['hr'] = { closeText: 'Zatvori', prevText: '&#x3c;', nextText: '&#x3e;', currentText: 'Danas', monthNames: ['Siječanj','Veljača','Ožujak','Travanj','Svibanj','Lipani',...
JavaScript
/* Polish initialisation for the jQuery UI date picker plugin. */ /* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */ jQuery(function($){ $.datepicker.regional['pl'] = { closeText: 'Zamknij', prevText: '&#x3c;Poprzedni', nextText: 'Następny&#x3e;', currentText: 'Dziś', monthNames: ['Styczeń','L...
JavaScript
/* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Andrew Stromnov (stromnov@gmail.com). */ jQuery(function($){ $.datepicker.regional['ru'] = { closeText: 'Закрыть', prevText: '&#x3c;Пред', nextText: 'След&#x3e;', currentText: 'Сегодня', monthNames: ['Январь','Фе...
JavaScript
/* Czech initialisation for the jQuery UI date picker plugin. */ /* Written by Tomas Muller (tomas@tomas-muller.net). */ jQuery(function($){ $.datepicker.regional['cs'] = { closeText: 'Zavřít', prevText: '&#x3c;Dříve', nextText: 'Později&#x3e;', currentText: 'Nyní', monthNames: ['leden','únor','břez...
JavaScript
/* Icelandic initialisation for the jQuery UI date picker plugin. */ /* Written by Haukur H. Thorsson (haukur@eskill.is). */ jQuery(function($){ $.datepicker.regional['is'] = { closeText: 'Loka', prevText: '&#x3c; Fyrri', nextText: 'N&aelig;sti &#x3e;', currentText: '&Iacute; dag', monthNames: ['Jan&...
JavaScript
/* Slovenian initialisation for the jQuery UI date picker plugin. */ /* Written by Jaka Jancar (jaka@kubje.org). */ /* c = &#x10D;, s = &#x161; z = &#x17E; C = &#x10C; S = &#x160; Z = &#x17D; */ jQuery(function($){ $.datepicker.regional['sl'] = { closeText: 'Zapri', prevText: '&lt;Prej&#x161;nji', nextTex...
JavaScript
/* Ukrainian (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Maxim Drogobitskiy (maxdao@gmail.com). */ jQuery(function($){ $.datepicker.regional['uk'] = { clearText: 'Очистити', clearStatus: '', closeText: 'Закрити', closeStatus: '', prevText: '&#x3c;', prevStatus: '', pre...
JavaScript
/* Swedish initialisation for the jQuery UI date picker plugin. */ /* Written by Anders Ekdahl ( anders@nomadiz.se). */ jQuery(function($){ $.datepicker.regional['sv'] = { closeText: 'Stäng', prevText: '&laquo;Förra', nextText: 'Nästa&raquo;', currentText: 'Idag', monthNames: ['Januar...
JavaScript
/* Brazilian initialisation for the jQuery UI date picker plugin. */ /* Written by Leonildo Costa Silva (leocsilva@gmail.com). */ jQuery(function($){ $.datepicker.regional['pt-BR'] = { closeText: 'Fechar', prevText: '&#x3c;Anterior', nextText: 'Pr&oacute;ximo&#x3e;', currentText: 'Hoje', monthNames: ...
JavaScript
/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Mathias Bynens <http://mathiasbynens.be/> */ jQuery(function($){ $.datepicker.regional.nl = { closeText: 'Sluiten', prevText: '←', nextText: '→', currentText: 'Vandaag', monthNames: ['januari', 'februari', 'maart'...
JavaScript
/* Romanian initialisation for the jQuery UI date picker plugin. * * Written by Edmond L. (ll_edmond@walla.com) * and Ionut G. Stan (ionut.g.stan@gmail.com) */ jQuery(function($){ $.datepicker.regional['ro'] = { closeText: 'Închide', prevText: '&laquo; Luna precedentă', nextText: 'Luna următoare &ra...
JavaScript
/* Albanian initialisation for the jQuery UI date picker plugin. */ /* Written by Flakron Bytyqi (flakron@gmail.com). */ jQuery(function($){ $.datepicker.regional['sq'] = { closeText: 'mbylle', prevText: '&#x3c;mbrapa', nextText: 'Përpara&#x3e;', currentText: 'sot', monthNames: ['Janar','Shkurt','Ma...
JavaScript
/* Inicialitzaci� en catal� per a l'extenci� 'calendar' per jQuery. */ /* Writers: (joan.leon@gmail.com). */ jQuery(function($){ $.datepicker.regional['ca'] = { closeText: 'Tancar', prevText: '&#x3c;Ant', nextText: 'Seg&#x3e;', currentText: 'Avui', monthNames: ['Gener','Febrer','Mar&ccedil;','Abril',...
JavaScript
/* Slovak initialisation for the jQuery UI date picker plugin. */ /* Written by Vojtech Rinik (vojto@hmm.sk). */ jQuery(function($){ $.datepicker.regional['sk'] = { closeText: 'Zavrieť', prevText: '&#x3c;Predchádzajúci', nextText: 'Nasledujúci&#x3e;', currentText: 'Dnes', monthNames: ['Január','Febru...
JavaScript
/* Norwegian initialisation for the jQuery UI date picker plugin. */ /* Written by Naimdjon Takhirov (naimdjon@gmail.com). */ jQuery(function($){ $.datepicker.regional['no'] = { closeText: 'Lukk', prevText: '&laquo;Forrige', nextText: 'Neste&raquo;', currentText: 'I dag', monthNames: [...
JavaScript
/* German initialisation for the jQuery UI date picker plugin. */ /* Written by Milian Wolff (mail@milianw.de). */ jQuery(function($){ $.datepicker.regional['de'] = { closeText: 'schließen', prevText: '&#x3c;zurück', nextText: 'Vor&#x3e;', currentText: 'heute', monthNames: ['Januar','Februar','März'...
JavaScript
/* Italian initialisation for the jQuery UI date picker plugin. */ /* Written by Apaella (apaella@gmail.com). */ jQuery(function($){ $.datepicker.regional['it'] = { closeText: 'Chiudi', prevText: '&#x3c;Prec', nextText: 'Succ&#x3e;', currentText: 'Oggi', monthNames: ['Gennaio','Febbraio','Marzo','Apr...
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','Ma...
JavaScript
/* Esperanto initialisation for the jQuery UI date picker plugin. */ /* Written by Olivier M. (olivierweb@ifrance.com). */ jQuery(function($){ $.datepicker.regional['eo'] = { closeText: 'Fermi', prevText: '&lt;Anta', nextText: 'Sekv&gt;', currentText: 'Nuna', monthNames: ['Januaro','Februaro','Marto...
JavaScript
/* Greek (el) initialisation for the jQuery UI date picker plugin. */ /* Written by Alex Cicovic (http://www.alexcicovic.com) */ jQuery(function($){ $.datepicker.regional['el'] = { closeText: 'Κλείσιμο', prevText: 'Προηγούμενος', nextText: 'Επόμενος', currentText: 'Τρέχων Μήνας', monthNames: ['Ιανου...
JavaScript
/* French initialisation for the jQuery UI date picker plugin. */ /* Written by Keith Wood (kbwood@virginbroadband.com.au) and Stéphane Nahmani (sholby@sholby.net). */ jQuery(function($){ $.datepicker.regional['fr'] = { closeText: 'Fermer', prevText: '&#x3c;Préc', nextText: 'Suiv&#x3e;', currentText: '...
JavaScript
/* Armenian(UTF-8) initialisation for the jQuery UI date picker plugin. */ /* Written by Levon Zakaryan (levon.zakaryan@gmail.com)*/ jQuery(function($){ $.datepicker.regional['hy'] = { closeText: 'Փակել', prevText: '&#x3c;Նախ.', nextText: 'Հաջ.&#x3e;', currentText: 'Այսօր', monthNames: ['Հունվար','Փե...
JavaScript
/* Thai initialisation for the jQuery UI date picker plugin. */ /* Written by pipo (pipo@sixhead.com). */ jQuery(function($){ $.datepicker.regional['th'] = { closeText: 'ปิด', prevText: '&laquo;&nbsp;ย้อน', nextText: 'ถัดไป&nbsp;&raquo;', currentText: 'วันนี้', monthNames: ['มกราคม','กุมภาพันธ์','มี...
JavaScript
/* Serbian i18n for the jQuery UI date picker plugin. */ /* Written by Dejan Dimić. */ jQuery(function($){ $.datepicker.regional['sr'] = { closeText: 'Затвори', prevText: '&#x3c;', nextText: '&#x3e;', currentText: 'Данас', monthNames: ['Јануар','Фебруар','Март','Април','Мај','Јун', 'Јул','Август'...
JavaScript
/* Chinese initialisation for the jQuery UI date picker plugin. */ /* Written by Ressol (ressol@gmail.com). */ jQuery(function($){ $.datepicker.regional['zh-TW'] = { closeText: '關閉', prevText: '&#x3c;上月', nextText: '下月&#x3e;', currentText: '今天', monthNames: ['一月','二月','三月','四月','五月','六月', '七月','八...
JavaScript
/* Malaysian initialisation for the jQuery UI date picker plugin. */ /* Written by Mohd Nawawi Mohamad Jamili (nawawi@ronggeng.net). */ jQuery(function($){ $.datepicker.regional['ms'] = { closeText: 'Tutup', prevText: '&#x3c;Sebelum', nextText: 'Selepas&#x3e;', currentText: 'hari ini', monthNames: ['...
JavaScript
/* Japanese initialisation for the jQuery UI date picker plugin. */ /* Written by Kentaro SATO (kentaro@ranvis.com). */ jQuery(function($){ $.datepicker.regional['ja'] = { closeText: '閉じる', prevText: '&#x3c;前', nextText: '次&#x3e;', currentText: '今日', monthNames: ['1月','2月','3月','4月','5月','6月', '7...
JavaScript
/* Arabic Translation for jQuery UI date picker plugin. */ /* Khaled Al Horani -- koko.dw@gmail.com */ /* خالد الحوراني -- koko.dw@gmail.com */ /* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */...
JavaScript
/* Persian (Farsi) Translation for the jQuery UI date picker plugin. */ /* Javad Mowlanezhad -- jmowla@gmail.com */ /* Jalali calendar should supported soon! (Its implemented but I have to test it) */ jQuery(function($) { $.datepicker.regional['fa'] = { closeText: 'بستن', prevText: '&#x3c;قبلي', nextText...
JavaScript
/* Finnish initialisation for the jQuery UI date picker plugin. */ /* Written by Harri Kilpi� (harrikilpio@gmail.com). */ jQuery(function($){ $.datepicker.regional['fi'] = { closeText: 'Sulje', prevText: '&laquo;Edellinen', nextText: 'Seuraava&raquo;', currentText: 'T&auml;n&auml;&auml;n', m...
JavaScript
/* Danish initialisation for the jQuery UI date picker plugin. */ /* Written by Jan Christensen ( deletestuff@gmail.com). */ jQuery(function($){ $.datepicker.regional['da'] = { closeText: 'Luk', prevText: '&#x3c;Forrige', nextText: 'Næste&#x3e;', currentText: 'Idag', monthNames: ['Jan...
JavaScript
/** * Implementation of Drupal behavior. */ Drupal.behaviors.rubik = function(context) { // If there are both main column and side column buttons, only show the main // column buttons if the user scrolls past the ones to the side. $('div.form:has(div.column-main div.buttons):not(.rubik-processed)').each(functio...
JavaScript
$(document).ready( function() { // Hide the breadcrumb details, if no breadcrumb. $('#edit-zen-breadcrumb').change( function() { div = $('#div-zen-breadcrumb-collapse'); if ($('#edit-zen-breadcrumb').val() == 'no') { div.slideUp('slow'); } else if (div.css('display') == 'none') { ...
JavaScript
Drupal.behaviors.tao = function (context) { $('fieldset.collapsible:not(.tao-processed) > legend > .fieldset-title').each(function() { var fieldset = $(this).parents('fieldset').eq(0); fieldset.addClass('tao-processed'); // Expand any fieldsets containing errors. if ($('input.error, textarea.error, ...
JavaScript
/** * Move a block in the blocks table from one region to another via select list. * * This behavior is dependent on the tableDrag behavior, since it uses the * objects initialized in that behavior to update the row. */ Drupal.behaviors.termDrag = function(context) { var table = $('#taxonomy', context); var t...
JavaScript
/** * Attach handlers to evaluate the strength of any password fields and to check * that its confirmation is correct. */ Drupal.behaviors.password = function(context) { var translate = Drupal.settings.password; $("input.password-field:not(.password-processed)", context).each(function() { var passwordInput ...
JavaScript
Drupal.behaviors.comment = function (context) { var parts = new Array("name", "homepage", "mail"); var cookie = ''; for (i=0;i<3;i++) { cookie = Drupal.comment.getCookie('comment_info_' + parts[i]); if (cookie != '') { $("#comment-form input[name=" + parts[i] + "]:not(.comment-processed)", context)...
JavaScript