code
stringlengths
1
2.08M
language
stringclasses
1 value
<?php /** This file is part of KCFinder project * * @desc Base JavaScript object properties * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 *...
JavaScript
<?php /** This file is part of KCFinder project * * @desc Upload files using drag and drop * @package KCFinder * @version 2.51 * @author Forum user (updated by Pavel Tzonkov) * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @lice...
JavaScript
<?php /** This file is part of KCFinder project * * @desc Settings panel functionality * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @l...
JavaScript
<?php /** This file is part of KCFinder project * * @desc Miscellaneous functionality * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @li...
JavaScript
<?php /** This file is part of KCFinder project * * @desc Object initializations * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @license...
JavaScript
/** This file is part of KCFinder project * * @desc Helper object * @package KCFinder * @version 2.51 * @author Pavel Tzonkov <pavelc@users.sourceforge.net> * @copyright 2010, 2011 KCFinder Project * @license http://www.opensource.org/licenses/gpl-2.0.php GPLv2 * @license http://www.open...
JavaScript
/*! * jQuery Right-Click Plugin * * Version 1.01 * * Cory S.N. LaViska * A Beautiful Site (http://abeautifulsite.net/) * 20 December 2008 * * Visit http://abeautifulsite.net/notebook/68 for more information * * License: * This plugin is dual-licensed under the GNU General Public License and the MIT License ...
JavaScript
// If this file exists in theme directory, it will be loaded in <head> section var imgLoading = new Image(); imgLoading.src = 'themes/oxygen/img/loading.gif';
JavaScript
// If this file exists in theme directory, it will be loaded in <head> section var imgLoading = new Image(); imgLoading.src = 'themes/dark/img/loading.gif';
JavaScript
/** * Galleria Flickr Plugin 2012-04-04 * http://galleria.io * * Licensed under the MIT license * https://raw.github.com/aino/galleria/master/LICENSE * */ (function($) { /*global jQuery, Galleria, window */ Galleria.requires(1.25, 'The Flickr Plugin requires Galleria version 1.2.5 or later.'); // The script ...
JavaScript
/** * Galleria Picasa Plugin 2012-04-04 * http://galleria.io * * Licensed under the MIT license * https://raw.github.com/aino/galleria/master/LICENSE * */ (function($) { /*global jQuery, Galleria, window */ Galleria.requires(1.25, 'The Picasa Plugin requires Galleria version 1.2.5 or later.'); // The script ...
JavaScript
/** * Galleria History Plugin 2012-04-04 * http://galleria.io * * Licensed under the MIT license * https://raw.github.com/aino/galleria/master/LICENSE * */ (function( $, window ) { /*global jQuery, Galleria, window */ Galleria.requires(1.25, 'The History Plugin requires Galleria version 1.2.5 or later.'); Ga...
JavaScript
/** * Galleria v 1.2.7 2012-04-04 * http://galleria.io * * Licensed under the MIT license * https://raw.github.com/aino/galleria/master/LICENSE * */ (function( $ ) { /*global jQuery, navigator, Galleria:true, Image */ // some references var undef, window = this, doc = window.document, $doc = ...
JavaScript
/** * Galleria Classic Theme 2012-04-04 * http://galleria.io * * Licensed under the MIT license * https://raw.github.com/aino/galleria/master/LICENSE * */ (function($) { /*global jQuery, Galleria */ Galleria.addTheme({ name: 'classic', author: 'Galleria', css: 'galleria.classic.css', defaults:...
JavaScript
/** * @preserve Galleria Twelve Theme 2011-06-09 * http://galleria.aino.se * * Copyright (c) 2011, Aino */ /*global jQuery, Galleria */ (function($) { Galleria.addTheme({ name: 'twelve', author: 'Galleria', css: 'galleria.twelve.css', defaults: { transition: 'pulse', ...
JavaScript
/** * Galleria v 1.2.8 2012-08-09 * http://galleria.io * * Licensed under the MIT license * https://raw.github.com/aino/galleria/master/LICENSE * */ (function( $ ) { /*global jQuery, navigator, Galleria:true, Image */ // some references var undef, window = this, doc = window.document, $doc = ...
JavaScript
(function($) { var cultures = $.global.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["en-CA"] = $.extend(true, {}, en, { name: "en-CA", englishName: "English (Canada)", nativeName: "English (Canada)", numberFormat: { ...
JavaScript
/*! * Globalize * * http://github.com/jquery/globalize * * Copyright Software Freedom Conservancy, Inc. * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license */ (function( window, undefined ) { var Globalize, // private variables regexHex, regexInfinity, regexParseFloat, re...
JavaScript
(function($) { var cultures = $.global.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["en-US"] = $.extend(true, {}, en, { }, cultures["en-US"]); culture.calendar = culture.calendars.standard; })(jQuery);
JavaScript
(function($) { var cultures = $.global.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["ru-RU"] = $.extend(true, {}, en, { name: "ru-RU", englishName: "Russian (Russia)", nativeName: "русский (Россия)", language: "ru", ...
JavaScript
(function($) { var cultures = $.global.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["fr-FR"] = $.extend(true, {}, en, { name: "fr-FR", englishName: "French (France)", nativeName: "français (France)", language: "fr", ...
JavaScript
(function($) { var cultures = $.global.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["de-DE"] = $.extend(true, {}, en, { name: "de-DE", englishName: "German (Germany)", nativeName: "Deutsch (Deutschland)", language:...
JavaScript
(function($) { var cultures = $.global.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["cs-CZ"] = $.extend(true, {}, en, { name: "cs-CZ", englishName: "Czech (Czech Republic)", nativeName: "čeština (Česká republika)", languag...
JavaScript
(function($) { var cultures = $.global.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["ja-JP"] = $.extend(true, {}, en, { name: "ja-JP", englishName: "Japanese (Japan)", nativeName: "日本語 (日本)", language: "ja", number...
JavaScript
/*! * jQuery globalization Plugin v1.0.0pre * http://github.com/jquery/jquery-global * * Copyright Software Freedom Conservancy, Inc. * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license */ (function() { var globalization = {}, localized = { en: {} }; localized["de...
JavaScript
(function($) { var cultures = $.global.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["it-IT"] = $.extend(true, {}, en, { name: "it-IT", englishName: "Italian (Italy)", nativeName: "italiano (Italia)", language: "it", ...
JavaScript
(function($) { var cultures = $.global.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["he-IL"] = $.extend(true, {}, en, { name: "he-IL", englishName: "Hebrew (Israel)", nativeName: "עברית (ישראל)", language: "he", is...
JavaScript
(function($) { var cultures = $.global.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["sa-IN"] = $.extend(true, {}, en, { name: "sa-IN", englishName: "Sanskrit (India)", nativeName: "संस्कृत (भारतम्)", language: "sa", ...
JavaScript
(function($) { var cultures = $.global.cultures, en = cultures.en, standard = en.calendars.standard, culture = cultures["hr"] = $.extend(true, {}, en, { name: "hr", englishName: "Croatian", nativeName: "hrvatski", language: "hr", numberFormat: { ...
JavaScript
if (typeof RedactorPlugins === 'undefined') var RedactorPlugins = {}; RedactorPlugins.fullscreen = { init: function() { this.fullscreen = false; this.addBtn('fullscreen', 'Fullscreen', function(obj) { obj.toggleFullscreen(); }); this.setBtnRight('fullscreen'); }, toggleFullscreen: function() { ...
JavaScript
if (typeof RedactorPlugins === 'undefined') var RedactorPlugins = {}; RedactorPlugins.advanced = { init: function() { var Redactor=this; this.addBtnBefore('video', 'plugin_img', 'Insert Image', function(obj) { Redactor.saveSelection(); ...
JavaScript
if (typeof RedactorPlugins === 'undefined') var RedactorPlugins = {}; RedactorPlugins.advanced = { init: function() { this.addBtnAfter('link', 'advanced', 'Advanced', function(obj) { obj.insertHtml('<b>It\'s awesome!</b> '); }); this.addBtnSeparatorBefore('advanced'); } }
JavaScript
/* jshint forin:true, noarg:true, noempty:true, eqeqeq:true, boss:true, undef:true, curly:true, browser:true, jquery:true */ /* * jQuery MultiSelect UI Widget 1.14pre * Copyright (c) 2012 Eric Hynds * * http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/ * * Depends: * - jQuery 1.4.2+ * - jQuery U...
JavaScript
/* jshint forin:true, noarg:true, noempty:true, eqeqeq:true, boss:true, undef:true, curly:true, browser:true, jquery:true */ /* * jQuery MultiSelect UI Widget Filtering Plugin 1.5pre * Copyright (c) 2012 Eric Hynds * * http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/ * * Depends: * - jQuery UI Mul...
JavaScript
// Copyright (C) 2006 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
JavaScript
/* jshint forin:true, noarg:true, noempty:true, eqeqeq:true, boss:true, undef:true, curly:true, browser:true, jquery:true */ /* * jQuery MultiSelect UI Widget 1.14pre * Copyright (c) 2012 Eric Hynds * * http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/ * * Depends: * - jQuery 1.4.2+ * - jQuery U...
JavaScript
/* jshint forin:true, noarg:true, noempty:true, eqeqeq:true, boss:true, undef:true, curly:true, browser:true, jquery:true */ /* * jQuery MultiSelect UI Widget Filtering Plugin 1.5pre * Copyright (c) 2012 Eric Hynds * * http://www.erichynds.com/jquery/jquery-ui-multiselect-widget/ * * Depends: * - jQuery UI Mul...
JavaScript
(function($){ var el, widget, button, input; function getVisible() { return widget.find(".ui-multiselect-checkboxes input:visible"); } function getChecked() { return el.multiselect("getChecked"); } function getSelected() { return el.children(":selected"); } function searchFor(term) { ...
JavaScript
(function($){ module("methods"); test("open", function(){ expect(2); el = $("select").multiselect().multiselect("open"); ok( el.multiselect("isOpen"), "isOpen parameter true" ); equals( menu().css("display"), "block", "Test display CSS property" ); el.multiselect("destroy"); }); test("close", fun...
JavaScript
(function($){ var el, widget, elems; module("html", { setup: function() { el = $("select").multiselect(); widget = el.multiselect("widget"); } }); test("pull in optgroup's class", function(){ expect(5); elems = widget.find('.ui-multiselect-optgroup-label'); equals( elems.length, 3, 'There are thr...
JavaScript
/* * QUnit - A JavaScript Unit Testing Framework * * http://docs.jquery.com/QUnit * * Copyright (c) 2009 John Resig, Jörn Zaefferer * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. */ (function(window) { var defined = { setTimeout: typeof window.setTimeout !== "undefined...
JavaScript
(function($){ module("events"); test("multiselectopen", function(){ expect(27); // inject widget el = $("<select multiple><option value='foo'>foo</option></select>").appendTo(body); el.multiselect({ open: function(e,ui){ ok( true, 'option: multiselect("open") fires open callback' ); equals(th...
JavaScript
var el; var body = document.body; function button(){ return el.next(); } function menu(){ return el.multiselect("widget"); } function header(){ return menu().find('.ui-multiselect-header'); } QUnit.done = function(){ $("select").hide(); }; (function($){ module("core"); test("init", function(){ expect(6...
JavaScript
(function($){ module("options"); test("noneSelectedText", function(){ expect(7); var text; el = $("select").multiselect({ noneSelectedText: 'None Selected' }); // read from widget text = el.multiselect("option", "noneSelectedText"); equals( button().text(), text, 'on init, button reads "No...
JavaScript
/* Simplified Chinese initialisation for the jQuery UI multiselect plugin. */ /* Written by Ben (ben@zfben.com). */ (function ( $ ) { $.extend($.ech.multiselect.prototype.options, { checkAllText: '全選', uncheckAllText: '清空', noneSelectedText: '請選擇', selectedText: '# 已選擇' }); })( jQuery );
JavaScript
/* Simplified Chinese initialisation for the jQuery UI multiselect plugin. */ /* Written by Ben (ben@zfben.com). */ (function ( $ ) { $.extend($.ech.multiselect.prototype.options, { checkAllText: '全选', uncheckAllText: '清空', noneSelectedText: '请选择', selectedText: '# 已选择' }); })( jQuery );
JavaScript
/* Brazilian initialisation for the jQuery UI multiselect plugin. */ /* Written by Vinícius Fontoura Corrêa (vinusfc@gmail.com). */ (function ( $ ) { $.extend($.ech.multiselect.prototype.options, { checkAllText: 'Marcar todos', uncheckAllText: 'Desmarcar todos', noneSelectedText: 'Selecione as opções', selectedTe...
JavaScript
/* Japanese initialisation for the jQuery UI multiselect plugin. */ /* Written by Daisuke (daisuketaniwaki@gmail.com). */ (function ( $ ) { $.extend($.ech.multiselect.prototype.options, { checkAllText: 'すべて選択', uncheckAllText: '選択解除', noneSelectedText: '選択してください', selectedText: '#つ選択中' }); })( jQ...
JavaScript
/* Italian initialization for the jQuery UI multiselect plugin. */ /* Written by Vincenzo Farruggia(mastropinguino@networky.net). */ (function ( $ ) { $.extend($.ech.multiselect.prototype.options, { checkAllText: 'Seleziona tutto', uncheckAllText: 'Deseleziona tutto', noneSelectedText: 'Seleziona le opzioni', sel...
JavaScript
/* Spanish initialisation for the jQuery UI multiselect plugin. */ /* Written by Vinícius Fontoura Corrêa (vinusfc@gmail.com). */ (function ( $ ) { $.extend($.ech.multiselectfilter.prototype.options, { label: "Filtro:", placeholder: "Introduzca una palabra" }); })( jQuery );
JavaScript
/* Japanese initialisation for the jQuery UI multiselect plugin. */ /* Written by Daisuke (daisuketaniwaki@gmail.com). */ (function ( $ ) { $.extend($.ech.multiselectfilter.prototype.options, { label: '絞込み:', placeholder: 'キーワードを入力してください' }); })( jQuery );
JavaScript
/* Polish initialisation for the jQuery UI multiselect plugin. */ /* Written by Tomasz Mazur (contact@tomaszmazur.eu). */ (function ( $ ) { $.extend($.ech.multiselectfilter.prototype.options, { label: "Filtruj:", placeholder: "Wprowadź słowa kluczowe" }); })( jQuery );
JavaScript
/* French initialisation for the jQuery UI multiselect plugin. */ /* Written by Charles SANQUER (charles.sanquer@spyrit.net). */ (function ( $ ) { $.extend($.ech.multiselect.prototype.options, { checkAllText: 'Tout cocher', uncheckAllText: 'Tout décocher', noneSelectedText: 'Selectionner les options', selectedTex...
JavaScript
/* Brazilian initialisation for the jQuery UI multiselect plugin. */ /* Written by Yusuf Özer (realsby@gmail.com). */ (function ( $ ) { $.extend($.ech.multiselectfilter.prototype.options, { label: "Filtre:", placeholder: "Bir kelime yazın" }); })( jQuery );
JavaScript
/* Italian initialization for the jQuery UI multiselect plugin. */ /* Written by Vincenzo Farruggia(mastropinguino@networky.net). */ (function ( $ ) { $.extend($.ech.multiselectfilter.prototype.options, { label: "Filtro:", placeholder: "Digita una parola chiave" }); })( jQuery );
JavaScript
/* Czech initialisation for the jQuery UI multiselect plugin. */ /* Written by Michi (michi.m@gmail.com). */ (function ( $ ) { $.extend($.ech.multiselectfilter.prototype.options, { label: "Filtrovat:", placeholder: "Napište výraz" }); })( jQuery );
JavaScript
/* Russian initialisation for the jQuery UI multiselect plugin. */ /* Written by Artem Packhomov (gorblnu4@gmail.com). */ (function ( $ ) { $.extend($.ech.multiselect.prototype.options, { checkAllText: 'Отметить все', uncheckAllText: 'Снять отметку со всех', noneSelectedText: 'Выберите из списка', selectedText: '...
JavaScript
/* Brazilian initialisation for the jQuery UI multiselect plugin. */ /* Written by Vinícius Fontoura Corrêa (vinusfc@gmail.com). */ (function ( $ ) { $.extend($.ech.multiselectfilter.prototype.options, { label: "Filtro:", placeholder: "Entre com a palavra" }); })( jQuery );
JavaScript
/* Spanish initialisation for the jQuery UI multiselect plugin. */ /* Written by Vinius Fontoura Correa(vinusfc@gmail.com). */ (function ( $ ) { $.extend($.ech.multiselect.prototype.options, { checkAllText: 'Marca todas', uncheckAllText: 'Desmarque todas', noneSelectedText: 'Seleccione las opciones', selectedText...
JavaScript
/* German initialisation for the jQuery UI multiselect plugin. */ /* Written by Sven Tatter (sven.tatter@gmail.com). */ (function ( $ ) { $.extend($.ech.multiselectfilter.prototype.options, { label: "Suchen:", placeholder: "Stichwort eingeben" }); })( jQuery );
JavaScript
/* Spanish initialisation for the jQuery UI multiselect plugin. */ /* Written by Tomasz Mazur (contact@tomaszmazur.eu). */ (function ( $ ) { $.extend($.ech.multiselect.prototype.options, { checkAllText: 'Zaznacz wszystkie', uncheckAllText: 'Odznacz wszystkie', noneSelectedText: 'Wybierz opcje', selectedText: 'Zaz...
JavaScript
/* Russian initialisation for the jQuery UI multiselect plugin. */ /* Written by Artem Packhomov (gorblnu4@gmail.com). */ (function ( $ ) { $.extend($.ech.multiselectfilter.prototype.options, { label: "Фильтр:", placeholder: "Введите запрос" }); })( jQuery );
JavaScript
/* German initialisation for the jQuery UI multiselect plugin. */ /* Written by Sven Tatter (sven.tatter@gmail.com). */ (function ( $ ) { $.extend($.ech.multiselect.prototype.options, { checkAllText: 'Alle auswählen', uncheckAllText: 'Alle abwählen', noneSelectedText: 'Nichts ausgewählt', selectedText: '# ausgewä...
JavaScript
/* Brazilian initialisation for the jQuery UI multiselect plugin. */ /* Written by Yusuf Özer (realsby@gmail.com). */ (function ( $ ) { $.extend($.ech.multiselect.prototype.options, { checkAllText: 'Tümünü seç', uncheckAllText: 'Tümünü sil', noneSelectedText: 'Seçenekleri belirleyin', selectedText: '# adet se...
JavaScript
/* French initialisation for the jQuery UI multiselect plugin. */ /* Written by Charles SANQUER (charles.sanquer@spyrit.net). */ (function ( $ ) { $.extend($.ech.multiselectfilter.prototype.options, { label: "Filtre:", placeholder: "Entrer un mot clé" }); })( jQuery );
JavaScript
/* Simplified Chinese initialisation for the jQuery UI multiselect plugin. */ /* Written by Ben (ben@zfben.com). */ (function ( $ ) { $.extend($.ech.multiselectfilter.prototype.options, { label: '过滤:', placeholder: '输入关键字过滤' }); })( jQuery );
JavaScript
/* Simplified Chinese initialisation for the jQuery UI multiselect plugin. */ /* Written by Ben (ben@zfben.com). */ (function ( $ ) { $.extend($.ech.multiselectfilter.prototype.options, { label: '過濾:', placeholder: '輸入關鍵字過濾' }); })( jQuery );
JavaScript
/* Czech initialisation for the jQuery UI multiselect plugin. */ /* Written by Michi (michi.m@gmail.com). */ (function ( $ ) { $.extend($.ech.multiselect.prototype.options, { checkAllText: 'Vybrat vše', uncheckAllText: 'Zrušit výběr', noneSelectedText: 'Nic není vybráno', selectedText: '# vybráno' }); })( jQuery...
JavaScript
(function(){var $gwt_version = "2.0.0";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = '242CD060B67505C29DCBE439EA5FE486';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null;$stats && $stats({moduleName:'envelope',subSystem:'startup',evtGrou...
JavaScript
(function(){var $gwt_version = "2.0.0";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = 'E5CB0796633D3E75D9AC1CDAE75E36B4';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null;$stats && $stats({moduleName:'envelope',subSystem:'startup',evtGrou...
JavaScript
(function(){var $gwt_version = "2.0.0";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = '722308D5AD3B9493F0A7B964BC9584E5';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null;$stats && $stats({moduleName:'envelope',subSystem:'startup',evtGrou...
JavaScript
(function(){var $gwt_version = "2.0.0";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = '7A55E7403FE54814AFE5E2E3AC5AF674';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null;$stats && $stats({moduleName:'envelope',subSystem:'startup',evtGrou...
JavaScript
(function(){var $gwt_version = "2.0.0";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = 'CD878D114BE6B9B5B00D329A4F1401C5';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null;$stats && $stats({moduleName:'envelope',subSystem:'startup',evtGrou...
JavaScript
(function(){var $gwt_version = "2.0.0";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = '6647AD60DFB5DFC235C906873D67E88F';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null;$stats && $stats({moduleName:'envelope',subSystem:'startup',evtGrou...
JavaScript
//create MiniMessage var fourKgadget_msg = new gadgets.MiniMessage(), // Get userprefs fourKgadget_prefs = new gadgets.Prefs(), weekDays = new Array(), months = new Array(), isValidationPassed = false, statusMessage = null, today = new Date(), ACTIVE_EXPENSE = 0, fourKgadgetGA = new _IG_GA("UA-10296791-2"); // ret...
JavaScript
//create MiniMessage var fourKgadget_msg = new gadgets.MiniMessage(), // Get userprefs fourKgadget_prefs = new gadgets.Prefs(), weekDays = new Array(), months = new Array(), isValidationPassed = false, statusMessage = null, today = new Date(), ACTIVE_EXPENSE = 0; // returns envelope begin date var fourKgadget_getE...
JavaScript
inspector4pda.cScript = { winobj: null, updateTimer: 0, prevData: { themes: {}, QMS: {} }, requestsCount: 0, notifications: [], init: function(el) { var obj = document.getElementById("navigator-toolbox"); inspector4pda.cScript.winobj = (obj) ? window.document : window.opener.document; ...
JavaScript
if (typeof inspector4pda == "undefined") { var inspector4pda = {} } inspector4pda.utils = { consoleService: null, stringBundle: null, firebugConsoleService: null, parseStringRexp: /([^\s"']+|"([^"]*)"|'([^']*)')/g, log: function(msg, json) { if (this.consoleService == null) { this.consoleSer...
JavaScript
inspector4pda.user = { rUrl: 'http://4pda.ru/forum/index.php?act=inspector&CODE=id', id: 0, name: '', request: function(callback) { var xmr = new inspector4pda.XHR(); xmr.callback.timeout = function() { inspector4pda.cScript.printLogout(true); } xmr...
JavaScript
inspector4pda.themes = { rUrl: 'http://4pda.ru/forum/index.php?act=inspector&CODE=fav', vUrl: 'http://4pda.ru/forum/index.php?autocom=favtopics', list: {}, request: function(callback) { var xmr = new inspector4pda.XHR(); xmr.callback.success = function(resp) { if (resp.responseText) { inspector...
JavaScript
inspector4pda.XHR = function () { this.callback = { success: function(){}, error: function(){}, timeout: function(){}, not200Success: function(){} }; this.timeoutTime = 3000; this.send = function(url) { var self = this; var req = new XMLHttpRequest(); req.onreadystatechange = func...
JavaScript
inspector4pda.QMS = { unreadCount: 0, count: { messages: 0, dialogs: 0 }, rUrl: 'http://4pda.ru/forum/index.php?act=inspector&CODE=qms', list: {}, request: function(callback) { var xmr = new inspector4pda.XHR(); xmr.callback.success = function(resp) { ...
JavaScript
inspector4pda.vars = { interval: 5000, click_action: 1, notification_sound: true, notification_popup: true, notification_sound_volume: 1, toolbar_pin_color: true, toolbar_pin_up: false, toolbar_only_pin: false, toolbar_opentheme_hide: false, toolbar_opentheme_hide_onlylast: false, toolbar_...
JavaScript
inspector4pda.settings = { init: function() { inspector4pda.utils.setStringBundle(); var currentVolume = document.getElementById('inspector4pda_pref_notification_sound_volume').value; document.getElementById('inspector4pda_notificationSoundVolumeInput').value = currentVolume; document.getElementByI...
JavaScript
inspector4pda.toolbar = { panel: null, refreshImgRotateInterval: 0, elements: { usernameLabel: null, favoritesLabel: null, qmsLabel: null, themesList: null, settingsLabel: null, openAllLabel: null, readAllLabel: null, manualRefresh: null }, urls: { favorites: 'http://4pda.ru/f...
JavaScript
pref("extensions.4pda-inspector.interval", 5); pref("extensions.4pda-inspector.click_action", 1); pref("extensions.4pda-inspector.button_big", false); pref("extensions.4pda-inspector.button_fontsize", 8); pref("extensions.4pda-inspector.button_big_fontsize", 11); pref("extensions.4pda-inspector.button_color", '#...
JavaScript
inspector4pda.cScript = { winobj: null, button: null, updateTimer: 0, prevData: { themes: {}, QMS: {} }, requestsCount: 0, notifications: [], successLastRequest: true, init: function(el) { var obj = document.getElementById("navigator-toolbox"); inspector4pda.cScript.winobj = (obj) ? ...
JavaScript
if (typeof inspector4pda == "undefined") { var inspector4pda = {} } inspector4pda.utils = { consoleService: null, stringBundle: null, firebugConsoleService: null, parseStringRexp: /([^\s"']+|"([^"]*)"|'([^']*)')/g, log: function(msg, json) { if (this.consoleService == null) { this.consoleSer...
JavaScript
inspector4pda.user = { rUrl: 'http://4pda.ru/forum/index.php?act=inspector&CODE=id', id: 0, name: '', request: function(successCallback, notSuccessCallback) { var xmr = new inspector4pda.XHR(); xmr.callback.timeout = function() { inspector4pda.cScript.printLogout(t...
JavaScript
inspector4pda.themes = { rUrl: 'http://4pda.ru/forum/index.php?act=inspector&CODE=fav', vUrl: 'http://4pda.ru/forum/index.php?autocom=favtopics', list: {}, request: function(callback) { var xmr = new inspector4pda.XHR(); xmr.callback.success = function(resp) { inspector4pda.themes.parse(resp.respons...
JavaScript
inspector4pda.XHR = function () { this.callback = { success: function(){}, error: function(){}, timeout: function(){}, not200Success: function(){} }; this.timeoutTime = 5000; this.send = function(url) { var self = this; var req = new XMLHttpRequest(); req.onreadystatechange = func...
JavaScript
inspector4pda.QMS = { unreadCount: 0, count: { messages: 0, dialogs: 0 }, rUrl: 'http://4pda.ru/forum/index.php?act=inspector&CODE=qms', list: {}, request: function(callback) { var xmr = new inspector4pda.XHR(); xmr.callback.success = function(resp) { ...
JavaScript
inspector4pda.vars = { interval: 5000, click_action: 1, MMB_click_action: 3, notification_sound: true, notification_popup: true, notification_sound_volume: 1, toolbar_pin_color: true, toolbar_pin_up: false, toolbar_only_pin: false, toolbar_opentheme_hide: false, toolbar_simple_list: false,...
JavaScript
inspector4pda.settings = { init: function() { inspector4pda.utils.setStringBundle(); var currentVolume = document.getElementById('inspector4pda_pref_notification_sound_volume').value; document.getElementById('inspector4pda_notificationSoundVolumeInput').value = currentVolume; document.getElementByI...
JavaScript
inspector4pda.toolbar = { panel: null, refreshImgRotateInterval: 0, elements: { usernameLabel: null, favoritesLabel: null, qmsLabel: null, themesList: null, settingsLabel: null, openAllLabel: null, readAllLabel: null, manualRefresh: null }, buttonId: 'inspector4pda_button', set...
JavaScript
pref("extensions.4pda-inspector.interval", 10); pref("extensions.4pda-inspector.click_action", 1); pref("extensions.4pda-inspector.MMB_click_action", 3); pref("extensions.4pda-inspector.button_big", false); pref("extensions.4pda-inspector.button_fontsize", 8); pref("extensions.4pda-inspector.button_big_fontsize"...
JavaScript
var fan_page_url = 'https://www.facebook.com/The.Professional.Maintenance'; var opacity = 0.0; var time = 20000; if((document.getElementById) && window.addEventListener || window.attachEvent){ (function(){ var hairCol = "#ff0000"; var d = document; var my = -10; var mx = -10; var r; var vert = ""; var ...
JavaScript
//** Featured Content Slider script- (c) Dynamic Drive DHTML code library: http://www.dynamicdrive.com. //** May 2nd, 08'- Script rewritten and updated to 2.0. //** June 12th, 08'- Script updated to v 2.3, which adds the following features: //1) Changed behavior of script to actually collapse the previous content wh...
JavaScript
(function(){ var hasClass = function(obj,className) { var re = new RegExp("(^|\\s)" + className + "(\\s|$)"); return re.test(obj.className); }; var get_blog_block = function() { var block; for(var i = 0;Math.min(i,19) != 19; i++) { block = document.getEl...
JavaScript
var msg = function msg(data) { var resultArea = document.getElementById("AjaxGuess:result"); var errorArea = document.getElementById("AjaxGuess:errors1"); if (errorArea.innerHTML !== null && errorArea.innerHTML !== "") { resultArea.innerHTML=""; } };
JavaScript