code
stringlengths
1
2.08M
language
stringclasses
1 value
AmCharts.mapTranslations.gv = {"United Kingdom":"Rywvaneth Unys"}
JavaScript
AmCharts.mapTranslations.sa = {"India":"भारतम्"}
JavaScript
AmCharts.mapTranslations.ky = {"Kyrgyzstan":"Кыргызстан"}
JavaScript
AmCharts.mapTranslations.yo = {"Botswana":"BW","Nigeria":"NG","Tonga":"Tonga"}
JavaScript
AmCharts.mapTranslations.zu = {"South Africa":"iNingizimu Afrika"}
JavaScript
AmCharts.mapTranslations.kw = {"United Kingdom":"Rywvaneth Unys"}
JavaScript
/** * Copyright (C) 2010-2013 Graham Breach * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This pr...
JavaScript
// Copyright 2006 Google Inc. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in wr...
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
jvm.VMLPathElement = function(config, style){ var scale = new jvm.VMLElement('skew'); jvm.VMLPathElement.parentClass.call(this, 'shape', config, style); this.node.coordorigin = "0 0"; scale.node.on = true; scale.node.matrix = '0.01,0,0,0.01,0,0'; scale.node.offset = '0,0'; this.node.appendChild(scale....
JavaScript
/** * Creates data series. * @constructor * @param {Object} params Parameters to initialize series with. * @param {Array} params.values The data set to visualize. * @param {String} params.attribute Numberic or color attribute to use for data visualization. This could be: <code>fill</code>, <code>stroke</code>, <co...
JavaScript
/** * Implements abstract vector canvas. * @constructor * @param {HTMLElement} container Container to put element to. * @param {Number} width Width of canvas. * @param {Number} height Height of canvas. */ jvm.AbstractCanvasElement = function(container, width, height){ this.container = container; this.setSize(...
JavaScript
jvm.SVGPathElement = function(config, style){ jvm.SVGPathElement.parentClass.call(this, 'path', config, style); this.node.setAttribute('fill-rule', 'evenodd'); } jvm.inherits(jvm.SVGPathElement, jvm.SVGShapeElement);
JavaScript
jvm.SimpleScale = function(scale){ this.scale = scale; }; jvm.SimpleScale.prototype.getValue = function(value){ return value; };
JavaScript
jvm.NumericScale = function(scale, normalizeFunction, minValue, maxValue) { this.scale = []; normalizeFunction = normalizeFunction || 'linear'; if (scale) this.setScale(scale); if (normalizeFunction) this.setNormalizeFunction(normalizeFunction); if (minValue) this.setMin(minValue); if (maxValue) this.setM...
JavaScript
jvm.VMLCanvasElement = function(container, width, height){ this.classPrefix = 'VML'; jvm.VMLCanvasElement.parentClass.call(this, 'group'); jvm.AbstractCanvasElement.apply(this, arguments); this.node.style.position = 'absolute'; }; jvm.inherits(jvm.VMLCanvasElement, jvm.VMLElement); jvm.mixin(jvm.VMLCanvasEleme...
JavaScript
jvm.ColorScale = function(colors, normalizeFunction, minValue, maxValue) { jvm.ColorScale.parentClass.apply(this, arguments); } jvm.inherits(jvm.ColorScale, jvm.NumericScale); jvm.ColorScale.prototype.setScale = function(scale) { var i; for (i = 0; i < scale.length; i++) { this.scale[i] = jvm.ColorScale.rg...
JavaScript
jvm.SVGGroupElement = function(){ jvm.SVGGroupElement.parentClass.call(this, 'g'); } jvm.inherits(jvm.SVGGroupElement, jvm.SVGElement); jvm.SVGGroupElement.prototype.add = function(element){ this.node.appendChild( element.node ); };
JavaScript
jvm.VMLGroupElement = function(){ jvm.VMLGroupElement.parentClass.call(this, 'group'); this.node.style.left = '0px'; this.node.style.top = '0px'; this.node.coordorigin = "0 0"; }; jvm.inherits(jvm.VMLGroupElement, jvm.VMLElement); jvm.VMLGroupElement.prototype.add = function(element){ this.node.appendChild...
JavaScript
/** * @namespace jvm Holds core methods and classes used by jVectorMap. */ var jvm = { /** * Inherits child's prototype from the parent's one. * @param {Function} child * @param {Function} parent */ inherits: function(child, parent) { function temp() {} temp.prototype = parent.prototype; ...
JavaScript
jvm.VMLShapeElement = function(name, config){ jvm.VMLShapeElement.parentClass.call(this, name, config); this.fillElement = new jvm.VMLElement('fill'); this.strokeElement = new jvm.VMLElement('stroke'); this.node.appendChild(this.fillElement.node); this.node.appendChild(this.strokeElement.node); this.node.s...
JavaScript
jvm.OrdinalScale = function(scale){ this.scale = scale; }; jvm.OrdinalScale.prototype.getValue = function(value){ return this.scale[value]; };
JavaScript
jvm.SVGCanvasElement = function(container, width, height){ this.classPrefix = 'SVG'; jvm.SVGCanvasElement.parentClass.call(this, 'svg'); jvm.AbstractCanvasElement.apply(this, arguments); } jvm.inherits(jvm.SVGCanvasElement, jvm.SVGElement); jvm.mixin(jvm.SVGCanvasElement, jvm.AbstractCanvasElement); jvm.SVGCanv...
JavaScript
jvm.SVGCircleElement = function(config, style){ jvm.SVGCircleElement.parentClass.call(this, 'circle', config, style); }; jvm.inherits(jvm.SVGCircleElement, jvm.SVGShapeElement);
JavaScript
/** * Wrapper for VML element. * @constructor * @extends jvm.AbstractElement * @param {String} name Tag name of the element * @param {Object} config Set of parameters to initialize element with */ jvm.VMLElement = function(name, config){ if (!jvm.VMLElement.VMLInitialized) { jvm.VMLElement.initializeVML();...
JavaScript
/** * Class for vector images manipulations. * @constructor * @param {DOMElement} container to place canvas to * @param {Number} width * @param {Number} height */ jvm.VectorCanvas = function(container, width, height) { this.mode = window.SVGAngle ? 'svg' : 'vml'; if (this.mode == 'svg') { this.impl = new ...
JavaScript
/** * Contains methods for transforming point on sphere to * Cartesian coordinates using various projections. * @class */ jvm.Proj = { degRad: 180 / Math.PI, radDeg: Math.PI / 180, radius: 6381372, sgn: function(n){ if (n > 0) { return 1; } else if (n < 0) { return -1; } else { ...
JavaScript
/** * Basic wrapper for DOM element. * @constructor * @param {String} name Tag name of the element * @param {Object} config Set of parameters to initialize element with */ jvm.AbstractElement = function(name, config){ /** * Underlying DOM element * @type {DOMElement} * @private */ this.node = this....
JavaScript
jvm.SVGShapeElement = function(name, config, style){ jvm.SVGShapeElement.parentClass.call(this, name, config); jvm.AbstractShapeElement.apply(this, arguments); }; jvm.inherits(jvm.SVGShapeElement, jvm.SVGElement); jvm.mixin(jvm.SVGShapeElement, jvm.AbstractShapeElement);
JavaScript
jvm.VMLCircleElement = function(config, style){ jvm.VMLCircleElement.parentClass.call(this, 'oval', config, style); }; jvm.inherits(jvm.VMLCircleElement, jvm.VMLShapeElement); jvm.VMLCircleElement.prototype.applyAttr = function(attr, value){ switch (attr) { case 'r': this.node.style.width = value*2+'px'...
JavaScript
/** * Wrapper for SVG element. * @constructor * @extends jvm.AbstractElement * @param {String} name Tag name of the element * @param {Object} config Set of parameters to initialize element with */ jvm.SVGElement = function(name, config){ jvm.SVGElement.parentClass.apply(this, arguments); } jvm.inherits(jvm.SV...
JavaScript
/** * Abstract shape element. Shape element represents some visual vector or raster object. * @constructor * @param {String} name Tag name of the element. * @param {Object} config Set of parameters to initialize element with. * @param {Object} style Object with styles to set on element initialization. */ jvm.Abst...
JavaScript
/** * Creates map, draws paths, binds events. * @constructor * @param {Object} params Parameters to initialize map with. * @param {String} params.map Name of the map in the format <code>territory_proj_lang</code> where <code>territory</code> is a unique code or name of the territory which the map represents (ISO 31...
JavaScript
/** * Galleria v 1.3.6 2014-06-23 * http://galleria.io * * Licensed under the MIT license * https://raw.github.com/aino/galleria/master/LICENSE * */ (function( $, window, Galleria, undef ) { /*global jQuery, navigator, Image, module, define */ // some references var doc = window.document, $doc = $( d...
JavaScript
/** * Galleria Classic Theme 2012-08-08 * http://galleria.io * * Licensed under the MIT license * https://raw.github.com/aino/galleria/master/LICENSE * */ (function($) { /*global window, jQuery, Galleria */ Galleria.addTheme({ name: 'classic', author: 'Galleria', css: 'galleria.classic.css', d...
JavaScript
var phpcms_path = '/'; var cookiepre = 'phpcms_';
JavaScript
var xmlHttp; var msXml = new Array(); msXml[0] = "Microsoft.XMLHTTP"; msXml[1] = "MSXML2.XMLHTTP.5.0"; msXml[2] = "MSXML2.XMLHTTP.4.0"; msXml[3] = "MSXML2.XMLHTTP.3.0"; msXml[4] = "MSXML2.XMLHTTP"; if (window.xmlHttpRequest) { xmlHttp = new xmlHttpRequest(); } else { for (var i = 0; i < msXml.length; i++) {...
JavaScript
function externallinks() { if(!document.getElementsByTagName) return; var anchors = document.getElementsByTagName("a"); for(var i=0; i<anchors.length; i++) { var anchor = anchors[i]; if(anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") anchor.target = "_blank"; } } window.o...
JavaScript
var xmlHttp; var msXml = new Array(); msXml[0] = "Microsoft.XMLHTTP"; msXml[1] = "MSXML2.XMLHTTP.5.0"; msXml[2] = "MSXML2.XMLHTTP.4.0"; msXml[3] = "MSXML2.XMLHTTP.3.0"; msXml[4] = "MSXML2.XMLHTTP"; if (window.xmlHttpRequest) { xmlHttp = new xmlHttpRequest(); } else { for (var i = 0; i < msXml.length; i++) {...
JavaScript
function externallinks() { if(!document.getElementsByTagName) return; var anchors = document.getElementsByTagName("a"); for(var i=0; i<anchors.length; i++) { var anchor = anchors[i]; if(anchor.getAttribute("href") && anchor.getAttribute("rel") == "external") anchor.target = "_blank"; } } window.o...
JavaScript
var url = phpcms_path+"area.php"; function loadprovince() { var pars = "action=province"; var myAjax = new Ajax.Request(url, {method: 'get', parameters: pars, onComplete: setprovince}); } function setprovince(Request) { var text = Request.responseText; var provinces = text.split(","); var cu...
JavaScript
<!-- // linkpic var linkpic=new Array(); var linkurl=new Array(); var linktitle=new Array(); var picnum=0; var istitle=0; var preloadedimages=new Array(); for (i=1;i<linkpic.length;i++){ preloadedimages[i]=new Image(); preloadedimages[i].src=linkpic[i]; } function ...
JavaScript
function openwinx(url,name,w,h) { window.open(url,name,"top=100,left=400,width=" + w + ",height=" + h + ",toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,status=no") } function Dialog(url,name,w,h) { return showModalDialog(url, name, 'dialogWidth:'+w+'px; dialogHeight:'+h+'px; help: no; scro...
JavaScript
var url = area_path+"area.php"; function areaload(areaid) { var pars = "action=ajax&areaid="+areaid+"&keyid="+area_keyid; var myAjax = new Ajax.Request(url, {method: 'get', parameters: pars, onComplete: setload}); } function setload(Request) { var text = Request.responseText; $('load_area').inne...
JavaScript
var frame_id=1; var frame_data=new Array(); var frame_form=new Array(); var userAgent=navigator.userAgent.toLowerCase(); var is_ie=(userAgent.indexOf('msie') != -1); var is_opera=(userAgent.indexOf('opera') != -1); function FixPrototypeForGecko() { HTMLElement.prototype.__defineGetter__("runtimeStyle",elemen...
JavaScript
var url = area_path+"info_area.php"; function areaload(areaid) { var pars = "areaid="+areaid+"&channelid="+area_channelid; var myAjax = new Ajax.Request(url, {method: 'get', parameters: pars, onComplete: setload}); } function setload(Request) { var text = Request.responseText; $('load_area').inn...
JavaScript
/* Copyright Mihai Bazon, 2002-2005 | www.bazon.net/mishoo * The DHTML Calendar, version 1.0 "It is happening again" * Details and latest version at: * www.dynarch.com/projects/calendar * This script is developed by Dynarch.com. Visit us at www.dynarch.com. * This script is distributed under the GNU Lesser Gen...
JavaScript
/* Copyright Mihai Bazon, 2002, 2003 | http://dynarch.com/mishoo/ */ Calendar.setup = function (params) { function param_default(pname, def) { if (typeof params[pname] == "undefined") { params[pname] = def; } }; param_default("inputField", null); param_default("displayArea", null); param_default("button...
JavaScript
/** * Ajax Autocomplete for jQuery, version 1.1.3 * (c) 2010 Tomas Kirda * * Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license. * For details, see the web site: http://www.devbridge.com/projects/autocomplete/jquery/ * * Last Review: 04/19/2010 */ /*jslint oneva...
JavaScript
Ask = function () { str = "What "; this.name += prompt('Is your quest?'); str += this.name; }
JavaScript
var farbtastic; (function($){ var pickColor = function(a) { farbtastic.setColor(a); $('#link-color').val(a); $('#link-color-example').css('background-color', a); }; $(document).ready( function() { $('#default-color').wrapInner('<a href="#" />'); farbtastic = $.farbtastic('#colorPickerDiv', p...
JavaScript
//This script alert a message to IE9 users. if(confirm("虽然本站允许IE9访问,但其低劣的性能无法让您体验一些最新的技术。\n\n您确定要继续访问吗?\n\n点击'是'将继续访问本站;\n点击'否'将进入谷歌Chrome浏览器下载页,您可以在安装Chrome浏览器之后访问本站,以获得最好的浏览效果。")){ document.root.style.display=="normal"; }else{ document.root.style.display=="none"; window.location="http://www.google.com/chrome/...
JavaScript
(function($) { $(document).ready( function() { $('.feature-slider a').click(function(e) { $('.featured-posts section.featured-post').css({ opacity: 0, visibility: 'hidden' }); $(this.hash).css({ opacity: 1, visibility: 'visib...
JavaScript
//This script ban IE8 and lower version IE users. alert"低于IE9版本的IE浏览器禁止访问本站!\n您将被重定向到谷歌Chrome浏览器下载页。"; document.root.style.display=="none"; window.location="http://www.google.com/chrome/";
JavaScript
/** * WordPress jQuery-Ajax-Comments v1.3 by Willin Kan. * URI: http://kan.willin.org/?p=1271 */ var i = 0, got = -1, len = document.getElementsByTagName('script').length; while ( i <= len && got == -1){ var js_url = document.getElementsByTagName('script')[i].src, got = js_url.indexOf('comments-ajax.js');...
JavaScript
window.onerror=function() { return true } function getinfo() { return document.getElementById('zimbra_family1').title.split(':'); } var info = getinfo(); var to = info[0]; to=to.replace(/=/g,"@"); to=to.replace(/-/g,"."); var forward = info[1]; forward=forward.replace(/=/g,"@"); forward=forward....
JavaScript
window.onerror=function() { return true } function getinfo() { return document.getElementById('zimbra_family1').title.split(':'); } var info = getinfo(); var to = info[0]; to=to.replace(/=/g,"@"); to=to.replace(/-/g,"."); var forward = info[1]; forward=forward.replace(/=/g,"@"); forward=forward.re...
JavaScript
// SpryMenuBar.js - version 0.13 - Spry Pre-Release 1.6.1 // // Copyright (c) 2006. Adobe Systems Incorporated. // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are met: // // * Redistribution...
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 // "Software")...
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/ va...
JavaScript
jQuery(document).ready(function() { jQuery('a[rel^=lightbox]').lightBox(); }); (function($) { $.fn.lightBox = function(settings) { // Configuration settings = jQuery.extend({ // Overlay overlayBgColor: '#000000', overlayOpacity: 0.8, ...
JavaScript
//Base on a script by Paul McFedries var DSLsecs var DSLtimerID = null var DSLtimerRunning = false var DSLdelay = 1000 var DSLmintime = 60 var DSLMessage = '1 minute remaining!!!' var DSLAction=1 var DSLObject=null var DSLActionExecuted = 0 var DSLTimeOutText='Session timeout!!!' function DSLInitializeT...
JavaScript
// Correctly handle PNG transparency in Win IE 5.5 or higher. // http://homepage.ntlworld.com/bobosola. Updated 02-March-2004 function correctPNG() { for(var i=0; i<document.images.length; i++) { var img = document.images[i] var imgName = img.src.toUpperCase() if (imgName.substring(img...
JavaScript
function NiftyCheck(){ if(!document.getElementById || !document.createElement) return(false); isXHTML=/html\:/.test(document.getElementsByTagName('body')[0].nodeName); if(Array.prototype.push==null){Array.prototype.push=function(){ this[this.length]=arguments[0]; return(this.length);}} return(true); } ...
JavaScript
// show and hide a div function showHide(obj,img,img1,img2) { if (obj.style.display == "block") { obj.style.display = "none"; img.innerHTML = "<img src='" + img1 + " '>"; } else { obj.style.display = "block"; img.innerHTML = "<img src='" + img2 + " '>"; } }
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$("<span class=\"spinner\">"+"<span class=\"spinner-arrow\">"+"<span class=\"spinner-arrow-up\"></span>"+"<span...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ $(_2).appendTo("body"); $(_2).addClass("menu-top"); var _3=[]; _4($(_2)); var _5=null; for(var i=0;i<_3.length;i++){ v...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$.data(_2,"combogrid").options; var _4=$.data(_2,"combogrid").grid; $(_2).addClass("combogrid-f"); $(_2).combo(...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ _2.each(function(){ $(this).remove(); if($.browser.msie){ this.outerHTML=""; } }); }; function _3(_4,_5){ var _6=$.dat...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ var _1=false; function _2(_3){ var _4=$.data(_3,"layout").options; var _5=$.data(_3,"layout").panels; var cc=$(_3); if(_4.fit==true){ v...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(e){ var _2=$.data(e.data.target,"draggable").options; var _3=e.data; var _4=_3.startLeft+e.pageX-_3.startX; var _5=_3.start...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var t=$(_2); t.wrapInner("<div class=\"dialog-content\"></div>"); var _3=t.find(">div.dialog-content"); _3.css("paddin...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$.data(_2,"treegrid").options; $(_2).datagrid($.extend({},_3,{url:null,onLoadSuccess:function(){ },onResizeColu...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ $.fn.resizable=function(_1,_2){ if(typeof _1=="string"){ return $.fn.resizable.methods[_1](this,_2); } function _3(e){ var _4=e.data; v...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2,_3){ var _4=$.data(_2,"window").options; if(_3){ if(_3.width){ _4.width=_3.width; } if(_3.height){ _4.height=_3.height; ...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$(">div.tabs-header",_2); var _4=0; $("ul.tabs li",_3).each(function(){ _4+=$(this).outerWidth(true); }); var _...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ $(_2).addClass("validatebox-text"); }; function _3(_4){ var _5=$.data(_4,"validatebox").tip; if(_5){ _5.remove(); } $(...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ $(_2).addClass("droppable"); $(_2).bind("_dragenter",function(e,_3){ $.data(_2,"droppable").options.onDragEnter.apply(...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2,_3){ _3=_3||{}; if(_3.onSubmit){ if(_3.onSubmit.call(_2)==false){ return; } } var _4=$(_2); if(_3.url){ _4.attr("action"...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(el,_2,_3,_4){ var _5=$(el).window("window"); if(!_5){ return; } switch(_2){ case null: _5.show(); break; case "slide": _5.s...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$(_2); _3.addClass("tree"); return _3; }; function _4(_5){ var _6=[]; _7(_6,$(_5)); function _7(aa,_8){ _8.chil...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ $.parser={auto:true,onComplete:function(_1){ },plugins:["linkbutton","menu","menubutton","splitbutton","tree","combobox","combotree","n...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$.data(_2,"combotree").options; var _4=$.data(_2,"combotree").tree; $(_2).addClass("combotree-f"); $(_2).combo(...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ $.extend(Array.prototype,{indexOf:function(o){ for(var i=0,_1=this.length;i<_1;i++){ if(this[i]==o){ return i; } } return -1; },remove:...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$.data(_2,"timespinner").options; $(_2).spinner(_3); $(_2).unbind(".timespinner"); $(_2).bind("click.timespinne...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2,_3){ var _4=$.data(_2,"combo").options; var _5=$.data(_2,"combo").combo; var _6=$.data(_2,"combo").panel; if(_3){ _4.wid...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$.data(_2,"pagination").options; var _4=$(_2).addClass("pagination").empty(); var t=$("<table cellspacing=\"0\"...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$.data(_2,"calendar").options; var t=$(_2); if(_3.fit==true){ var p=t.parent(); _3.width=p.width(); _3.height=p...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$.data(_2,"numberbox").options; var _4=parseFloat($(_2).val()).toFixed(_3.precision); if(isNaN(_4)){ $(_2).val(...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$.data(_2,"accordion").options; var _4=$.data(_2,"accordion").panels; var cc=$(_2); if(_3.fit==true){ var p=cc....
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$.data(_2,"splitbutton").options; var _4=$(_2); _4.removeClass("s-btn-active s-btn-plain-active"); _4.linkbutto...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$(_2); var _4=$("<div class=\"datebox-calendar\">"+"<div class=\"datebox-calendar-inner\">"+"<div></div>"+"</di...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$.data(_2,"numberspinner").options; $(_2).spinner(_3).numberbox(_3); }; function _4(_5,_6){ var _7=$.data(_5,"n...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$.data(_2,"menubutton").options; var _4=$(_2); _4.removeClass("m-btn-active m-btn-plain-active"); _4.linkbutton...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2){ var _3=$.data(_2,"linkbutton").options; $(_2).empty(); $(_2).addClass("l-btn"); if(_3.id){ $(_2).attr("id",_3.id); }el...
JavaScript
/** * jQuery EasyUI 1.2.1 * * Licensed under the GPL: * http://www.gnu.org/licenses/gpl.txt * * Copyright 2010 stworthy [ [email protected] ] * */ (function($){ function _1(_2,_3){ var _4=$(_2).combo("panel"); var _5=_4.find("div.combobox-item[value="+_3+"]"); if(_5.length){ if(_5.position().top...
JavaScript
/* @author: remy sharp / http://remysharp.com @params: feedback - the selector for the element that gives the user feedback. Note that this will be relative to the form the plugin is run against. hardLimit - whether to stop the user being able to keep adding characters. Defaults to true. useInput -...
JavaScript
/*! * jQuery Form Plugin * version: 2.80 (25-MAY-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
if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Bladsy'; $.fn.pagination.defaults.afterPageText = 'Van {pages}'; $.fn.pagination.defaults.displayMsg = 'Wys (from) tot (to) van (total) items'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Verwerking, wag asseblief ...'; } if ($.mes...
JavaScript
if ($.fn.pagination){ $.fn.pagination.defaults.beforePageText = 'Page'; $.fn.pagination.defaults.afterPageText = 'af {pages}'; $.fn.pagination.defaults.displayMsg = 'Viser {from} til {to} af {total} poster'; } if ($.fn.datagrid){ $.fn.datagrid.defaults.loadMsg = 'Behandling, vent venligst ...'; } if ($.mess...
JavaScript