code
stringlengths
1
2.08M
language
stringclasses
1 value
// $Id: autocomplete.js,v 1.23 2008/01/04 11:53:21 goba Exp $ /** * Attaches the autocomplete behavior to all required fields */ Drupal.behaviors.autocomplete = function (context) { var acdb = []; $('input.autocomplete:not(.autocomplete-processed)', context).each(function () { var uri = this.value; if (!...
JavaScript
// $Id: progress.js,v 1.20 2008/01/04 11:53:21 goba Exp $ /** * 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". * *...
JavaScript
// $Id: tableselect.js,v 1.8 2007/11/19 12:15:16 goba Exp $ Drupal.behaviors.tableSelect = function (context) { $('form table:has(th.select-all):not(.tableSelect-processed)', context).each(Drupal.tableSelect); }; Drupal.tableSelect = function() { // Do not add a "Select all" checkbox if there are no rows with che...
JavaScript
// Update the actual stream. function updateStream(){ showStreamLoader(); setTimeout(function(){ var date = ''; // If the filter was date, pass through the date. if(activeFilter === 'date'){ date = $('#filterDateInput').val(); } $.ajax({ ...
JavaScript
/* * timeago: a jQuery plugin, version: 0.9.3 (2011-01-21) * @requires jQuery v1.2.3 or later * * Timeago is a jQuery plugin that makes it easy to support automatically * updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago"). * * For usage and examples, visit: * http://timeago.yarp.com/ * * Li...
JavaScript
var displayMales = true; var displayFemales = true; var displayFriendsOnly = false; var displaySinglesOnly = false; // Update the actual stream. function updateStream(){ showStreamLoader(); setTimeout(function(){ var date = ''; // If the filter was date, pass through the date. ...
JavaScript
// Update the actual stream. function updateStream(){ showStreamLoader(); setTimeout(function(){ var date = ''; // If the filter was date, pass through the date. if(activeFilter === 'date'){ date = $('#filterDateInput').val(); } $.ajax({ ...
JavaScript
$(document).ready(function(){ // Handle the gui update of the privacy menu. $('.setting').click(function(){ // Clear-up old one. $('.activeSetting').removeClass('activeSetting'); $(this).addClass('activeSetting'); }); // Save privacy settings. $('#saveSetting').click(function(){ var active ...
JavaScript
$(document).ready(function(){ var locationInput = $('#caLocation'); var loader = $('#caLocationLoader'); var dropdown = $('#caLocationSearchResults'); var container = $('#caContainer'); var locationContainer = $('#caLocationContainer'); var extendedContainer = $('#caExtendedContainer'); var token = $('#caLocatio...
JavaScript
var streamTimerInterval = 150; var streamLoader = null; var limit = 350; var activeFilter = null; // Only used for location streams. var locationId; var locationType; // Shows the loader of the stream. function showStreamLoader(){ streamLoader = '<li id="streamLoader"><div class="loader" id="actualStreamLoader"><...
JavaScript
$(function(){ // CSS $("head").append('<link rel="stylesheet" href="http://ameblo-ev-js.googlecode.com/svn/trunk/ameblo4nivoslider/themes/default/default.css" type="text/css" media="screen" />'); $("head").append('<link rel="stylesheet" href="http://ameblo-ev-js.googlecode.com/svn/trunk/ameblo4nivoslider/theme...
JavaScript
// Melt code by Glen Murphy // Author home: http://glenmurphy.com/ // Melt home: http://bodytag.org/melt/ $(function(){ var bt_root = $('.entry').get(0); bt_root.style.visibility = 'hidden'; var bt_nodes = new Array(); var bt_text = new Array(); var bt_tumble = new Array(); var bt_maxsize =...
JavaScript
$(function(){ $('.entry .str-js').each(function(){ eval($(this).hide().html()); }); });
JavaScript
$(function(){ window.jQuery.fn.param = function(){ var s = $(this).attr('src'); if(s.length == 0 || s.indexOf('.js?') < 0) return; var t = s.replace(/^.*\.js\?/, '').split('&'); var rtn = {}; for(var i = 0; i < t.length; i++){ var v = t[i].split('='); if(v.length == 2) rtn[v[0]...
JavaScript
/** * SyntaxHighlighter * http://alexgorbatchev.com/SyntaxHighlighter * * SyntaxHighlighter is donationware. If you are using it, please donate. * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * * @version * 3.0.83 (July 02 2010) * * @copyright * Copyright (C) 2004-2010 Alex Gorbatchev. * * @lic...
JavaScript
/** * SyntaxHighlighter * http://alexgorbatchev.com/SyntaxHighlighter * * SyntaxHighlighter is donationware. If you are using it, please donate. * http://alexgorbatchev.com/SyntaxHighlighter/donate.html * * @version * 3.0.83 (July 02 2010) * * @copyright * Copyright (C) 2004-2010 Alex Gorbatchev. * * @lic...
JavaScript
$(function(){ if(!$('pre[class*=brush]').length) return; var HOST = 'http://ameblo-ev-js.googlecode.com/svn/trunk/ameblo4stxhlter/'; $("head").append('<link rel="stylesheet" href="'+ HOST +'syntaxhighlighter/styles/shThemeDefault.css" type="text/css" />'); $("head").append('<link rel="stylesheet" href...
JavaScript
$(function(){ // CSS $("head").append('<link rel="stylesheet" href="http://ameblo-ev-js.googlecode.com/svn/trunk/ameblo4lightbox/jquery.lightbox-0.5.css" type="text/css" />'); // javascript $.getScript("http://ameblo-ev-js.googlecode.com/svn/trunk/ameblo4lightbox/jquery.lightbox-0.5.min.js", function(){ ...
JavaScript
$(function(){ // CSS $("head").append('<link rel="stylesheet" href="http://ameblo-ev-js.googlecode.com/svn/trunk/ameblo4lightbox/jquery.lightbox-0.5.css" type="text/css" />'); // javascript $.getScript("http://ameblo-ev-js.googlecode.com/svn/trunk/ameblo4lightbox/jquery.lightbox-0.5.min.js", function(){ ...
JavaScript
<script src="http://alexgorbatchev.com/pub/sh/current/scripts/shCore.js" type="text/javascript"></script> <script src="http://alexgorbatchev.com/pub/sh/current/scripts/shAutoloader.js" type="text/javascript"></script> <script> $(document).ready(function() { $("head").append('<link rel="stylesheet" href="http://al...
JavaScript
// $Id: config.w32,v 1.3 2007/05/22 00:48:37 auroraeosrose Exp $ // vim:ft=javascript ARG_WITH("amf", "AMF Object Serialization support", "no"); if (PHP_AMF != "no") { EXTENSION('amf', 'amf.c'); AC_DEFINE('HAVE_AMF', 1); }
JavaScript
(function() { var $menu = $('#menu ul'); $('.navbar.main-menu').after('<div class="_toggleMenu"><a class="toggleMenu" href="#">- MENU -</a><ul class="nav"></ul></div>'); $('._toggleMenu .nav').html($menu.html()); })(); var ww = document.body.clientWidth; $(document).ready(function() { $("._toggleMenu ....
JavaScript
/* * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ * * Uses the built in easing capabilities added In jQuery 1.1 * to offer multiple easing options * * TERMS OF USE - jQuery Easing * * Open source under the BSD License. * * Copyright © 2008 George McGinley Smith * All rights reserved. * ...
JavaScript
//** jQuery Scroll to Top Control script- (c) Dynamic Drive DHTML code library: http://www.dynamicdrive.com. //** Available/ usage terms at http://www.dynamicdrive.com (March 30th, 09') //** v1.1 (April 7th, 09'): //** 1) Adds ability to scroll to an absolute position (from top of page) or specific element on the pa...
JavaScript
/*! * Slidorion, An Image Slider and Accordion Combined * Intructions: http://www.slidorion.com * Created by Ben Holland - http://www.benholland.me * Version: 1.2.0 * Copyright 2013 Ben Holland <hi@benhlland.me> */ (function($) { 'use strict'; $.fn.extend({ slidorion: function(options) { ...
JavaScript
/* * Superfish v1.4.8 - jQuery menu widget * Copyright (c) 2008 Joel Birch * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt */...
JavaScript
$(document).ready(function() { $("[rel=popover]").popover(); $("[rel=tooltip]").tooltip(); $('.check-all').click( function(){ $(this).parent().parent().parent().parent().find("input[type='checkbox']").attr('checked', $(this).is(':checked')); ...
JavaScript
$('#input01').filestyle() $('#input02').filestyle({ buttonText: 'My filestyle' }); $('#input03').filestyle({ input: false, classButton: 'btn btn-primary' }); $('#input04').filestyle({ icon: false }); $('#input05').filestyle({ classButton: 'btn btn-warning' }); $('#input06').filestyle({ classInput: 'input-sma...
JavaScript
/** * @license wysihtml5 v0.3.0 * https://github.com/xing/wysihtml5 * * Author: Christopher Blum (https://github.com/tiff) * * Copyright (C) 2012 XING AG * Licensed under the MIT license (MIT) * */ var wysihtml5 = { version: "0.3.0", // namespaces commands: {}, dom: {}, quirks: {}, ...
JavaScript
/*! * jQuery Form Plugin * version: 3.09 (16-APR-2012) * @requires jQuery v1.3.2 or later * * Examples and documentation at: http://malsup.com/jquery/form/ * Project repository: https://github.com/malsup/form * Dual licensed under the MIT and GPL licenses: * http://malsup.github.com/mit-license.txt * htt...
JavaScript
(function( $ ) { $.widget( "custom.combobox", { _create: function() { this.wrapper = $( "<span>" ) .addClass( "custom-combobox" ) .insertAfter( this.element ); this.element.hide(); this._createAutocomplete(); this._createShowAllButton(); ...
JavaScript
var drz; function guru_mapel(guru){ if(guru.length==0){ document.getElementById("kotaksugest").style.visibility = "hidden"; }else{ drz = buatajax(); var url="cari.php?p=gr"; drz.onreadystatechange=stateChanged; var params = "q="+guru; drz.open("POST",url,...
JavaScript
// Password strength meter v2.0 // Matthew R. Miller - 2007 // www.codeandcoffee.com // Based off of code from: // http://www.intelligent-web.co.uk // http://www.geekwisdom.com/dyn/passwdmeter /* Password Strength Algorithm: Password Length: 5 Points: Less than 4 characters 10 Points: 5 to 7 characters 25 ...
JavaScript
/* * jQuery Nivo Slider v3.0.1 * http://nivo.dev7studios.com * * Copyright 2012, Dev7studios * Free to use and abuse under the MIT license. * http://www.opensource.org/licenses/mit-license.php */ (function($) { var NivoSlider = function(element, options){ // Defaults are below va...
JavaScript
jQuery(document).ready(function(){ jQuery("form.gdl-contact-form").each(function(){ jQuery(this).submit(function(){ var the_form = jQuery(this); var error = false; jQuery(this).find('#sending-result').slideUp(200); jQuery(this).find('.require-field').each(function(){ if(jQuery.trim(jQuery...
JavaScript
/* AnythingSlider v1.7.18 Original by Chris Coyier: http://css-tricks.com Get the latest version: https://github.com/ProLoser/AnythingSlider To use the navigationFormatter function, you must have a function that accepts two paramaters, and returns a string of HTML text. index = integer index (1 based); ...
JavaScript
jQuery(document).ready(function(){ var port_carousel_wrapper = jQuery('.portfolio-carousel-wrapper'); function carousel_port_init(){ port_carousel_wrapper.each(function(){ var port_carousel = jQuery(this); var port_holder = port_carousel.children('.portfolio-item-holder'); var port_item = port_c...
JavaScript
jQuery(document).ready(function(){ // Search Default text jQuery('.search-text input').live("blur", function(){ var default_value = jQuery(this).attr("data-default"); if (jQuery(this).val() == ""){ jQuery(this).val(default_value); } }).live("focus", function(){ var default_value = jQuery(this)...
JavaScript
/* * Supersubs v0.2b - jQuery plugin * Copyright (c) 2008 Joel Birch * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * * This plugin automatically adjusts submenu widths of suckerfish-style menus to that ...
JavaScript
/* * jQuery FlexSlider v2.1 * http://www.woothemes.com/flexslider/ * * Copyright 2012 WooThemes * Free to use under the GPLv2 license. * http://www.gnu.org/licenses/gpl-2.0.html * * Contributing author: Tyler Smith (@mbmufffin) */ ;(function ($) { //FlexSlider: Object Instance $.flexslider = function(el,...
JavaScript
/*! * Media helper for fancyBox * version: 1.0.0 * @requires fancyBox v2.0 or later * * Usage: * $(".fancybox").fancybox({ * media: {} * }); * * Supports: * Youtube * http://www.youtube.com/watch?v=opj24KnzrWo * http://youtu.be/opj24KnzrWo * Vimeo * ...
JavaScript
/* * Superfish v1.6.9 - jQuery menu widget * Copyright (c) 2013 Joel Birch * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ ;(function($) { $.fn.superfish = function(op) { var sf = $.fn.superf...
JavaScript
/* * AnythingSlider Video Controller 1.3 beta for AnythingSlider v1.6+ * By Rob Garrison (aka Mottie & Fudgey) * Dual licensed under the MIT and GPL licenses. */ (function($) { $.fn.anythingSliderVideo = function(options){ //Set the default values, use comma to separate the settings, example: var def...
JavaScript
/* * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ * * Uses the built in easing capabilities added In jQuery 1.1 * to offer multiple easing options * * TERMS OF USE - jQuery Easing * * Open source under the BSD License. * * Copyright ?? 2008 George McGinley Smith * All rights re...
JavaScript
/*! * jQuery Cycle Plugin (with Transition Definitions) * Examples and documentation at: http://jquery.malsup.com/cycle/ * Copyright (c) 2007-2010 M. Alsup * Version: 2.9999.5 (10-APR-2012) * Dual licensed under the MIT and GPL licenses. * http://jquery.malsup.com/license.html * Requires: jQuery v1.3.2 or...
JavaScript
(function($) { $.fn.preloader = function(options){ var defaults = { delay: 50, preload_parent:"a", check_timer: 300, fadein: 300 }; var options = $.extend(defaults, options), root = $(this), images = root.find("img").not('.gdl-no-preload'), timer, counter = 0, ...
JavaScript
/*! * hoverIntent r7 // 2013.03.11 // jQuery 1.9.1+ * http://cherne.net/brian/resources/jquery.hoverIntent.html * * You may use hoverIntent under the terms of the MIT license. Basically that * means you are free to use hoverIntent as long as this header is left intact. * Copyright 2007, 2013 Brian Cherne ...
JavaScript
/*! * Thumbnail helper for fancyBox * version: 1.0.4 * @requires fancyBox v2.0 or later * * Usage: * $(".fancybox").fancybox({ * thumbs: { * width : 50, * height : 50 * } * }); * * Options: * width - thumbnail width * height - thumbnail height * ...
JavaScript
/*! * Copyright (c) 2011 Simo Kinnunen. * Licensed under the MIT license. * * @version ${Version} */ var Cufon = (function() { var api = function() { return api.replace.apply(null, arguments); }; var DOM = api.DOM = { ready: (function() { var complete = false, readyStatus = { loaded...
JavaScript
/*global jQuery */ /*! * FitVids 1.0 * * Copyright 2011, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com * Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ * Released under the WTFPL license - http://sam.zoy.org/wtfpl/ * * Date: Thu...
JavaScript
/* * jQuery Nivo Slider v3.0.1 * http://nivo.dev7studios.com * * Copyright 2012, Dev7studios * Free to use and abuse under the MIT license. * http://www.opensource.org/licenses/mit-license.php */ (function($) { var NivoSlider = function(element, options){ // Defaults are below va...
JavaScript
/** * Goodlayers Edit Box File * --------------------------------------------------------------------- * @version 1.0 * @author Goodlayers * @link http://goodlayers.com * @copyright Copyright (c) Goodlayers * --------------------------------------------------------------------- * This file conta...
JavaScript
/** * Goodlayers Page Dragging File * --------------------------------------------------------------------- * @version 1.0 * @author Goodlayers * @link http://goodlayers.com * @copyright Copyright (c) Goodlayers * --------------------------------------------------------------------- * This file ...
JavaScript
(function($){ $.confirm = function(params){ if($('#confirmOverlay').length){ // A confirm is already shown on the page: return false; } var buttonHTML = ''; $.each(params.buttons,function(name,obj){ // Generating the markup for the buttons: buttonHTML += '<div class="b...
JavaScript
/** * Goodlayers Goodlayers Backoffice Post Effects File * --------------------------------------------------------------------- * @version 1.0 * @author Goodlayers * @link http://goodlayers.com * @copyright Copyright (c) Goodlayers * ----------------------------------------------------------------...
JavaScript
(function() { tinymce.create('tinymce.plugins.gdl_gallery', { init : function(ed, url) { ed.addButton('gdl_gallery', { title : 'Add Gallery', image : url + '/images/gdl-gallery.png', onclick : function() { ed.focus(); ...
JavaScript
(function() { tinymce.create('tinymce.plugins.divider', { init : function(ed, url) { ed.addButton('divider', { title : 'Add Divider', image : url + '/images/divider.png', onclick : function() { ed.focus(); ...
JavaScript
(function() { tinymce.create('tinymce.plugins.space', { init : function(ed, url) { ed.addButton('space', { title : 'Add Space', image : url + '/images/space.png', onclick : function() { ed.focus(); ed....
JavaScript
(function() { tinymce.create('tinymce.plugins.accordion', { init : function(ed, url) { ed.addButton('accordion', { title : 'Add Accordion', image : url + '/images/accordion.png', onclick : function() { ed.focus(); ...
JavaScript
(function() { tinymce.create('tinymce.plugins.vimeo', { init : function(ed, url) { ed.addButton('vimeo', { title : 'Add Vimeo', image : url + '/images/vimeo.png', onclick : function() { ed.focus(); ed....
JavaScript
(function() { tinymce.create('tinymce.plugins.message_box', { init : function(ed, url) { ed.addButton('message_box', { title : 'Add Message Box', image : url + '/images/message-box.png', onclick : function() { ed.focus(); ...
JavaScript
(function() { tinymce.create('tinymce.plugins.toggle_box', { init : function(ed, url) { ed.addButton('toggle_box', { title : 'Add Toggle Box', image : url + '/images/toggle-box.png', onclick : function() { ed.focus(); ...
JavaScript
(function() { tinymce.create('tinymce.plugins.price_item', { init : function(ed, url) { ed.addButton('price_item', { title : 'Add Price Item', image : url + '/images/price-item.png', onclick : function() { ed.focus(); ...
JavaScript
(function() { tinymce.create('tinymce.plugins.youtube', { init : function(ed, url) { ed.addButton('youtube', { title : 'Add Youtube', image : url + '/images/youtube.png', onclick : function() { ed.focus(); ...
JavaScript
(function() { tinymce.create('tinymce.plugins.social', { init : function(ed, url) { ed.addButton('social', { title : 'Add Social Icon', image : url + '/images/social.png', onclick : function() { ed.focus(); ...
JavaScript
(function() { tinymce.create('tinymce.plugins.column', { init : function(ed, url) { ed.addButton('column', { title : 'Add Column', image : url + '/images/column.png', onclick : function() { ed.focus(); ...
JavaScript
(function() { tinymce.create('tinymce.plugins.button', { init : function(ed, url) { ed.addButton('button', { title : 'Add Button', image : url + '/images/button.png', onclick : function() { ed.focus(); ...
JavaScript
(function() { tinymce.create('tinymce.plugins.testimonial', { init : function(ed, url) { ed.addButton('testimonial', { title : 'Add Testimonial', image : url + '/images/testimonial.png', onclick : function() { ed.focus(); ...
JavaScript
(function() { tinymce.create('tinymce.plugins.tab', { init : function(ed, url) { ed.addButton('tab', { title : 'Add Tab', image : url + '/images/tab.png', onclick : function() { ed.focus(); ed.selectio...
JavaScript
(function() { tinymce.create('tinymce.plugins.quote', { init : function(ed, url) { ed.addButton('quote', { title : 'Add Quote', image : url + '/images/quote.png', onclick : function() { ed.focus(); ed....
JavaScript
(function() { tinymce.create('tinymce.plugins.list', { init : function(ed, url) { ed.addButton('list', { title : 'Add List', image : url + '/images/list.png', onclick : function() { ed.focus(); ed.sele...
JavaScript
(function() { tinymce.create('tinymce.plugins.dropcap', { init : function(ed, url) { ed.addButton('dropcap', { title : 'Add Dropcap', image : url + '/images/dropcap.png', onclick : function() { ed.focus(); ...
JavaScript
/* * jQuery miniColors: A small color selector * * Copyright 2011 Cory LaViska for A Beautiful Site, LLC. (http://abeautifulsite.net/) * * Dual licensed under the MIT or GPL Version 2 licenses * */ if(jQuery) (function($) { $.extend($.fn, { miniColors: function(o, data) { var create =...
JavaScript
/** * Goodlayers Image Picker File * --------------------------------------------------------------------- * @version 1.0 * @author Goodlayers * @link http://goodlayers.com * @copyright Copyright (c) Goodlayers * --------------------------------------------------------------------- * This file c...
JavaScript
/** * Goodlayers Page Dragging File * --------------------------------------------------------------------- * @version 1.0 * @author Goodlayers * @link http://goodlayers.com * @copyright Copyright (c) Goodlayers * --------------------------------------------------------------------- * This file ...
JavaScript
/** * Goodlayers Goodlayers Panel File * --------------------------------------------------------------------- * @version 1.0 * @author Goodlayers * @link http://goodlayers.com * @copyright Copyright (c) Goodlayers * --------------------------------------------------------------------- * This fi...
JavaScript
if (!Array.prototype.indexOf) { Array.prototype.indexOf = function (searchElement /*, fromIndex */ ) { "use strict"; if (this == null) { throw new TypeError(); } var t = Object(this); var len = t.length >>> 0; if (len === 0) { return -1; ...
JavaScript
/* * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ * * Uses the built in easing capabilities added In jQuery 1.1 * to offer multiple easing options * * TERMS OF USE - jQuery Easing * * Open source under the BSD License. * * Copyright © 2008 George McGinley Smith * All rights reserved. * * ...
JavaScript
(function($) { $.fn.transitionGallery = function( options ){ if( (typeof(options)).match('object|undefined') ){ return this.each(function(i){ new transitionGallery(this, options ); }); }else{ return this.each(function(i){ var tg = $(this).data('TransitionGallery'); switch(options){ ca...
JavaScript
(function( $ ) { var radioCheck = /radio|checkbox/i, keyBreaker = /[^\[\]]+/g, numberMatcher = /^[\-+]?[0-9]*\.?[0-9]+([eE][\-+]?[0-9]+)?$/; var isNumber = function( value ) { if ( typeof value == 'number' ) { return true; } if ( typeof value != 'string' ) { return false; } return value.match(n...
JavaScript
var layerSliderCustomTransitions = { "t2d" : [ { "name" : "Sliding from right", "rows" : 1, "cols" : 1, "tile" : { "delay" : 0, "sequence" : "forward" }, "transition" : { "type" : "slide", "easing" : "easeInOutQuart", "duration" : 1500, "direction" : "left" } }, { ...
JavaScript
$(document).ready(function(){ var jsp = $(location).attr('href'); if(jsp.lastIndexOf(';') + 1 == 0){ jsp = jsp.substring(jsp.lastIndexOf('/') + 1); }else { jsp = jsp.substring(jsp.lastIndexOf('/') + 1,jsp.lastIndexOf(';')); } // alert(jsp); if(jsp == "logIn.action" || jsp == "logIn" || jsp == "l...
JavaScript
$(document).ready(function(){ var jsp = $(location).attr('href'); if(jsp.lastIndexOf(';') + 1 == 0){ jsp = jsp.substring(jsp.lastIndexOf('/') + 1); }else { jsp = jsp.substring(jsp.lastIndexOf('/') + 1,jsp.lastIndexOf(';')); } // alert(jsp); if(jsp == "logIn.action" || jsp == "logIn" || jsp == "l...
JavaScript
$(document).ready(function(){ $("#btn_ingresar").click(function() { $("#form_login").submit(); }); $('#defaultReal').keyup(function() { $(this).val($(this).val().toUpperCase()); }); $('#defaultReal').realperson({ length: 6, regenerate:"Click para cambiar", includeNumbers: true ...
JavaScript
/* sessvars ver 1.01 - JavaScript based session object copyright 2008 Thomas Frank This EULA grants you the following rights: Installation and Use. You may install and use an unlimited number of copies of the SOFTWARE PRODUCT. Reproduction and Distribution. You may reproduce and distribute an unlimited number of cop...
JavaScript
$(document).ready(function () { $('#t_documentos').jtable({ jqueryuiTheme: true, title: 'Documentos Encontrados', openChildAsAccordion: true, actions: { listAction: '/', updateAction: '/', createAction: '/' }, fields: ...
JavaScript
$(document).ready(function () { list_docCCodigo = new Array(); $('#t_resultadoBusqueda').jtable({ jqueryuiTheme: true, title: 'Documentos Encontrados', openChildAsAccordion: true, selecting: true, multiselect: true, selectingCheckboxes: true, select...
JavaScript
$(document).ready(function () { list_docCCodigo = new Array(); $('#tipo_prestamo').hide(); $('#prestamoFisico').hide(); $('#prestamoVirtual').hide(); $("#btn_buscarDocumentos").click(function() { $(location).attr("href","busquedaDocumentos.action"); }); $('#t_documentosFisico').jtabl...
JavaScript
/* jTable 2.3.0 http://www.jtable.org --------------------------------------------------------------------------- Copyright (C) 2011-2013 by Halil İbrahim Kalkan (http://www.halilibrahimkalkan.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associat...
JavaScript
/* http://keith-wood.name/realPerson.html Real Person Form Submission for jQuery v1.1.1. Written by Keith Wood (kwood{at}iinet.com.au) June 2009. Available under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license. Please attribute the author if you use it. */ (function($...
JavaScript
$(document).ready(function(){ $("#loading").hide(); var jsp = $(location).attr('href'); jsp = jsp.substring(jsp.lastIndexOf('/') + 1); if(jsp == "logIn_bienvenida.action"){ limpiarMenu(); $("#inicio").addClass("active"); $("#inicio").removeClass("principalDinamico"); $("#principal").addClass("pri...
JavaScript
var list_docCCodigo; $(document).ready(function () { list_docCCodigo = new Array(); $('#tipoPrestamo').hide(); $('#prestamoFisico').hide(); $('#prestamoVirtual').hide(); $("#btn_buscarDocumentos").click(function() { $(location).attr("href","buscarDocumentos.action"); }); if(sessvars.list...
JavaScript
/* jTable 2.3.0 http://www.jtable.org --------------------------------------------------------------------------- Copyright (C) 2011-2013 by Halil İbrahim Kalkan (http://www.halilibrahimkalkan.com) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associat...
JavaScript
/* http://keith-wood.name/realPerson.html Real Person Form Submission for jQuery v1.1.1. Written by Keith Wood (kwood{at}iinet.com.au) June 2009. Available under the MIT (https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt) license. Please attribute the author if you use it. */ (function($...
JavaScript
Wami = function() { } Wami.utils = function() { } Wami.utils.debug = function(message) { if (typeof console == 'undefined') { // No Firebug console, so no logging. } else { console.log(message); } } Wami.utils.gup = function(name) { var regexS = "[\\?&]"+name+"=([^&#]*)"; var regex = new RegExp(regexS);...
JavaScript
///////////////////////////////////////////////////////////////// //// Public WamiApp API //// ///////////////////////////////////////////////////////////////// // Create a new Wami.App object. Note, you should never create more than one // Wami.App object on your page. // // ...
JavaScript
require('./builder.js').build({ "baseUrl": "../src/", "main": "dat/gui/GUI", "out": "../build/dat.gui.js", "minify": false, "shortcut": "dat.GUI", "paths": {} });
JavaScript
/** * dat-gui JavaScript Controller Library * http://code.google.com/p/dat-gui * * Copyright 2011 Data Arts Team, Google Creative Lab * * 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 ...
JavaScript
/// # Google Closure Compiler Service # /// https://github.com/weaver/scribbles/blob/master/node/google-closure/lib/closure.js /// Compress javascript with Node.js using the Closure Compiler /// Service. var sys = require('sys'); exports.compile = compile; // Use the Google Closure Compiler Service to compress Javas...
JavaScript
require('./builder.js').build({ "baseUrl": "../src/", "main": "dat/color/Color", "out": "../build/dat.color.js", "minify": false, "shortcut": "dat.Color", "paths": {} });
JavaScript