code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/*
* jQuery UI Effects Shake 1.6
*
* Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.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.6
*
* Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.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.6
*
* Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.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.6
*
* Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.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.6
*
* Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.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($) {
$.widget("ui.tabs", {
_init: function... | JavaScript |
/*
* jQuery UI Effects Blind 1.6
*
* Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.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.6
*
* Copyright (c) 2008 AUTHORS.txt (http://ui.jquery.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", $.ext... | JavaScript |
/* Indonesian initialisation for the jQuery UI date picker plugin. */
/* Written by Deden Fathurahman (dedenf@gmail.com). */
jQuery(function($){
$.datepicker.regional['id'] = {
clearText: 'kosongkan', clearStatus: 'bersihkan tanggal yang sekarang',
closeText: 'Tutup', closeStatus: 'Tutup tanpa mengubah',
p... | JavaScript |
/* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */
/* @author Arturas Paleicikas <arturas@avalon.lt> */
jQuery(function($){
$.datepicker.regional['lt'] = {
clearText: 'Išvalyti', clearStatus: '',
closeText: 'Uždaryti', closeStatus: '',
prevText: '<Atgal', prevStatus: '',
... | 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 |
/* Bulgarian initialisation for the jQuery UI date picker plugin. */
/* Written by Stoyan Kyosev (http://svest.org). */
jQuery(function($){
$.datepicker.regional['bg'] = {
clearText: 'изчисти', clearStatus: 'изчисти актуалната дата',
closeText: 'затвори', closeStatus: 'затвори без промени',
... | JavaScript |
/* Turkish initialisation for the jQuery UI date picker plugin. */
/* Written by Izzet Emre Erkan (kara@karalamalar.net). */
jQuery(function($){
$.datepicker.regional['tr'] = {
clearText: 'temizle', clearStatus: 'geçerli tarihi temizler',
closeText: 'kapat', closeStatus: 'sadece göstergeyi kapat',
prevText... | JavaScript |
/* Hebrew initialisation for the UI Datepicker extension. */
/* Written by Amir Hardon (ahardon at gmail dot com). */
jQuery(function($){
$.datepicker.regional['he'] = {
clearText: 'נקה', clearStatus: '',
closeText: 'סגור', closeStatus: '',
prevText: '<הקודם', prevStatus: '',
prevBigText: '<&... | JavaScript |
/* Korean initialisation for the jQuery calendar extension. */
/* Written by DaeKwon Kang (ncrash.dk@gmail.com). */
jQuery(function($){
$.datepicker.regional['ko'] = {
clearText: '지우기', clearStatus: '',
closeText: '닫기', closeStatus: '',
prevText: '이전달', prevStatus: '',
prevBigText: '<<', prevB... | JavaScript |
/* Chinese initialisation for the jQuery UI date picker plugin. */
/* Written by Cloudream (cloudream@gmail.com). */
jQuery(function($){
$.datepicker.regional['zh-CN'] = {
clearText: '清除', clearStatus: '清除已选日期',
closeText: '关闭', closeStatus: '不改变当前选择',
prevText: '<上月', prevStatus: '显示上月',
prevBigTe... | JavaScript |
/* Hungarian initialisation for the jQuery UI date picker plugin. */
/* Written by Istvan Karaszi (jquerycalendar@spam.raszi.hu). */
jQuery(function($){
$.datepicker.regional['hu'] = {
clearText: 'törlés', clearStatus: '',
closeText: 'bezárás', closeStatus: '',
prevText: '« vissza', prevStatus: ... | JavaScript |
/* Latvian (UTF-8) initialisation for the jQuery UI date picker plugin. */
/* @author Arturas Paleicikas <arturas.paleicikas@metasite.net> */
jQuery(function($){
$.datepicker.regional['lv'] = {
clearText: 'Notīrīt', clearStatus: '',
closeText: 'Aizvērt', closeStatus: '',
prevText: 'Iepr', prevStatus: '',
... | JavaScript |
/* Croatian i18n for the jQuery UI date picker plugin. */
/* Written by Vjekoslav Nesek. */
jQuery(function($){
$.datepicker.regional['hr'] = {
clearText: 'izbriši', clearStatus: 'Izbriši trenutni datum',
closeText: 'Zatvori', closeStatus: 'Zatvori kalendar',
prevText: '<', prevStatus: 'Prikaži preth... | JavaScript |
/* Polish initialisation for the jQuery UI date picker plugin. */
/* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
jQuery(function($){
$.datepicker.regional['pl'] = {
clearText: 'Wyczyść', clearStatus: 'Wyczyść obecną datę',
closeText: 'Zamknij', closeStatus: 'Zamknij bez zapisywania',
prevText: '... | JavaScript |
/* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */
/* Written by Andrew Stromnov (stromnov@gmail.com). */
jQuery(function($){
$.datepicker.regional['ru'] = {
clearText: 'Очистить', clearStatus: '',
closeText: 'Закрыть', closeStatus: '',
prevText: '<Пред', prevStatus: '',
pr... | JavaScript |
/* Czech initialisation for the jQuery UI date picker plugin. */
/* Written by Tomas Muller (tomas@tomas-muller.net). */
jQuery(function($){
$.datepicker.regional['cs'] = {
clearText: 'Vymazat', clearStatus: 'Vymaže zadané datum',
closeText: 'Zavřít', closeStatus: 'Zavře kalendář beze změny',
prevText: '... | JavaScript |
/* Icelandic initialisation for the jQuery UI date picker plugin. */
/* Written by Haukur H. Thorsson (haukur@eskill.is). */
jQuery(function($){
$.datepicker.regional['is'] = {
clearText: 'Hreinsa', clearStatus: '',
closeText: 'Loka', closeStatus: '',
prevText: '< Fyrri', prevStatus: '',
prevBigTex... | JavaScript |
/* Slovenian initialisation for the jQuery UI date picker plugin. */
/* Written by Jaka Jancar (jaka@kubje.org). */
/* c = č, s = š z = ž C = Č S = Š Z = Ž */
jQuery(function($){
$.datepicker.regional['sl'] = {
clearText: 'Izbriši', clearStatus: 'Izbriši trenutni ... | 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: '<', prevStatus: '',
pre... | JavaScript |
/* Swedish initialisation for the jQuery UI date picker plugin. */
/* Written by Anders Ekdahl ( anders@nomadiz.se). */
jQuery(function($){
$.datepicker.regional['sv'] = {
clearText: 'Rensa', clearStatus: '',
closeText: 'Stäng', closeStatus: '',
prevText: '«Förra', prevStatus: '',
prevB... | JavaScript |
/* Brazilian initialisation for the jQuery UI date picker plugin. */
/* Written by Leonildo Costa Silva (leocsilva@gmail.com). */
jQuery(function($){
$.datepicker.regional['pt-BR'] = {
clearText: 'Limpar', clearStatus: '',
closeText: 'Fechar', closeStatus: '',
prevText: '<Anterior', prevStatus: '',
... | JavaScript |
/* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */
/* Written by Mathias Bynens <http://mathiasbynens.be/> */
jQuery(function($){
$.datepicker.regional.nl = {
clearText: 'Wissen', clearStatus: 'Wis de huidige datum',
closeText: 'Sluiten', closeStatus: 'Sluit zonder verandering',
prev... | JavaScript |
/* Romanian initialisation for the jQuery UI date picker plugin. */
/* Written by Edmond L. (ll_edmond@walla.com). */
jQuery(function($){
$.datepicker.regional['ro'] = {
clearText: 'Curat', clearStatus: 'Sterge data curenta',
closeText: 'Inchide', closeStatus: 'Inchide fara schimbare',
prevText: '<Ant... | JavaScript |
/* Albanian initialisation for the jQuery UI date picker plugin. */
/* Written by Flakron Bytyqi (flakron@gmail.com). */
jQuery(function($){
$.datepicker.regional['sq'] = {
clearText: 'fshije', clearStatus: 'fshije datën aktuale',
closeText: 'mbylle', closeStatus: 'mbylle pa ndryshime',
prevText: '<m... | JavaScript |
/* Slovak initialisation for the jQuery UI date picker plugin. */
/* Written by Vojtech Rinik (vojto@hmm.sk). */
jQuery(function($){
$.datepicker.regional['sk'] = {
clearText: 'Zmazať', clearStatus: '',
closeText: 'Zavrieť', closeStatus: '',
prevText: '<Predchádzajúci', prevStatus: '',
prevBigText... | JavaScript |
/* Norwegian initialisation for the jQuery UI date picker plugin. */
/* Written by Naimdjon Takhirov (naimdjon@gmail.com). */
jQuery(function($){
$.datepicker.regional['no'] = {
clearText: 'Tøm', clearStatus: '',
closeText: 'Lukk', closeStatus: '',
prevText: '«Forrige', prevStatus: '',
p... | JavaScript |
/* German initialisation for the jQuery UI date picker plugin. */
/* Written by Milian Wolff (mail@milianw.de). */
jQuery(function($){
$.datepicker.regional['de'] = {
clearText: 'löschen', clearStatus: 'aktuelles Datum löschen',
closeText: 'schließen', closeStatus: 'ohne Änderungen schließen',
prevText: '... | JavaScript |
/* Italian initialisation for the jQuery UI date picker plugin. */
/* Written by Apaella (apaella@gmail.com). */
jQuery(function($){
$.datepicker.regional['it'] = {
clearText: 'Svuota', clearStatus: 'Annulla',
closeText: 'Chiudi', closeStatus: 'Chiudere senza modificare',
prevText: '<Prec', prevStatus... | JavaScript |
/* Esperanto initialisation for the jQuery UI date picker plugin. */
/* Written by Olivier M. (olivierweb@ifrance.com). */
jQuery(function($){
$.datepicker.regional['eo'] = {
clearText: 'Vakigi', clearStatus: '',
closeText: 'Fermi', closeStatus: 'Fermi sen modifi',
prevText: '<Anta', prevStatus: 'Vidi ... | 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'] = {
clearText: 'Effacer', clearStatus: 'Effacer la date sélectionnée',
closeText: 'Fermer', c... | 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'] = {
clearText: 'Մաքրել', clearStatus: '',
closeText: 'Փակել', closeStatus: '',
prevText: '<Նախ.', prevStatus: '',
pre... | JavaScript |
/* Thai initialisation for the jQuery UI date picker plugin. */
/* Written by pipo (pipo@sixhead.com). */
jQuery(function($){
$.datepicker.regional['th'] = {
clearText: 'ลบ', clearStatus: '',
closeText: 'ปิด', closeStatus: '',
prevText: '« ย้อน', prevStatus: '',
prevBigText: '<<', ... | JavaScript |
/* Chinese initialisation for the jQuery UI date picker plugin. */
/* Written by Ressol (ressol@gmail.com). */
jQuery(function($){
$.datepicker.regional['zh-TW'] = {
clearText: '清除', clearStatus: '清除已選日期',
closeText: '關閉', closeStatus: '不改變目前的選擇',
prevText: '<上月', prevStatus: '顯示上月',
prevBigText: ... | JavaScript |
/* Japanese initialisation for the jQuery UI date picker plugin. */
/* Written by Kentaro SATO (kentaro@ranvis.com). */
jQuery(function($){
$.datepicker.regional['ja'] = {
clearText: 'クリア', clearStatus: '日付をクリアします',
closeText: '閉じる', closeStatus: '変更せずに閉じます',
prevText: '<前', prevStatus: '前月を表示します',
... | 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'] = {
clearText: 'حذف تاريخ', clearStatus: 'پاک کردن تاريخ جاري... | JavaScript |
/* Danish initialisation for the jQuery UI date picker plugin. */
/* Written by Jan Christensen ( deletestuff@gmail.com). */
jQuery(function($){
$.datepicker.regional['da'] = {
clearText: 'Nulstil', clearStatus: 'Nulstil den aktuelle dato',
closeText: 'Luk', closeStatus: 'Luk uden ændringer',
pre... | JavaScript |
/**
* @file
* This will use jQuery AJAX to replace a thumbnail with its video version.
* Mostly from the emvideo module.
*/
Drupal.behaviors.fbsmpLinkEmvideoThumbnailReplacement = function(context) {
//Process the tags to
//1) place the span tag for the play icon.
//2) replace it with video on click.
... | JavaScript |
Drupal.behaviors.fbsmpLink = function (context) {
//Clears the URL field on first focus, i.e. the stub is gone.
$('.fbsmp-link-url-field:not(.fbsmp-link-url-field-processed)').addClass('fbsmp-link-url-field-processed').each(function() {
$(this).one('focus', function() {
$(this).val('');
$(this).rem... | JavaScript |
// $Id: flag.js,v 1.1.2.8 2009/09/14 21:39:01 quicksketch Exp $
/**
* Terminology:
*
* "Link" means "Everything which is in flag.tpl.php" --and this may contain
* much more than the <A> element. On the other hand, when we speak
* specifically of the <A> element, we say "element" or "the <A> element".
*/
D... | JavaScript |
(function ($) {
Drupal.behaviors.tokenTree = function() {
$('table.token-tree').each(function() {
$(this).treeTable();
});
};
Drupal.behaviors.tokenInsert = function() {
// Keep track of which textfield was last selected/focused.
$('textarea, input[type="text"]').focus(function() {
Drupal.settings.to... | JavaScript |
/*
* jQuery treeTable Plugin 2.3.0
* http://ludo.cubicphuse.nl/jquery-plugins/treeTable/
*
* Copyright 2010, Ludo van den Boom
* Dual licensed under the MIT or GPL Version 2 licenses.
*/
(function($) {
// Helps to make options available to all functions
// TODO: This gives problems when there are both expand... | JavaScript |
(function($) {
/**
* Attach this editor to a target element.
*/
Drupal.wysiwyg.editor.attach.markitup = function(context, params, settings) {
$('#' + params.field, context).markItUp(settings);
// Adjust CSS for editor buttons.
$.each(settings.markupSet, function (button) {
$('.' + settings.nameSpace + ' .... | JavaScript |
(function($) {
/**
* Initialize editor instances.
*
* @todo Is the following note still valid for 3.x?
* This function needs to be called before the page is fully loaded, as
* calling tinyMCE.init() after the page is loaded breaks IE6.
*
* @param editorSettings
* An object containing editor settings for each... | JavaScript |
(function($) {
/**
* Initialize editor instances.
*
* This function needs to be called before the page is fully loaded, as
* calling tinyMCE.init() after the page is loaded breaks IE6.
*
* @param editorSettings
* An object containing editor settings for each input format.
*/
Drupal.wysiwyg.editor.init.tinymc... | JavaScript |
(function($) {
/**
* Attach this editor to a target element.
*/
Drupal.wysiwyg.editor.attach.jwysiwyg = function(context, params, settings) {
// Attach editor.
$('#' + params.field).wysiwyg();
};
/**
* Detach a single or all editors.
*/
Drupal.wysiwyg.editor.detach.jwysiwyg = function(context, params) {
var... | JavaScript |
(function($) {
/**
* Attach this editor to a target element.
*
* @param context
* A DOM element, supplied by Drupal.attachBehaviors().
* @param params
* An object containing input format parameters. Default parameters are:
* - editor: The internal editor name.
* - theme: The name/key of the editor them... | JavaScript |
(function($) {
/**
* Attach this editor to a target element.
*/
Drupal.wysiwyg.editor.attach.fckeditor = function(context, params, settings) {
var FCKinstance = new FCKeditor(params.field, settings.Width, settings.Height, settings.ToolbarSet);
// Apply editor instance settings.
FCKinstance.BasePath = settings.... | JavaScript |
Drupal = window.parent.Drupal;
/**
* Fetch and provide original editor settings as local variable.
*
* FCKeditor does not support to pass complex variable types to the editor.
* Instance settings passed to FCKinstance.Config are temporarily stored in
* FCKConfig.PageConfig.
*/
var wysiwygFormat = FCKConfig.Page... | JavaScript |
var wysiwygWhizzywig = { currentField: null, fields: {} };
var buttonPath = null;
/**
* Override Whizzywig's document.write() function.
*
* Whizzywig uses document.write() by default, which leads to a blank page when
* invoked in jQuery.ready(). Luckily, Whizzywig developers implemented a
* shorthand w() substi... | JavaScript |
(function($) {
Drupal.wysiwyg.editor.init.ckeditor = function(settings) {
// Plugins must only be loaded once. Only the settings from the first format
// will be used but they're identical anyway.
var registeredPlugins = {};
for (var format in settings) {
if (Drupal.settings.wysiwyg.plugins[format]) {
... | JavaScript |
(function($) {
/**
* Attach this editor to a target element.
*/
Drupal.wysiwyg.editor.attach.wymeditor = function (context, params, settings) {
// Prepend basePath to wymPath.
settings.wymPath = settings.basePath + settings.wymPath;
// Update activeId on focus.
settings.postInit = function (instance) {
$... | JavaScript |
(function($) {
/**
* Attach this editor to a target element.
*/
Drupal.wysiwyg.editor.attach.nicedit = function(context, params, settings) {
// Intercept and ignore submit handlers or they will revert changes made
// since the instance was removed. The handlers are anonymous and hidden out
// of scope in a clo... | JavaScript |
// Backup $ and reset it to jQuery.
Drupal.wysiwyg._openwysiwyg = $;
$ = jQuery;
// Wrap openWYSIWYG's methods to temporarily use its version of $.
jQuery.each(WYSIWYG, function (key, value) {
if (jQuery.isFunction(value)) {
WYSIWYG[key] = function () {
var old$ = $;
$ = Drupal.wysiwyg._openwysiwyg;... | JavaScript |
var buttonPath = null;
(function($) {
/**
* Attach this editor to a target element.
*/
Drupal.wysiwyg.editor.attach.whizzywig = function(context, params, settings) {
// Previous versions used per-button images found in this location,
// now it is only used for custom buttons.
if (settings.buttonPath) {
w... | JavaScript |
var wysiwygWhizzywig = { currentField: null, fields: {} };
var buttonPath = null;
/**
* Override Whizzywig's document.write() function.
*
* Whizzywig uses document.write() by default, which leads to a blank page when
* invoked in jQuery.ready(). Luckily, Whizzywig developers implemented a
* shorthand w() substi... | JavaScript |
(function ($) {
// @todo Array syntax required; 'break' is a predefined token in JavaScript.
Drupal.wysiwyg.plugins['break'] = {
/**
* Return whether the passed node belongs to this plugin.
*/
isNode: function(node) {
return ($(node).is('img.wysiwyg-break'));
},
/**
* Execute the button.
*/
... | JavaScript |
tinyMCE.addToLang('break', {
title: 'Inserir marcador de document retallat',
desc: 'Generar el punt de separació entre la versió retallada del document i la resta del contingut'
});
| JavaScript |
tinyMCE.addToLang('break', {
title: 'Anrisstext trennen',
desc: 'Separiert den Anrisstext und Textkörper des Inhalts an dieser Stelle'
});
| JavaScript |
tinyMCE.addToLang('break', {
title: 'Insertar marcador de documento recortado',
desc: 'Generar el punto de separación entre la versión recortada del documento y el resto del contenido'
});
| JavaScript |
tinyMCE.addToLang('break', {
title: 'Insert teaser break',
desc: 'Separate teaser and body of this content'
});
| JavaScript |
/**
* Wysiwyg plugin button implementation for Awesome plugin.
*/
Drupal.wysiwyg.plugins.awesome = {
/**
* Return whether the passed node belongs to this plugin.
*
* @param node
* The currently focused DOM element in the editor content.
*/
isNode: function(node) {
return ($(node).is('img.mym... | JavaScript |
(function($) {
/**
* Initialize editor libraries.
*
* Some editors need to be initialized before the DOM is fully loaded. The
* init hook gives them a chance to do so.
*/
Drupal.wysiwygInit = function() {
// This breaks in Konqueror. Prevent it from running.
if (/KDE/.test(navigator.vendor)) {
return;
}... | JavaScript |
jQuery.support = jQuery.support || {}; // D6- only.
Drupal.wysiwyg = Drupal.wysiwyg || { 'instances': {} };
Drupal.wysiwyg.editor = Drupal.wysiwyg.editor || { 'init': {}, 'attach': {}, 'detach': {}, 'instance': {} };
Drupal.wysiwyg.plugins = Drupal.wysiwyg.plugins || {};
(function ($) {
// Determine support for ... | JavaScript |
// $Id: features.js,v 1.1.2.10 2010/08/09 14:56:58 yhahn Exp $
Drupal.behaviors.features = function() {
// Features management form package tabs
$("ul#features-form-links li a:not(.features-processed)").each(function() {
$(this).addClass('features.processed').click(function() {
$(".features-package-activ... | JavaScript |
Drupal.homebox = {
config: {}
};
Drupal.behaviors.homebox = function (context) {
var $homebox = $('#homebox:not(.homebox-processed)', context).addClass('homebox-processed');
if ($homebox.length > 0) {
// Find all columns
Drupal.homebox.$columns = $homebox.find('div.homebox-column');
Drupal.homebox.na... | JavaScript |
(function($) {
$.fn.tipsy = function(options) {
options = $.extend({}, $.fn.tipsy.defaults, options);
return this.each(function() {
var opts = $.fn.tipsy.elementOptions(this, options);
$(this).hover(function() {
$.data(this, 'cancel.tipsy', true);
... | JavaScript |
var fbss_allowClickRefresh = true;
var fbss_refreshIDs;
Drupal.behaviors.facebookStatus = function (context) {
var initialLoad = false;
// Drupal passes document as context on page load.
if (context == document) {
initialLoad = true;
}
// Make sure we can run context.find().
var ctxt = $(context);
fac... | JavaScript |
Drupal.behaviors.facebook_status_enter = function(context) {
var ctxt = $(context);
var shift = false;
ctxt.find('.facebook-status-text').keydown(function(e) {
if (e.which == 16) {
shift = true;
}
});
ctxt.find('.facebook-status-text').keyup(function(e) {
if (e.which == 16) {
shift = f... | JavaScript |
// Mostly copied from the AHAH Helper module.
(function($) {
if (Drupal.jsEnabled) {
$(document).ready(function() {
if (Drupal.ahah != undefined) {
/**
* Override of Drupal.ahah.prototype.success to allow for new Drupal.settings.
*/
Drupal.ahah.prototype.success = function (response, status) {
var wrapper =... | JavaScript |
Drupal.behaviors.facebookStatusAdmin = function (context) {
// Make sure we can run context.find().
var ctxt = $(context);
var handle = function() {
if (ctxt.find('input:radio[name=visibility]:checked').val() == '3') {
ctxt.find('#edit-pages-wrapper').hide();
ctxt.find('#edit-context-wrapper').sho... | JavaScript |
/**
* Ajax behavior for views.
*/
Drupal.behaviors.ViewsAjaxView = function() {
if (Drupal.settings && Drupal.settings.views && Drupal.settings.views.ajaxViews) {
var ajax_path = Drupal.settings.views.ajax_path;
// If there are multiple views this might've ended up showing up multiple times.
if (ajax_pa... | JavaScript |
Drupal.behaviors.fbss_comments = function (context) {
var ctxt = $(context);
// Mark the comments wrapper with no-comments class if no comments exist for this entry
ctxt.find('.facebook-status-comments').each(function (index, item) {
var $this = $(this);
var $comments = $('.fbss-comments', $this);
if ... | JavaScript |
Drupal.behaviors.fbss_comments_enter = function(context) {
var ctxt = $(context);
var shift = false;
ctxt.find('.fbss-comments-textarea').keydown(function(e) {
if (e.which == 16) {
shift = true;
}
});
ctxt.find('.fbss-comments-textarea').keyup(function(e) {
if (e.which == 16) {
shift =... | JavaScript |
// $Id: views_slideshow.js,v 1.1.2.2.2.35 2010/07/01 03:29:08 redndahead Exp $
/**
* @file
* A simple jQuery ThumbnailHover Div Slideshow Rotator.
*/
/**
* This will set our initial behavior, by starting up each individual slideshow.
*/
Drupal.behaviors.viewsSlideshowThumbnailHover = function (context) {
$('.v... | JavaScript |
// $Id: views_slideshow.js,v 1.1.2.1.2.39 2010/07/01 03:29:08 redndahead Exp $
/**
* @file
* A simple jQuery SingleFrame Div Slideshow Rotator.
*/
/**
* This will set our initial behavior, by starting up each individual slideshow.
*/
Drupal.behaviors.viewsSlideshowSingleFrame = function (context) {
$('.views... | JavaScript |
// $Id: content.js,v 1.1.2.3 2008/10/06 14:30:01 karens Exp $
Drupal.behaviors.cckManageFields = function(context) {
attachUpdateSelects(context);
};
function attachUpdateSelects(context) {
var widgetTypes = Drupal.settings.contentWidgetTypes;
var fields = Drupal.settings.contentFields;
// Store the default ... | JavaScript |
// $Id: editablefields.js,v 1.1.2.14.2.14 2010/01/19 19:01:03 markfoodyburton Exp $
Drupal.behaviors.editablefields = function(context) {
$('div.editablefields-html-load', context).not('.clicktoedit').not('.editablefields-processed').each(function() {
$(this).addClass('editablefields-processed');
Drupal.edit... | JavaScript |
/*
*
*/
Drupal.behaviors.conxtextual_search_box = function (context) {
$('#search-theme-form:not(.contextual-search-processed)')
.addClass('contextual-search-processed')
.each(Drupal.contextual_search_box.initialize);
};
Drupal.contextual_search_box = Drupal.contextual_search_box || {};
Drupal.contextua... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang('placeholder','he',{placeholder:{title:'מאפייני שומר מקום',toolbar:'צור שומר מקום',text:'תוכן שומר המקום',edit:'ערוך שומר מקום',textMissing:'שו... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang('placeholder','en',{placeholder:{title:'Placeholder Properties',toolbar:'Create Placeholder',text:'Placeholder Text',edit:'Edit Placeholder',te... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.add('docprops',{init:function(a){var b=new CKEDITOR.dialogCommand('docProps');b.modes={wysiwyg:a.config.fullPage};a.addCommand('docProps',b);CKEDITOR.d... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang('uicolor','he',{uicolor:{title:'בחירת צבע ממשק משתמש',preview:'תצוגה מקדימה',config:'הדבק את הטקסט הבא לתוך הקובץ config.js',predefined:'קבוצות... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang('uicolor','en',{uicolor:{title:'UI Color Picker',preview:'Live preview',config:'Paste this string into your config.js file',predefined:'Predefi... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
| JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang('devtools','en',{devTools:{title:'Element Information',dialogName:'Dialog window name',tabName:'Tab name',elementId:'Element ID',elementType:'E... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
// Compressed version of core/ckeditor_base.js. See original for instructions.
/*jsl:ignore*/
if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',vers... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.dialog.add( 'myDialog', function( editor )
{
return {
title : 'My Dialog',
minWidth : 400,
minHeight : 200,
contents : [
{
id : 'tab1',... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
// This file is not required by CKEditor and may be safely ignored.
// It is just a helper file that displays a red message about browser compatibility
// at the top ... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
// Compressed version of core/ckeditor_base.js. See original for instructions.
/*jsl:ignore*/
if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',vers... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.add( 'button',
{
beforeInit : function( editor )
{
editor.ui.addHandler( CKEDITOR.UI_BUTTON, CKEDITOR.ui.button.handler );
}
});
/**
* ... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
(function()
{
function protectFormStyles( formElement )
{
if ( !formElement || formElement.type != CKEDITOR.NODE_ELEMENT || formElement.getName() != 'form' )
... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.xml} class, which represents a
* loaded XML document.
*/
(function()
{
CKEDITOR.plugins.add( 'xml', {});
... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.add( 'smiley',
{
requires : [ 'dialog' ],
init : function( editor )
{
editor.config.smiley_path = editor.config.smiley_path || ( this.path ... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.