code
stringlengths
1
2.08M
language
stringclasses
1 value
(function($){ $(document).ready(function(){ var weight = Drupal.settings.js_weights.green; var newDiv = $('<div></div>').css('color', 'green').html('I have a weight of ' + weight); $('#js-weights').append(newDiv); }); })(jQuery);
JavaScript
(function($){ $(document).ready(function(){ var weight = Drupal.settings.js_weights.red; var newDiv = $('<div></div>').css('color', 'red').html('I have a weight of ' + weight); $('#js-weights').append(newDiv); }); })(jQuery);
JavaScript
(function($){ $(document).ready(function(){ var weight = Drupal.settings.js_weights.blue; var newDiv = $('<div></div>').css('color', 'blue').html('I have a weight of ' + weight); $('#js-weights').append(newDiv); }); })(jQuery);
JavaScript
(function($){ $(document).ready(function(){ var weight = Drupal.settings.js_weights.brown; var newDiv = $('<div></div>').css('color', 'brown').html('I have a weight of ' + weight); $('#js-weights').append(newDiv); }); })(jQuery);
JavaScript
(function($) { Drupal.admin = Drupal.admin || {}; Drupal.admin.behaviors = Drupal.admin.behaviors || {}; /** * @ingroup admin_behaviors * @{ */ /** * Apply active trail highlighting based on current path. * * @todo Not limited to toolbar; move into core? */ Drupal.admin.behaviors.toolbarActiveTrail = function...
JavaScript
(function($) { Drupal.admin = Drupal.admin || {}; Drupal.admin.behaviors = Drupal.admin.behaviors || {}; Drupal.admin.hashes = Drupal.admin.hashes || {}; /** * Core behavior for Administration menu. * * Test whether there is an administration menu is in the output and execute all * registered behaviors. */ Drupa...
JavaScript
(function($) { /** * Live preview of Administration menu components. */ Drupal.behaviors.adminMenuLivePreview = { attach: function (context, settings) { $('input[name^="admin_menu_components"]', context).once('admin-menu-live-preview') .change(function () { var target = $(this).attr('rel'); ...
JavaScript
(function($) { /** * jQuery debugging helper. * * Invented for Dreditor. * * @usage * $.debug(var [, name]); * $variable.debug( [name] ); */ jQuery.extend({ debug: function () { // Setup debug storage in global window. We want to look into it. window.debug = window.debug || []; args = jQuery...
JavaScript
(function($) { Drupal.behaviors.moduleFilterDynamicPosition = { attach: function() { $(window).scroll(function() { // Vertical movement. var top = $('#module-filter-tabs').offset().top; var bottom = top + $('#module-filter-tabs').height(); var windowHeight = $(window).height(...
JavaScript
(function ($) { Drupal.ModuleFilter = Drupal.ModuleFilter || {}; Drupal.ModuleFilter.textFilter = ''; Drupal.ModuleFilter.timeout; Drupal.ModuleFilter.tabs = {}; Drupal.ModuleFilter.enabling = {}; Drupal.ModuleFilter.disabling = {}; Drupal.behaviors.moduleFilter = { attach: function() { // Set...
JavaScript
(function ($) { var moduleFilterTimeOut; var moduleFilterTextFilter = ''; Drupal.behaviors.moduleFilter = { attach: function() { $("#module-filter-wrapper").show(); $('input[name="module_filter[name]"]').focus(); $('input[name="module_filter[name]"]').keyup(function(e) { switch (e....
JavaScript
(function ($) { /** * The base States namespace. * * Having the local states variable allows us to use the States namespace * without having to always declare "Drupal.states". */ var states = Drupal.states = { // An array of functions that should be postponed. postponed: [] }; /** * Attaches the states. */...
JavaScript
/*! * jQuery Form Plugin * version: 2.69 (06-APR-2011) * @requires jQuery v1.3.2 or later * * Examples and documentation at: http://malsup.com/jquery/form/ * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */ ;(functi...
JavaScript
/** * Attaches the calendar behavior to all required fields */ (function ($) { Drupal.behaviors.date_popup = { attach: function (context) { for (var id in Drupal.settings.datePopup) { $('#'+ id).bind('focus', Drupal.settings.datePopup[id], function(e) { if (!$(this).hasClass('date-popup-init')) { ...
JavaScript
(function ($) { Drupal.behaviors.dateYearRange = {}; Drupal.behaviors.dateYearRange.attach = function (context, settings) { var $textfield, $textfields, i; // Turn the years back and forward fieldsets into dropdowns. $textfields = $('input.select-list-with-custom-option', context).once('date-year-range'); fo...
JavaScript
(function ($) { Drupal.behaviors.dateAdmin = {}; Drupal.behaviors.dateAdmin.attach = function (context, settings) { // Remove timezone handling options for fields without hours granularity. var $hour = $('#edit-field-settings-granularity-hour').once('date-admin'); if ($hour.length) { new Drupal.dateAdmin.Ti...
JavaScript
(function ($) { Drupal.behaviors.dateSelect = {}; Drupal.behaviors.dateSelect.attach = function (context, settings) { var $widget = $('.form-type-date-select').parents('fieldset').once('date'); var i; for (i = 0; i < $widget.length; i++) { new Drupal.date.EndDateHandler($widget[i]); } }; Drupal.date = D...
JavaScript
/** * @file * Run map! */ (function($) { ymaps.ready(function() { if (Drupal.settings.yamaps) { // Initialize layouts $.yaMaps.initLayouts(); for (var mapId in Drupal.settings.yamaps) { var options = Drupal.settings.yamaps[mapId]; // If zoom and center are not set - set it ...
JavaScript
/** * @file * Routes support plugin */ (function($) { ymaps.ready(function() { // Add routes support to map $.yaMaps.addMapTools(function(Map) { // Start and end of route var firstPoint = null; var secondPoint = null; // Export route to html element var exportRoute = functio...
JavaScript
/** * @file * Placemarks support plugin */ (function($) { ymaps.ready(function() { // Class for one placemark $.yaMaps.YamapsPlacemark = function(geometry, properties, options) { this.placemark = new ymaps.Placemark(geometry, properties, options); this.parent = null; // Set placemark ic...
JavaScript
/** * @file * Polylines support plugin */ (function($) { ymaps.ready(function() { // Class for one line $.yaMaps.YamapsLine = function(geometry, properties, options) { this._init(new ymaps.Polyline(geometry, properties, options)); }; $.yaMaps.YamapsLine.prototype = $.yaMaps.BaseYamapsObject;...
JavaScript
/** * @file * Initialize object extended to jQuery for global operations */ (function($) { ymaps.ready(function() { $.extend({ yaMaps: { // maps on page. maps: {}, // map tools _mapTools: [], // Layouts _layouts: {}, addMapTools: function(button) {...
JavaScript
/** * @file * Polygons support plugin */ (function($) { ymaps.ready(function() { // Class for one polygon $.yaMaps.YamapsPolygon = function(geometry, properties, options) { this._init(new ymaps.Polygon(geometry, properties, options)); }; $.yaMaps.YamapsPolygon.prototype = $.yaMaps.BaseYamaps...
JavaScript
/** * @file * Map support */ (function($) { ymaps.ready(function() { // Basic map class $.yaMaps.YamapsMap = function(mapId, options) { this.map = new ymaps.Map(mapId, options.init); this.mapId = mapId; this.options = options; this.mapListeners = this.map.events.group(); // ...
JavaScript
/** * @file * Base layouts */ (function($) { ymaps.ready(function() { // Available colors $.yaMaps.colors = { blue: '#006cff', lightblue: '#66c7ff', night: '#004056', darkblue: '#00339a', green: '#33cc00', white: '#ffffff', red: '#ff0000', orange: '#ffb400',...
JavaScript
(function ($) { /** * Attaches double-click behavior to toggle full path of Krumo elements. */ Drupal.behaviors.devel = { attach: function (context, settings) { // Add hint to footnote $('.krumo-footnote .krumo-call').before('<img style="vertical-align: middle;" title="Click to expand. Double-click to sho...
JavaScript
/** * @file devel_node_access.js. */ (function ($) { /** * Perform the access by user ajax request. */ function devel_node_access_user_ajax(context) { // Get the cell ID for the first .dna-permission that isn't processed. var cell = $('td.dna-permission', context) .not('.ajax-proces...
JavaScript
(function ($) { // Explain link in query log Drupal.behaviors.devel_explain = { attach: function() { $('a.dev-explain').click(function () { qid = $(this).attr("qid"); cell = $('#devel-query-' + qid); $('.dev-explain', cell).load(Drupal.settings.basePath + '?q=devel/explain/' + Drupal.settings.d...
JavaScript
/*! * jQuery JavaScript Library v1.4.4 * http://jquery.com/ * * Copyright 2010, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. * http://jquery.org/license * * Includes Sizzle.js * http://sizzlejs.com/ * Copyright 2010, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. ...
JavaScript
/** * JavaScript routines for Krumo * * @link http://sourceforge.net/projects/krumo */ ///////////////////////////////////////////////////////////////////////////// /** * Krumo JS Class */ function krumo() { } // -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- /** * Add...
JavaScript
/*----------------------------------------\ | Cross Browser Tree Widget 1.1 | |-----------------------------------------| | Created by Emil A. Eklund (eae@eae.net) | | For WebFX (http://webfx.eae.net/) | |-----------------------------------------| | This script is provided as is without | | any...
JavaScript
(function ($) { /** * Auto-hide summary textarea if empty and show hide and unhide links. */ Drupal.behaviors.textSummary = { attach: function (context, settings) { $('.text-summary', context).once('text-summary', function () { var $widget = $(this).closest('div.field-type-text-with-summary'); var...
JavaScript
(function ($) { /** * Handle the concept of a fixed number of slots. * * This behavior is dependent on the tableDrag behavior, since it uses the * objects initialized in that behavior to update the row. */ Drupal.behaviors.shortcutDrag = { attach: function (context, settings) { if (Drupal.tableDrag) { ...
JavaScript
(function ($) { /** * Automatically display the guidelines of the selected text format. */ Drupal.behaviors.filterGuidelines = { attach: function (context) { $('.filter-guidelines', context).once('filter-guidelines') .find(':header').hide() .closest('.filter-wrapper').find('select.filter-list') ...
JavaScript
(function ($) { Drupal.behaviors.filterStatus = { attach: function (context, settings) { $('#filters-status-wrapper input.form-checkbox', context).once('filter-status', function () { var $checkbox = $(this); // Retrieve the tabledrag row belonging to this filter. var $row = $('#' + $checkbox.at...
JavaScript
(function ($) { /** * 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 = { attach: function (context, settings) { var...
JavaScript
/** * @file * Provides JavaScript additions to the managed file field type. * * This file provides progress bar support (if available), popup windows for * file previews, and disabling of other file fields during Ajax uploads (which * prevents separate file fields from accidentally uploading files). */ (functio...
JavaScript
(function ($) { Drupal.toolbar = Drupal.toolbar || {}; /** * Attach toggling behavior and notify the overlay of the toolbar. */ Drupal.behaviors.toolbar = { attach: function(context) { // Set the initial state of the toolbar. $('#toolbar', context).once('toolbar', Drupal.toolbar.init); // Toggling t...
JavaScript
(function ($) { /** * Attach handlers to evaluate the strength of any password fields and to check * that its confirmation is correct. */ Drupal.behaviors.password = { attach: function (context, settings) { var translate = settings.password; $('input.password-field', context).once('password', function () ...
JavaScript
(function ($) { /** * Shows checked and disabled checkboxes for inherited permissions. */ Drupal.behaviors.permissions = { attach: function (context) { var self = this; $('table#permissions').once('permissions', function () { // On a site with many roles and permissions, this behavior initially has ...
JavaScript
/** * @file * Attaches behaviors for the Path module. */ (function ($) { Drupal.behaviors.pathFieldsetSummaries = { attach: function (context) { $('fieldset.path-form', context).drupalSetSummary(function (context) { var path = $('.form-item-path-alias input').val(); return path ? Drupal...
JavaScript
(function ($) { Drupal.behaviors.commentFieldsetSummaries = { attach: function (context) { $('fieldset.comment-node-settings-form', context).drupalSetSummary(function (context) { return Drupal.checkPlain($('.form-item-comment input:checked', context).next('label').text()); }); // Provide the summ...
JavaScript
/** * @file * Javascript behaviors for the Book module. */ (function ($) { Drupal.behaviors.bookFieldsetSummaries = { attach: function (context) { $('fieldset.book-outline-form', context).drupalSetSummary(function (context) { var $select = $('.form-item-book-bid select'); var val = $select.val()...
JavaScript
(function ($) { Drupal.behaviors.openid = { attach: function (context) { var loginElements = $('.form-item-name, .form-item-pass, li.openid-link'); var openidElements = $('.form-item-openid-identifier, li.user-link'); var cookie = $.cookie('Drupal.visitor.openid_identifier'); // This behavior attach...
JavaScript
(function ($) { Drupal.behaviors.nodeFieldsetSummaries = { attach: function (context) { $('fieldset.node-form-revision-information', context).drupalSetSummary(function (context) { var revisionCheckbox = $('.form-item-revision input', context); // Return 'New revision' if the 'Create new revision' c...
JavaScript
(function ($) { Drupal.behaviors.contentTypes = { attach: function (context) { // Provide the vertical tab summaries. $('fieldset#edit-submission', context).drupalSetSummary(function(context) { var vals = []; vals.push(Drupal.checkPlain($('#edit-title-label', context).val()) || Drupal.t('Requires...
JavaScript
(function ($) { /** * Show/hide the 'Email site administrator when updates are available' checkbox * on the install page. */ Drupal.hideEmailAdministratorCheckbox = function () { // Make sure the secondary box is shown / hidden as necessary on page load. if ($('#edit-update-status-module-1').is(':checked')) { ...
JavaScript
(function ($) { /** * Checks to see if the cron should be automatically run. */ Drupal.behaviors.cronCheck = { attach: function(context, settings) { if (settings.cronCheck || false) { $('body').once('cron-check', function() { // Only execute the cron check if its the right time. if (Math....
JavaScript
/** * @file * Attaches behaviors for the Contextual module. */ (function ($) { Drupal.contextualLinks = Drupal.contextualLinks || {}; /** * Attaches outline behavior for regions associated with contextual links. */ Drupal.behaviors.contextualLinks = { attach: function (context) { $('div.contextual-links-w...
JavaScript
/** * @file * Attaches the behaviors for the Field UI module. */ (function($) { Drupal.behaviors.fieldUIFieldOverview = { attach: function (context, settings) { $('table#field-overview', context).once('field-overview', function () { Drupal.fieldUIFieldOverview.attachUpdateSelects(this, settings); ...
JavaScript
/** * @file * Attaches the behaviors for the Overlay child pages. */ (function ($) { /** * Attach the child dialog behavior to new content. */ Drupal.behaviors.overlayChild = { attach: function (context, settings) { // Make sure this behavior is not processed more than once. if (this.processed) { ...
JavaScript
/** * @file * Attaches the behaviors for the Overlay parent pages. */ (function ($) { /** * Open the overlay, or load content into it, when an admin link is clicked. */ Drupal.behaviors.overlayParent = { attach: function (context, settings) { if (Drupal.overlay.isOpen) { Drupal.overlay.makeDocumentUn...
JavaScript
(function ($) { /** * Add functionality to the profile drag and drop table. * * This behavior is dependent on the tableDrag behavior, since it uses the * objects initialized in that behavior to update the row. It shows and hides * a warning message when removing the last field from a profile category. */ Drupal....
JavaScript
(function ($) { Drupal.behaviors.menuFieldsetSummaries = { attach: function (context) { $('fieldset.menu-link-form', context).drupalSetSummary(function (context) { if ($('.form-item-menu-enabled input', context).is(':checked')) { return Drupal.checkPlain($('.form-item-menu-link-title input', contex...
JavaScript
(function ($) { Drupal.behaviors.menuChangeParentItems = { attach: function (context, settings) { $('fieldset#edit-menu input').each(function () { $(this).change(function () { // Update list of available parent menu items. Drupal.menu_update_parent_list(); }); }); } }; /** * F...
JavaScript
/** * @file * Attaches behaviors for the Dashboard module. */ (function ($) { /** * Implements Drupal.behaviors for the Dashboard module. */ Drupal.behaviors.dashboard = { attach: function (context, settings) { $('#dashboard', context).once(function () { $(this).prepend('<div class="customize clear...
JavaScript
(function ($) { /** * Attaches language support to the jQuery UI datepicker component. */ Drupal.behaviors.localeDatepicker = { attach: function(context, settings) { // This code accesses Drupal.settings and localized strings via Drupal.t(). // So this code should run after these are initialized. By placin...
JavaScript
Drupal.t("Standard Call t"); Drupal . t ( "Whitespace Call t" ) ; Drupal.t('Single Quote t'); Drupal.t('Single Quote \'Escaped\' t'); Drupal.t('Single Quote ' + 'Concat ' + 'strings ' + 't'); Drupal.t("Double Quote t"); Drupal.t("Double Quote \"Escaped\" t"); Drupal.t("Double Quote " + "Concat " + "strings " + "t");...
JavaScript
/** * @file * Attaches the behaviors for the Color module. */ (function ($) { Drupal.behaviors.color = { attach: function (context, settings) { var i, j, colors, field_name; // This behavior attaches by ID, so is only valid once on a page. var form = $('#system-theme-settings .color-form', context).o...
JavaScript
/** * @file * Attaches preview-related behavior for the Color module. */ (function ($) { Drupal.color = { callback: function(context, settings, form, farb, height, width) { // Solid background. $('#preview', form).css('backgroundColor', $('#palette input[name="palette[base]"]', form).val()); ...
JavaScript
(function ($) { /** * Provide the summary information for the block settings vertical tabs. */ Drupal.behaviors.blockSettingsSummary = { attach: function (context) { // The drupalSetSummary method required for this behavior is not available // on the Blocks administration page, so we need to make sure this...
JavaScript
(function ($) { /** * Add the cool table collapsing on the testing overview page. */ Drupal.behaviors.simpleTestMenuCollapse = { attach: function (context, settings) { var timeout = null; // Adds expand-collapse functionality. $('div.simpletest-image').once('simpletest-image', function () { var $...
JavaScript
(function ($) { /** * Attaches sticky table headers. */ Drupal.behaviors.tableHeader = { attach: function (context, settings) { if (!$.support.positionFixed) { return; } $('table.sticky-enabled', context).once('tableheader', function () { $(this).data("drupal-tableheader", new Drupal.table...
JavaScript
/** * @file * Conditionally hide or show the appropriate settings and saved defaults * on the file transfer connection settings form used by authorize.php. */ (function ($) { Drupal.behaviors.authorizeFileTransferForm = { attach: function(context) { $('#edit-connection-settings-authorize-filetransfer-defau...
JavaScript
(function ($) { /** * Drag and drop table rows with field manipulation. * * Using the drupal_add_tabledrag() function, any table with weights or parent * relationships may be made into draggable tables. Columns containing a field * may optionally be hidden, providing a better user experience. * * Created tableD...
JavaScript
(function ($) { Drupal.behaviors.textarea = { attach: function (context, settings) { $('.form-textarea-wrapper.resizable', context).once('textarea', function () { var staticOffset = null; var textarea = $(this).addClass('resizable-textarea').find('textarea'); var grippie = $('<div class="grippi...
JavaScript
(function ($) { /** * Toggle the visibility of a fieldset using smooth animations. */ Drupal.toggleFieldset = function (fieldset) { var $fieldset = $(fieldset); if ($fieldset.is('.collapsed')) { var $content = $('> .fieldset-wrapper', fieldset).hide(); $fieldset .removeClass('collapsed') .tri...
JavaScript
(function ($) { /** * The base States namespace. * * Having the local states variable allows us to use the States namespace * without having to always declare "Drupal.states". */ var states = Drupal.states = { // An array of functions that should be postponed. postponed: [] }; /** * Attaches the states. */...
JavaScript
(function ($) { /** * Attaches the batch behavior to progress bars. */ Drupal.behaviors.batch = { attach: function (context, settings) { $('#progress', context).once('batch', function () { var holder = $(this); // Success: redirect to the summary. var updateCallback = function (progress, sta...
JavaScript
(function ($) { /** * Set the client's system time zone as default values of form fields. */ Drupal.behaviors.setTimezone = { attach: function (context, settings) { $('select.timezone-detect', context).once('timezone', function () { var dateString = Date(); // In some client environments, date stri...
JavaScript
(function ($) { /** * Retrieves the summary for the first element. */ $.fn.drupalGetSummary = function () { var callback = this.data('summaryCallback'); return (this[0] && callback) ? $.trim(callback(this[0])) : ''; }; /** * Sets the summary for all matched elements. * * @param callback * Either a functio...
JavaScript
var Drupal = Drupal || { 'settings': {}, 'behaviors': {}, 'locale': {} }; // Allow other JavaScript libraries to use $. jQuery.noConflict(); (function ($) { /** * Override jQuery.fn.init to guard against XSS attacks. * * See http://bugs.jquery.com/ticket/9521 */ var jquery_init = $.fn.init; $.fn.init = function...
JavaScript
(function ($) { /** * Provides Ajax page updating via jQuery $.ajax (Asynchronous JavaScript and XML). * * Ajax is a method of making a request via JavaScript while viewing an HTML * page. The request returns an array of commands encoded in JSON, which is * then executed to make any changes that are necessary to ...
JavaScript
(function ($) { /** * Attaches the autocomplete behavior to all required fields. */ Drupal.behaviors.autocomplete = { attach: function (context, settings) { var acdb = []; $('input.autocomplete', context).once('autocomplete', function () { var uri = this.value; if (!acdb[uri]) { acdb[ur...
JavaScript
(function ($) { /** * This script transforms a set of fieldsets into a stack of vertical * tabs. Another tab pane can be selected by clicking on the respective * tab. * * Each tab may have a summary which can be updated by another * script. For that to work, each fieldset has an associated * 'verticalTabCallba...
JavaScript
/** * jQuery Once Plugin v1.2 * http://plugins.jquery.com/project/once * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */ (function ($) { var cache = {}, uuid = 0; /** * Filters elements by whether they ha...
JavaScript
(function ($) { /** * Attach the machine-readable name form element behavior. */ Drupal.behaviors.machineName = { /** * Attaches the behavior. * * @param settings.machineName * A list of elements to process, keyed by the HTML ID of the form element * containing the human-readable value. Each ele...
JavaScript
(function ($) { /** * A progressbar object. Initialized with the given id. Must be inserted into * the DOM afterwards through progressBar.element. * * method is the function which will perform the HTTP request to get the * progress bar state. Either "GET" or "POST". * * e.g. pb = new progressBar('myProgressBar'...
JavaScript
/** * Cookie plugin 1.0 * * Copyright (c) 2006 Klaus Hartl (stilbuero.de) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ jQuery.cookie=function(b,j,m){if(typeof j!="undefined"){m=m||{};if(j===null){j="";m.expires=...
JavaScript
(function ($) { Drupal.behaviors.tableSelect = { attach: function (context, settings) { // Select the inner-most table in case of nested tables. $('th.select-all', context).closest('table').once('table-select', Drupal.tableSelect); } }; Drupal.tableSelect = function () { // Do not add a "Select all" che...
JavaScript
(function ($) { Drupal.color = { logoChanged: false, callback: function(context, settings, form, farb, height, width) { // Change the logo to be the real one. if (!this.logoChanged) { $('#preview #preview-logo img').attr('src', Drupal.settings.color.logo); this.logoChanged = true;...
JavaScript
/* * jQuery history plugin * * The MIT License * * Copyright (c) 2006-2009 Taku Sano (Mikage Sawatari) * Copyright (c) 2010 Takayuki Miwa * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the...
JavaScript
$(function(){ //var log = console.log; var $content = $('#content'); //The Form itself $content.find('form').wl_Form({ submitButton: 'button.submit', resetButton: 'button.reset', method: 'post', action: null, ajax: true, serialize: false, par...
JavaScript
$(function() { //var log = console.log; //for Caching var $content = $('#content'); /*----------------------------------------------------------------------*/ /* datatable plugin /*----------------------------------------------------------------------*/ $content.find("table.da...
JavaScript
$(function(){ //var log = console.log; var $content = $('#content'); //The Form itself $content.find('#frm_wordofday').wl_Form({ submitButton: 'button.submit', resetButton: 'button.reset', method: 'post', action: null, ajax: true, serialize: false, ...
JavaScript
$(function() { //var log = console.log; //for Caching var $content = $('#content'); /*----------------------------------------------------------------------*/ /* datatable plugin /*----------------------------------------------------------------------*/ $content.find("table.da...
JavaScript
/** * jquery.Jcrop.js v0.9.9 * jQuery Image Cropping Plugin * @author Kelly Hallman <khallman@gmail.com> * Copyright (c) 2008-2011 Kelly Hallman - released under MIT License {{{ * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * fil...
JavaScript
$(function(){ //var log = console.log; var $content = $('#content'); //The Form itself $content.find('#frm_caricature').wl_Form({ submitButton: 'button.submit', resetButton: 'button.reset', method: 'post', action: null, ajax: true, serialize: false, ...
JavaScript
$(function() { //var log = console.log; //for Caching var $content = $('#content'); /*----------------------------------------------------------------------*/ /* datatable plugin /*----------------------------------------------------------------------*/ $content.find("table.da...
JavaScript
$(function(){ //var log = console.log; var $content = $('#content'); //The Form itself $content.find('#frm_user').wl_Form({ submitButton: 'button.submit', resetButton: 'button.reset', method: 'post', action: null, ajax: true, serialize: false, ...
JavaScript
$(function() { //var log = console.log; //for Caching var $content = $('#content'); /*----------------------------------------------------------------------*/ /* datatable plugin /*----------------------------------------------------------------------*/ $content.find("table.da...
JavaScript
$(function(){ //var log = console.log; var $content = $('#content'); //The Form itself $content.find('#frm_recipeofday').wl_Form({ submitButton: 'button.submit', resetButton: 'button.reset', method: 'post', action: null, ajax: true, serialize: false,...
JavaScript
$(function() { //var log = console.log; //for Caching var $content = $('#content'); /*----------------------------------------------------------------------*/ /* datatable plugin /*----------------------------------------------------------------------*/ $content.find("table.da...
JavaScript
/* * Alternate Select Multiple (asmSelect) 1.0.4a beta - jQuery Plugin * http://www.ryancramer.com/projects/asmselect/ * * Copyright (c) 2009 by Ryan Cramer - http://www.ryancramer.com * * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * */ (function($) { $.fn.asmSelec...
JavaScript
$(function(){ //var log = console.log; var $content = $('#content'); //The Form itself $content.find('#frm_yt').wl_Form({ submitButton: 'button.submit', resetButton: 'button.reset', method: 'post', action: null, ajax: true, serialize: false, ...
JavaScript
$(function(){ //var log = console.log; var $content = $('#content'); //The Form itself $content.find('#frm_img').wl_Form({ submitButton: 'button.submit', resetButton: 'button.reset', method: 'post', action: null, ajax: true, serialize: false, ...
JavaScript
$(function() { //var log = console.log; //for Caching var $content = $('#content'); /*----------------------------------------------------------------------*/ /* datatable plugin /*----------------------------------------------------------------------*/ $content.find("table.da...
JavaScript
$(function() { //var log = console.log; //for Caching var $content = $('#content'); /*----------------------------------------------------------------------*/ /* datatable plugin /*----------------------------------------------------------------------*/ $content.find("table.datatable").d...
JavaScript
$(function() { /*response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); // HTTP 1.1. response.setHeader("Pragma", "no-cache"); // HTTP 1.0. response.setDateHeader("Expires", 0); // Proxies. */ var log = console.log; /**************************************************...
JavaScript
$(function() { /*response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate"); // HTTP 1.1. response.setHeader("Pragma", "no-cache"); // HTTP 1.0. response.setDateHeader("Expires", 0); // Proxies. */ var log = console.log; /**************************************************...
JavaScript