code
stringlengths
1
2.08M
language
stringclasses
1 value
var searchData= [ ['back_2ejava',['Back.java',['../_back_8java.html',1,'']]], ['button_2ejava',['Button.java',['../_button_8java.html',1,'']]] ];
JavaScript
var searchData= [ ['maderapuas',['MaderaPuas',['../class_madera_puas.html',1,'']]], ['maderita',['Maderita',['../class_maderita.html',1,'']]], ['maderota',['Maderota',['../class_maderota.html',1,'']]] ];
JavaScript
var searchData= [ ['score2',['Score2',['../class_score2.html',1,'']]], ['simpletimer',['SimpleTimer',['../class_simple_timer.html',1,'']]] ];
JavaScript
var searchData= [ ['yanoestacaja',['yaNoEstaCaja',['../class_maderota.html#ad579114bf6596692f2d78864a3643551',1,'Maderota']]] ];
JavaScript
var searchData= [ ['score2',['Score2',['../class_score2.html',1,'Score2'],['../class_score2.html#abfc2a3f86bbadbb5103cc0c67bb2abcf',1,'Score2.Score2()']]], ['score2_2ejava',['Score2.java',['../_score2_8java.html',1,'']]], ['seencuentraglobo',['seEncuentraGlobo',['../class_globito.html#a6dc4dee7fe0230442539a98e5c9...
JavaScript
var searchData= [ ['records_2ejava',['Records.java',['../_records_8java.html',1,'']]], ['recorduser_2ejava',['RecordUser.java',['../_record_user_8java.html',1,'']]] ];
JavaScript
var searchData= [ ['noseencuetraglobo',['noSeEncuetraGlobo',['../class_patricio.html#aa82101df7af4858fb5f5f1b1bcac342d',1,'Patricio']]] ];
JavaScript
var searchData= [ ['eliminaleglobo',['eliminaleGlobo',['../class_patricio.html#a9e112dd1e63dd0316a97e1b9ec56aa6b',1,'Patricio']]], ['encuentralindonopal',['encuentraLindoNopal',['../class_globito.html#aed55cd95e3cf68c1d77b85a158243a5f',1,'Globito']]], ['encuentramaderita',['encuentraMaderita',['../class_globito.h...
JavaScript
var searchData= [ ['maderacae',['maderaCae',['../class_maderota.html#a7e87571ca7fbd98acaa8bb262d1820e0',1,'Maderota']]], ['maderapuas',['MaderaPuas',['../class_madera_puas.html',1,'']]], ['maderapuas_2ejava',['MaderaPuas.java',['../_madera_puas_8java.html',1,'']]], ['maderita',['Maderita',['../class_maderita.ht...
JavaScript
var searchData= [ ['damepuntaje',['damePuntaje',['../class_score2.html#aefbbeb7093f17f0d2eecbf3a5a0412a8',1,'Score2']]], ['decrementapuntaje',['decrementaPuntaje',['../class_score2.html#a561cc012e4db409856ada84ca032ea96',1,'Score2']]], ['detenpatricio',['detenPatricio',['../class_patricio.html#a428b9470ccc8f8e6d9...
JavaScript
var searchData= [ ['cactus_2ejava',['Cactus.java',['../_cactus_8java.html',1,'']]], ['cactusder_2ejava',['Cactusder.java',['../_cactusder_8java.html',1,'']]], ['cactusizq_2ejava',['Cactusizq.java',['../_cactusizq_8java.html',1,'']]], ['caja1_2ejava',['Caja1.java',['../_caja1_8java.html',1,'']]], ['caja2_2ejav...
JavaScript
var searchData= [ ['records',['Records',['../class_records.html',1,'']]], ['recorduser',['RecordUser',['../class_record_user.html',1,'']]] ];
JavaScript
var searchData= [ ['disparo_2ejava',['Disparo.java',['../_disparo_8java.html',1,'']]] ];
JavaScript
var searchData= [ ['letrero',['Letrero',['../class_letrero.html',1,'']]] ];
JavaScript
var searchData= [ ['maderapuas_2ejava',['MaderaPuas.java',['../_madera_puas_8java.html',1,'']]], ['maderita_2ejava',['Maderita.java',['../_maderita_8java.html',1,'']]], ['maderota_2ejava',['Maderota.java',['../_maderota_8java.html',1,'']]] ];
JavaScript
var searchData= [ ['eliminaleglobo',['eliminaleGlobo',['../class_patricio.html#a9e112dd1e63dd0316a97e1b9ec56aa6b',1,'Patricio']]], ['encuentralindonopal',['encuentraLindoNopal',['../class_globito.html#aed55cd95e3cf68c1d77b85a158243a5f',1,'Globito']]], ['encuentramaderita',['encuentraMaderita',['../class_globito.h...
JavaScript
var class_maderota = [ [ "act", "class_maderota.html#aa749324d5e580c35b7b1e7e7c35e1c61", null ], [ "maderaCae", "class_maderota.html#a7e87571ca7fbd98acaa8bb262d1820e0", null ], [ "meEncontreUnaCaja", "class_maderota.html#a48e7fa54c93dc02c1e1518ce734bc646", null ], [ "piedritaMeCayoEncima", "class_madero...
JavaScript
var class_madera_puas = [ [ "act", "class_madera_puas.html#a844bba5a87f3ae057b6a0cfdfdd632ac", null ] ];
JavaScript
function toggleVisibility(linkObj) { var base = $(linkObj).attr('id'); var summary = $('#'+base+'-summary'); var content = $('#'+base+'-content'); var trigger = $('#'+base+'-trigger'); var src=$(trigger).attr('src'); if (content.is(':visible')===true) { content.hide(); summary.show(); $(linkObj).addClass...
JavaScript
var class_simple_timer = [ [ "mark", "class_simple_timer.html#abe5debfac2280fc4f432a496393ddfe8", null ], [ "millisElapsed", "class_simple_timer.html#abe6ae784edd29f6ab2e29da7b7ea0b1b", null ] ];
JavaScript
var files = [ [ "amigoBurbuja", "dir_9633a5761a6d31679e60c87082308daa.html", "dir_9633a5761a6d31679e60c87082308daa" ] ];
JavaScript
var class_help = [ [ "act", "class_help.html#af312c9b8bfa4b790457a0eddaffbac06", null ], [ "funciona", "class_help.html#ab9e6aceffe762be3cd5e08d274025aec", null ] ];
JavaScript
var class_next = [ [ "act", "class_next.html#a3c15a5aaf9c113b48141202d22a3e68b", null ], [ "funciona", "class_next.html#aaa63978613f1c10b27803296d1dcc10a", null ] ];
JavaScript
var annotated = [ [ "Back", "class_back.html", "class_back" ], [ "Button", "class_button.html", "class_button" ], [ "Cactus", "class_cactus.html", "class_cactus" ], [ "Cactusder", "class_cactusder.html", "class_cactusder" ], [ "Cactusizq", "class_cactusizq.html", "class_cactusizq" ], [ "Caja1", ...
JavaScript
var NAVTREEINDEX0 = { "_back_8java.html":[1,0,0,0], "_button_8java.html":[1,0,0,1], "_cactus_8java.html":[1,0,0,2], "_cactusder_8java.html":[1,0,0,3], "_cactusizq_8java.html":[1,0,0,4], "_caja1_8java.html":[1,0,0,5], "_caja2_8java.html":[1,0,0,6], "_cajas_8java.html":[1,0,0,7], "_disparo_8java.html":[1,0,0,8], "_espina...
JavaScript
var class_maderita = [ [ "act", "class_maderita.html#a6aee19b9595959a1ffe866a7ba7a43ca", null ] ];
JavaScript
var class_cajas = [ [ "act", "class_cajas.html#ac2b71915106a37ccb22ab6ee96b15f65", null ], [ "meTocoUnRaton", "class_cajas.html#aca41fdb754ba69a3b57fec5cc53f110b", null ] ];
JavaScript
var class_back = [ [ "act", "class_back.html#a807accbd7bb2ec1d25ba5540e5b4782f", null ], [ "funciona", "class_back.html#ae4050ebe451e4bbbc86de16a1ccf3af5", null ] ];
JavaScript
var cookie_namespace = 'doxygen'; var sidenav,navtree,content,header; function readCookie(cookie) { var myCookie = cookie_namespace+"_"+cookie+"="; if (document.cookie) { var index = document.cookie.indexOf(myCookie); if (index != -1) { var valStart = index + myCookie.length; var valE...
JavaScript
var class_fondo = [ [ "Fondo", "class_fondo.html#ae2286dba688ae7867fa228cec32f14f5", null ], [ "actualicemosPuntos", "class_fondo.html#aed58d79190373dabad480ff928d61863", null ], [ "cambiaJuego", "class_fondo.html#a1107d3ba2cdfba378867034379cc4379", null ], [ "GameRecords", "class_fondo.html#ac40c7c0e02...
JavaScript
var class_piedrita = [ [ "act", "class_piedrita.html#a67271ff1e43b9afa13099d3ae7b9aacf", null ], [ "espinitaMePego", "class_piedrita.html#a2e12f9694203bd1e0aeb148b7664366a", null ], [ "siPiedritaEncuentraCaja", "class_piedrita.html#a0fa641a574af495e2b2a8f6890f4fd22", null ], [ "siPiedritaEncuentraMaderi...
JavaScript
var class_score2 = [ [ "Score2", "class_score2.html#abfc2a3f86bbadbb5103cc0c67bb2abcf", null ], [ "act", "class_score2.html#a083ba99764f5fd2508e9fcc1bc144853", null ], [ "damePuntaje", "class_score2.html#aefbbeb7093f17f0d2eecbf3a5a0412a8", null ], [ "decrementaPuntaje", "class_score2.html#a561cc012e4db4...
JavaScript
var NAVTREE = [ [ "Amigo Burbuja", "index.html", [ [ "Classes", null, [ [ "Class List", "annotated.html", "annotated" ], [ "Class Index", "classes.html", null ], [ "Class Hierarchy", "hierarchy.html", "hierarchy" ], [ "Class Members", "functions.html", [ [ "All", "functions.html", ...
JavaScript
var class_caja1 = [ [ "act", "class_caja1.html#a11ba755bf50cccbcf448dd75e1157201", null ] ];
JavaScript
var class_espina = [ [ "act", "class_espina.html#ae7c32cb63cb5b23222f7dd9bd936a3f8", null ], [ "disparaDer", "class_espina.html#ad8a70b88b64446fe69f9f052b08399bb", null ], [ "disparaIzq", "class_espina.html#a57eb765d3fb52d2c408f765fc9d6017f", null ] ];
JavaScript
var class_obstaculo = [ [ "Obstaculo", "class_obstaculo.html#aa5aaa7230da50c4c7a094f0a2158e85e", null ], [ "act", "class_obstaculo.html#ac432ad3bc5b8231458a5655ca46aac83", null ], [ "baja", "class_obstaculo.html#a8cb2aeaf3c3ce2920e973c1560ec7648", null ], [ "caeObjeto", "class_obstaculo.html#a20ffcfc83d...
JavaScript
var class_patricio = [ [ "Patricio", "class_patricio.html#a5d59e42f276cc76374dea8bcdd62c9af", null ], [ "act", "class_patricio.html#af6e9cd1691880ee6c7fdcf2e35f434d9", null ], [ "caePatricio", "class_patricio.html#a1f4fd2f258d7382d1a83ea93980c1b1e", null ], [ "detenPatricio", "class_patricio.html#a428b9...
JavaScript
var class_portador = [ [ "act", "class_portador.html#ab1886fcb2ea38e1817475b3db1d76f06", null ], [ "meTocoUnRaton", "class_portador.html#a91fca9c9d44b7313a09273c8062584c4", null ], [ "seEncuetraObstaculo", "class_portador.html#ac5937b88b5e49d58724521393c903671", null ] ];
JavaScript
var class_cactusizq = [ [ "act", "class_cactusizq.html#ad3271c860cf6058261100d12262fa3cb", null ], [ "espinasVamosTodosJuntos", "class_cactusizq.html#a7e840ee1f1c78c08a100a3efced2d869", null ] ];
JavaScript
var class_button = [ [ "act", "class_button.html#a9d017a57e3989ce2240a0649cf49622e", null ], [ "funciona", "class_button.html#a7e0baf5af280f0fb468cd6b12da10a21", null ] ];
JavaScript
var class_objeto_sube = [ [ "mueve", "class_objeto_sube.html#a7de738f515da8d3a587cd5e499aa35d0", null ], [ "subir", "class_objeto_sube.html#a4b5d4e87c960bf12629b81cef955a8fa", null ], [ "subir", "class_objeto_sube.html#a21b0c98372c740fe0237c6634cd6d581", null ] ];
JavaScript
var class_globito = [ [ "Globito", "class_globito.html#a3123d3f7082be25ebc81b508b9013cf9", null ], [ "act", "class_globito.html#a28ba368a5af40d3a82f75ed56e8c859f", null ], [ "cambiaImagenGlobo", "class_globito.html#aba2590583e7128a5b2daa7feefb154be", null ], [ "contador", "class_globito.html#a96c6f69159...
JavaScript
var hierarchy = [ [ "Actor", null, [ [ "Button", "class_button.html", [ [ "Back", "class_back.html", null ], [ "Help", "class_help.html", null ], [ "Next", "class_next.html", null ], [ "Play", "class_play.html", null ], [ "Records", "class_records.html", null ] ] ...
JavaScript
var class_caja2 = [ [ "act", "class_caja2.html#a22fb0940e176a09c5913edadfaf5a692", null ] ];
JavaScript
var class_disparo = [ [ "accedeEspinita", "class_disparo.html#a49928fd68eee9b7cd7a51b19497237c9", null ], [ "act", "class_disparo.html#ab024e309ae6fb0c99177cf920ccdd418", null ], [ "espinasVamosTodosJuntos", "class_disparo.html#a6f949a9d961657af51875b0cca5e09da", null ] ];
JavaScript
var class_record_user = [ [ "RecordUser", "class_record_user.html#ab13f637d4d8e0408ddc347c9603bb8a3", null ], [ "addToWorld", "class_record_user.html#a2917ce58fc6023747e46e3f692f3eeae", null ] ];
JavaScript
var class_cactus = [ [ "act", "class_cactus.html#aa02e60007595bc48834855fa6dc23c49", null ] ];
JavaScript
var class_cactusder = [ [ "act", "class_cactusder.html#ac02165576e3f663cd77506d26ddb8cb8", null ], [ "espinasVamosTodosJuntos", "class_cactusder.html#af88406db8e80577654b3e3229d74628b", null ] ];
JavaScript
var class_letrero = [ [ "Letrero", "class_letrero.html#a6fb7d136cc91a443972e9071bb604ac5", null ], [ "muestraLetrero", "class_letrero.html#ac3a506f2181a857a512dc4c59b1c4777", null ] ];
JavaScript
var dir_9633a5761a6d31679e60c87082308daa = [ [ "Back.java", "_back_8java.html", [ [ "Back", "class_back.html", "class_back" ] ] ], [ "Button.java", "_button_8java.html", [ [ "Button", "class_button.html", "class_button" ] ] ], [ "Cactus.java", "_cactus_8java.html", [ [ "Cactus", "c...
JavaScript
(function ($) { // Behavior to load FlexSlider Drupal.behaviors.flexslider = { attach: function(context, settings) { $('.flexslider', context).once('flexslider', function() { $(this).each(function() { var $this = $(this); var id = $this.attr('id'); if (settings.flexslider !...
JavaScript
(function ($) { // @todo convert to use Drupal.behaviors // @todo add configuration options // Register callback to save references to flexslider instances. Allows // Views Slideshow controls to affect the slider function flexslider_views_slideshow_register(fullId, slider) { Drupal.flexsliderViews...
JavaScript
/** * @file * Adds the collapsible functionality to the rules debug log. */ // Registers the rules namespace. Drupal.rules = Drupal.rules || {}; (function($) { Drupal.behaviors.rules_debug_log = { attach: function(context) { $('.rules-debug-open').click(function () { var icon = $(th...
JavaScript
// Registers the rules namespace. Drupal.rules = Drupal.rules || {}; (function($) { Drupal.behaviors.rules_autocomplete = { attach: function(context) { var autocomplete_settings = Drupal.settings.rules_autocomplete; $('input.rules-autocomplete').once(function() { var input = this;...
JavaScript
/* $Id: lightbox2.js,v 1.1.4.39 2010/06/07 15:24:24 snpower Exp $ */ // start jQuery block (function ($) { function alt_layout_handler(event) { if ($("input[name=lightbox2_lite]:checked").val() != 1) { if ($("input[name=lightbox2_use_alt_layout]:checked").val() == 1) { $("input[name=lightbox2_forc...
JavaScript
// Image Node Auto-Format with Auto Image Grouping. // Original version by Steve McKenzie. // Altered by Stella Power for jQuery version. (function ($) { function parse_url(url, param) { param = param.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]"); url = url.replace(/&/, "&"); var regexS = "[\\?&]"+...
JavaScript
/* $Id: lightbox.js,v 1.5.2.6.2.136 2010/09/24 08:39:40 snpower Exp $ */ /** * jQuery Lightbox * @author * Stella Power, <http://drupal.org/user/66894> * * Based on Lightbox v2.03.3 by Lokesh Dhakar * <http://www.huddletogether.com/projects/lightbox2/> * Also partially based on the jQuery Lightbox by...
JavaScript
/* $Id: lightbox_lite.js,v 1.1.2.2.2.19 2010/06/07 14:54:30 snpower Exp $ */ /** * Lightbox JS: Fullsize Image Overlays * by Lokesh Dhakar - http://www.huddletogether.com * * For more information on this script, visit: * http://huddletogether.com/projects/lightbox/ * * This script is distributed via Dr...
JavaScript
// script.aculo.us scriptaculous.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008 // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) // // Permission is hereby granted, free of charge, to any person obtaining // a copy of this software and associated documentation files (the // "Soft...
JavaScript
(function ($) { function lightbox2_login() { $("a[href*='/user/login'], a[href*='?q=user/login']").each(function() { $(this).attr({ href: this.href.replace(/user\/login?/,"user/login/lightbox2"), rel: 'lightmodal[|width:250px; height:210px;]' }); $(this).addClass('lightmodal-login')...
JavaScript
/* $Id: lightbox_video.js,v 1.1.4.20 2010/09/21 17:57:22 snpower Exp $ */ /** * Lightbox video * @author * Stella Power, <http://drupal.org/user/66894> */ var Lightvideo; // start jQuery block (function ($) { Lightvideo = { // startVideo() startVideo: function (href) { if (Lightvideo.c...
JavaScript
// script.aculo.us builder.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008 // Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) // // script.aculo.us is freely distributable under the terms of an MIT-style license. // For details, see the script.aculo.us web site: http://script.aculo.us...
JavaScript
(function ($) { $(document).ready(function() { // Expression to check for absolute internal links. var isInternal = new RegExp("^(https?):\/\/" + window.location.host, "i"); // Attach onclick event to document only and catch clicks on all elements. $(document.body).click(function(event) { // Cat...
JavaScript
(function ($) { /** * Provide the summary information for the tracking settings vertical tabs. */ Drupal.behaviors.trackingSettingsSummary = { attach: function (context) { // Make sure this behavior is processed only if drupalSetSummary is defined. if (typeof jQuery.fn.drupalSetSummary == 'undefine...
JavaScript
/** * This is part of a patch to address a jQueryUI bug. The bug is responsible * for the inability to scroll a page when a modal dialog is active. If the content * of the dialog extends beyond the bottom of the viewport, the user is only able * to scroll with a mousewheel or up/down keyboard keys. * * @se...
JavaScript
/** * @file * Some basic behaviors and utility functions for Views UI. */ Drupal.viewsUi = {}; Drupal.behaviors.viewsUiEditView = {}; /** * Improve the user experience of the views edit interface. */ Drupal.behaviors.viewsUiEditView.attach = function (context, settings) { // Only show the SQL rewri...
JavaScript
/** * @file * Javascript related to the main view list. */ (function ($) { Drupal.behaviors.viewsUIList = { attach: function (context) { $('#ctools-export-ui-list-items thead a').once('views-ajax-processed').each(function() { $(this).click(function() { var query = $.deparam.querystring...
JavaScript
/** * @file * Handles AJAX fetching of views, including filter submission and response. */ (function ($) { /** * Attaches the AJAX behavior to Views exposed filter forms and key View links. */ Drupal.behaviors.ViewsAjaxView = {}; Drupal.behaviors.ViewsAjaxView.attach = function() { if (Drupal.setting...
JavaScript
/** * @file * Javascript related to contextual links. */ (function ($) { Drupal.behaviors.viewsContextualLinks = { attach: function (context) { // If there are views-related contextual links attached to the main page // content, find the smallest region that encloses both the links and the /...
JavaScript
/** * @file * Some basic behaviors and utility functions for Views. */ (function ($) { Drupal.Views = {}; /** * jQuery UI tabs, Views integration component */ Drupal.behaviors.viewsTabs = { attach: function (context) { if ($.viewsUi && $.viewsUi.tabs) { $('#views-tabset').once('views-pr...
JavaScript
/** * @file * Handles AJAX submission and response in Views UI. */ (function ($) { Drupal.ajax.prototype.commands.viewsSetForm = function (ajax, response, status) { var ajax_title = Drupal.settings.views.ajax.title; var ajax_body = Drupal.settings.views.ajax.id; var ajax_popup = Drupal.settin...
JavaScript
(function($){ Drupal.behaviors.contextReactionBlock = {attach: function(context) { $('form.context-editor:not(.context-block-processed)') .addClass('context-block-processed') .each(function() { var id = $(this).attr('id'); Drupal.contextBlockEditor = Drupal.contextBlockEditor || {}; $...
JavaScript
(function($) { /** * Context plugin form. */ function DrupalContextPlugins(form) { this.form = form; // Sync the form selector and state field with the list of plugins currently enabled. this.setState = function() { var state = []; $('.context-plugin-list > li', this.form).each(function() {...
JavaScript
/** * Generic pageEditor plugin. Allows an editor DOM object to trigger * init, start, and end events. Implementors can check whether the * editor is currently editing and bind handlers for the events triggered * by the editor. */ (function($) { $.fn.pageEditor = function(method, data) { this.each(...
JavaScript
(function ($) { Drupal.behaviors.context_ui_dialog = { attach: function(context) { var selector = $('#context_ui_dialog-context-ui', context).not('context_ui_dialog-processed'); if(selector) { selector.addClass('context_ui_dialog-processed'); selector.detach(); $('#page').pre...
JavaScript
/** * create a simple search filter thing for a list */ (function ($) { Drupal.Filter = function (list, title, type, parent){ this.list = list; this.title = title; //provide defaults for type and parent so bad things don't happen if (!type) { var type = '*'; } this.type = type; if (!parent)...
JavaScript
(function($) { Drupal.behaviors.contextLayoutsReactionBlock = {}; Drupal.behaviors.contextLayoutsReactionBlock.attach = function(context) { // ContextBlockForm: Init. $('.context-blockform-layout:not(.contextLayoutsProcessed)').each(function() { $(this).addClass('contextLayoutsProcessed'); $(this)...
JavaScript
/** * @file * CTools Bulk Export javascript functions. */ (function ($) { Drupal.behaviors.CToolsBulkExport = { attach: function (context) { $('#bulk-export-export-form .vertical-tabs-pane', context).drupalSetSummary(function (context) { // Check if any individual checkbox is checked. ...
JavaScript
/** * Provide the HTML to create the modal dialog. */ Drupal.theme.prototype.CToolsSampleModal = function () { var html = ''; html += '<div id="ctools-modal" class="popups-box">'; html += ' <div class="ctools-modal-content ctools-sample-modal-content">'; html += ' <table cellpadding="0" cellspacing...
JavaScript
/** * @file * * Implement a modal form. * * @see modal.inc for documentation. * * This javascript relies on the CTools ajax responder. */ (function ($) { // Make sure our objects are defined. Drupal.CTools = Drupal.CTools || {}; Drupal.CTools.Modal = Drupal.CTools.Modal || {}; /** *...
JavaScript
/** * @file * * CTools flexible AJAX responder object. */ (function ($) { Drupal.CTools = Drupal.CTools || {}; Drupal.CTools.AJAX = Drupal.CTools.AJAX || {}; /** * Grab the response from the server and store it. * * @todo restore the warm cache functionality */ Drupal.CTools.AJAX....
JavaScript
// $Id$ /** * @file * Implement a simple, clickable dropbutton menu. * * See dropbutton.theme.inc for primary documentation. * * The javascript relies on four classes: * - The dropbutton must be fully contained in a div with the class * ctools-dropbutton. It must also contain the class ctools-no-js ...
JavaScript
/** * @file * Implement a simple, clickable dropdown menu. * * See dropdown.theme.inc for primary documentation. * * The javascript relies on four classes: * - The dropdown must be fully contained in a div with the class * ctools-dropdown. It must also contain the class ctools-dropdown-no-js * whi...
JavaScript
/** * @file * Provides dependent visibility for form items in CTools' ajax forms. * * To your $form item definition add: * - '#process' => array('ctools_process_dependency'), * - '#dependency' => array('id-of-form-item' => array(list, of, values, that, * make, this, item, show), * * Special consider...
JavaScript
(function($) { Drupal.behaviors.CToolsJumpMenu = { attach: function(context) { $('.ctools-jump-menu-hide') .once('ctools-jump-menu') .hide(); $('.ctools-jump-menu-change') .once('ctools-jump-menu') .change(function() { var loc = $(this).val(); ...
JavaScript
(function ($) { Drupal.CTools = Drupal.CTools || {}; Drupal.CTools.Stylizer = {}; Drupal.CTools.Stylizer.addFarbtastic = function(context) { // This behavior attaches by ID, so is only valid once on a page. if ($('ctools_stylizer_color_scheme_form .color-form.Stylizer-processed').size()) { ...
JavaScript
(function($){ /** * To make a form auto submit, all you have to do is 3 things: * * ctools_add_js('auto-submit'); * * On gadgets you want to auto-submit when changed, add the ctools-auto-submit * class. With FAPI, add: * @code * '#attributes' => array('class' => array('ctools-auto-submit')), * @endc...
JavaScript
/** * @file * Javascript required for a simple collapsible div. * * Creating a collapsible div with this doesn't take too much. There are * three classes necessary: * * - ctools-collapsible-container: This is the overall container that will be * collapsible. This must be a div. * - ctools-collapsibl...
JavaScript
/** * Provide some extra responses for the page list so we can have automatic * on change. */ Drupal.behaviors.PageManagerList = function() { var timeoutID = 0; $('form#page-manager-list-pages-form select:not(.pm-processed)') .addClass('pm-processed') .change(function() { $('#edit-page...
JavaScript
(function ($) { Drupal.behaviors.metatagUIConfigListing = { attach: function (context) { // Hide elements to be visible if JavaScript is enabled. $('.js-show').show(); // Make the leaf arrow clickable. $('.metatag-config-label').hover(function(){ $(this).css({'cursor':'pointer'}); ...
JavaScript
(function ($) { Drupal.behaviors.metatagFieldsetSummaries = { attach: function (context) { $('fieldset.metatags-form', context).drupalSetSummary(function (context) { var vals = []; $("input[type='text'], select, textarea", context).each(function() { var default_name = $(this).attr('n...
JavaScript
(function ($) { Drupal.behaviors.pathFieldsetSummaries = { attach: function (context) { $('fieldset.path-form', context).drupalSetSummary(function (context) { var path = $('.form-item-path-alias input').val(); var automatic = $('.form-item-path-pathauto input').attr('checked'); if (aut...
JavaScript
/** * @file * Test JavaScript file for Libraries loading. * * Replace the text in the 'libraries-test-javascript' div. See README.txt for * more information. */ (function ($) { Drupal.behaviors.librariesTest = { attach: function(context, settings) { $('.libraries-test-javascript').text('If t...
JavaScript
/** * @file * Test JavaScript file for Libraries loading. * * Replace the text in the 'libraries-test-javascript' div. See README.txt for * more information. */ (function ($) { Drupal.behaviors.librariesTest = { attach: function(context, settings) { $('.libraries-test-javascript').text('If t...
JavaScript
/** * @file * Test JavaScript file for Libraries loading. * * Replace the text in the 'libraries-test-javascript' div. See README.txt for * more information. */ (function ($) { Drupal.behaviors.librariesTest = { attach: function(context, settings) { $('.libraries-test-javascript').text('If t...
JavaScript
/** * @file * Test JavaScript file for Libraries loading. * * Replace the text in the 'libraries-test-javascript' div. See README.txt for * more information. */ (function ($) { Drupal.behaviors.librariesTest = { attach: function(context, settings) { $('.libraries-test-javascript').text('If t...
JavaScript
/** * @file * Test JavaScript file for Libraries loading. * * Replace the text in the 'libraries-test-javascript' div. See README.txt for * more information. */ (function ($) { Drupal.behaviors.librariesTest = { attach: function(context, settings) { $('.libraries-test-javascript').text('If t...
JavaScript
(function ($) { /** * Webform node form interface enhancments. */ Drupal.behaviors.webformAdmin = {}; Drupal.behaviors.webformAdmin.attach = function(context) { // Apply special behaviors to fields with default values. Drupal.webform.defaultValues(context); // On click or change, make a parent radio...
JavaScript
/** * JavaScript behaviors for the front-end display of webforms. */ (function ($) { Drupal.behaviors.webform = Drupal.behaviors.webform || {}; Drupal.behaviors.webform.attach = function(context) { // Calendar datepicker behavior. Drupal.webform.datepicker(context); }; Drupal.webform = Drupal.w...
JavaScript
/** * @file * Enhancements for select list configuration options. */ (function ($) { Drupal.behaviors.webformSelectLoadOptions = {}; Drupal.behaviors.webformSelectLoadOptions.attach = function(context) { settings = Drupal.settings; $('#edit-extra-options-source', context).change(function() { ...
JavaScript