code
stringlengths
1
2.08M
language
stringclasses
1 value
// A simple module to replace `Backbone.sync` with *localStorage*-based // persistence. Models are given GUIDS, and saved into a JSON object. Simple // as that. // Generate four random hex digits. function S4() { return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1); }; // Generate a pseudo...
JavaScript
// Backbone.js 0.9.2 // (c) 2010-2012 Jeremy Ashkenas, DocumentCloud Inc. // Backbone may be freely distributed under the MIT license. // For all details and documentation: // http://backbonejs.org (function(){ // Initial Setup // ------------- // Save a reference to the global object (`wi...
JavaScript
/** * jq.web.css3Animate - css3 animate class for html5 mobile apps * @copyright 2011 - AppMobi */ (function ($) { $.fn["css3Animate"] = function (opts) { var tmp; for (var i = 0; i < this.length; i++) { tmp = new css3Animate(this[i], opts); } return this.leng...
JavaScript
/** * jqMobi is a query selector class for HTML5 mobile apps on a WebkitBrowser. * Since most mobile devices (Android, iOS, webOS) use a WebKit browser, you only need to target one browser. * We are able to increase the speed greatly by removing support for legacy desktop browsers and taking advantage of browser featur...
JavaScript
redirectMouseToTouch = function(type, originalEvent) { //stop propagation, and remove default behavior for everything but INPUT, TEXTAREA & SELECT fields // originalEvent.stopPropagation(); if (originalEvent.target.tagName.toUpperCase().indexOf("SELECT") == -1 && originalEvent.target.tagName.toUpperC...
JavaScript
alert("I am script #2");
JavaScript
alert("I am script #1");
JavaScript
var map = {}; var preload; var loader; var manifest; var w = 238; // Item width var h = 170; // Item height function init() { if (window.top != window) { document.getElementById("header").style.display = "none"; } $("#loadAnotherBtn").click(loadAnother); $("#loadAllBtn").click(loadAll); $("#reloa...
JavaScript
var preload; function init() { if (window.top != window) { document.getElementById("header").style.display = "none"; } // Create a new queue. preload = new createjs.PreloadJS(); preload.installPlugin(createjs.SoundJS); preload.onFileLoad = handleFileLoaded; preload.onError = handleFileError; } ...
JavaScript
function rconRefresh() { $.getJSON(BASE_URL+'index.php/dashboard/ajaxindex/?'+Math.random(), function(data) { // Error? if(data.error == 'None') { $('#rightblock').html(data.content); } else { $('#rightblock').prepend('<div class="message error...
JavaScript
/* * Copyright (c) 2008 Greg Weber greg at gregweber.info * Dual licensed under the MIT and GPLv2 licenses just as jQuery is: * http://jquery.org/license * * documentation at http://gregweber.info/projects/uitablefilter * * allows table rows to be filtered (made invisible) * <code> * t = $('table') * $.uiTabl...
JavaScript
this.box2d = this.box2d || {}; (function () { box2d = { b2Vec2: Box2D.Common.Math.b2Vec2, b2BodyDef: Box2D.Dynamics.b2BodyDef, b2Body: Box2D.Dynamics.b2Body, b2FixtureDef: Box2D.Dynamics.b2FixtureDef, b2Fixture: Box2D.Dynamics.b2Fixture, b2World: Box2D.Dyn...
JavaScript
document.addEventListener( "touchstart", function() { return false; }, false ); this.Game = this.Game || {}; this.box2d = this.box2d || {}; (function (namespace) { var FPS_TARGET = 60; var FPS = FPS_TARGET; var canvas, stage; var fpsLabel, countLabel; var ballCount = 0; ...
JavaScript
this.Game = this.Game || {}; this.box2d = this.box2d || {}; (function (namespace) { // =========== // CONSTRUCTOR // =========== namespace.Ball = function (px, py, magnitude) { this.init(px, py, magnitude); } var p = namespace.Ball.prototype = new namespace.PhysicsCircl...
JavaScript
this.Game = this.Game || {}; this.box2d = this.box2d || {}; (function (namespace) { namespace.PowerBar = function (px, py, width, height, maxValue, startValue, color, rechargeRate) { this.init(px, py, width, height, maxValue, startValue, color, rechargeRate); } var p = names...
JavaScript
this.Game = this.Game || {}; this.box2d = this.box2d || {}; (function (namespace) { // =========== // CONSTRUCTOR // =========== namespace.PhysicsCircle = function (px, py, radius, bitmap, properties) { properties = properties || {}; if (arguments.length >= 4) ...
JavaScript
this.Game = this.Game || {}; this.box2d = this.box2d || {}; (function (namespace) { // =========== // CONSTRUCTOR // =========== namespace.PhysicsProjectile = function (px, py, radius, vx, vy, texture) { properties = properties || {}; if (arguments.length >= 6) ...
JavaScript
this.Game = this.Game || {}; this.box2d = this.box2d || {}; (function (namespace) { // =========== // CONSTRUCTOR // =========== namespace.PhysicsBoundary = function (px, py, width, height, properties) { properties = properties || {}; this.init(px, py, width, height, pro...
JavaScript
this.Game = this.Game || {}; this.box2d = this.box2d || {}; (function (namespace) { // =========== // CONSTRUCTOR // =========== namespace.PhysicsBox = function (px, py, width, height, texture, properties) { properties = properties || {}; if (arguments.length >= 4) ...
JavaScript
this.box2d = this.box2d || {}; (function () { box2d = { b2Vec2: Box2D.Common.Math.b2Vec2, b2BodyDef: Box2D.Dynamics.b2BodyDef, b2Body: Box2D.Dynamics.b2Body, b2FixtureDef: Box2D.Dynamics.b2FixtureDef, b2Fixture: Box2D.Dynamics.b2Fixture, b2World: Box2D.Dyn...
JavaScript
// For an introduction to the Blank template, see the following documentation: // http://go.microsoft.com/fwlink/?LinkId=232509 this.Game = this.Game || {}; this.box2d = this.box2d || {}; (function () { "use strict"; WinJS.Binding.optimizeBindingReferences = true; var app = WinJS.Application;...
JavaScript
this.Game = this.Game || {}; this.box2d = this.box2d || {}; (function (namespace) { // =========== // CONSTRUCTOR // =========== namespace.Ball = function (px, py, magnitude) { this.init(px, py, magnitude); } var p = namespace.Ball.prototype = new namespace.PhysicsCircl...
JavaScript
this.Game = this.Game || {}; this.box2d = this.box2d || {}; (function (namespace) { var FPS_TARGET = 60; var FPS = FPS_TARGET; var canvas, stage; var fpsLabel, countLabel; var ballCount = 0; var cx = 0; var cy = 0; var speed = 20; var mouseIsDown = false; var mo...
JavaScript
this.Game = this.Game || {}; this.box2d = this.box2d || {}; (function (namespace) { namespace.PowerBar = function (px, py, width, height, maxValue, startValue, color, rechargeRate) { this.init(px, py, width, height, maxValue, startValue, color, rechargeRate); } var p = names...
JavaScript
this.Game = this.Game || {}; this.box2d = this.box2d || {}; (function (namespace) { // =========== // CONSTRUCTOR // =========== namespace.PhysicsCircle = function (px, py, radius, bitmap, properties) { properties = properties || {}; if (arguments.length >= 4) ...
JavaScript
this.Game = this.Game || {}; this.box2d = this.box2d || {}; (function (namespace) { // =========== // CONSTRUCTOR // =========== namespace.PhysicsProjectile = function (px, py, radius, vx, vy, texture) { properties = properties || {}; if (arguments.length >= 6) ...
JavaScript
this.Game = this.Game || {}; this.box2d = this.box2d || {}; (function (namespace) { // =========== // CONSTRUCTOR // =========== namespace.PhysicsBoundary = function (px, py, width, height, properties) { properties = properties || {}; this.init(px, py, width, height, pro...
JavaScript
this.Game = this.Game || {}; this.box2d = this.box2d || {}; (function (namespace) { // =========== // CONSTRUCTOR // =========== namespace.PhysicsBox = function (px, py, width, height, texture, properties) { properties = properties || {}; if (arguments.length >= 4) ...
JavaScript
// For an introduction to the Blank template, see the following documentation: // http://go.microsoft.com/fwlink/?LinkId=232509 (function () { "use strict"; WinJS.Binding.optimizeBindingReferences = true; var app = WinJS.Application; var activation = Windows.ApplicationModel.Activation; ...
JavaScript
this.ALE = this.ALE || {}; this.box2d = this.box2d || {}; this.createjs = this.createjs || {}; (function (namespace) { namespace._camera = {}; namespace.init = function () { console.log("Hello, ALE!"); } namespace.configAccelerometer = function (toggle) { conso...
JavaScript
this.ALE = this.ALE || {}; this.box2d = this.box2d || {}; (function (namespace) { namespace.Scene = function () { init(); } var p = namespace.Scene.prototype; // =================================== var container = {}; function init() { container = ...
JavaScript
this.createjs = this.createjs || {}; this.ALE = this.ALE || {}; (function (namespace) { var media = namespace.Media = {}; // ================================== var sounds = new Array(); var tunes = new Array(); var images = new Array(); media.getSound = function (soundN...
JavaScript
this.ALE = this.ALE || {}; this.box2d = this.box2d || {}; (function (namespace) { var level = namespace.Level = {}; // Victory types var DESTINATION = 0; var GOODIECOUNT = 1; var ENEMYCOUNT = 2; // Fields var current = {}; var winSound = {}; var loseSound = {}; ...
JavaScript
this.ALE = this.ALE || {}; (function (namespace) { namespace.Camera = function () { } })(this.ALE);
JavaScript
this.box2d = this.box2d || {}; (function () { box2d = { b2Vec2: Box2D.Common.Math.b2Vec2, b2BodyDef: Box2D.Dynamics.b2BodyDef, b2Body: Box2D.Dynamics.b2Body, b2FixtureDef: Box2D.Dynamics.b2FixtureDef, b2Fixture: Box2D.Dynamics.b2Fixture, b2World: Box2D.Dyn...
JavaScript
this.ALE = this.ALE || {}; this.Game = this.Game || {}; (function (namespace) { namespace.init = function () { ALE.init(); console.log("Hello, Game!"); nameResources(); } // ======================================= // User Editable // ===================...
JavaScript
function gaeTempe(tempe,dele) { return document.location.href="http://www.amazon.co.uk/dp/"+tempe+"/?tag=linausa-21"; }
JavaScript
/* Tablecloth written by Alen Grakalic, provided by Css Globe (cssglobe.com) please visit http://cssglobe.com/lab/tablecloth/ */ this.tablecloth = function(){ // CONFIG // if set to true then mouseover a table cell will highlight entire column (except sibling headings) var highlightCols = ...
JavaScript
/* Tablecloth written by Alen Grakalic, provided by Css Globe (cssglobe.com) please visit http://cssglobe.com/lab/tablecloth/ */ this.tablecloth = function(){ // CONFIG // if set to true then mouseover a table cell will highlight entire column (except sibling headings) var highlightCols = ...
JavaScript
var caret_index = 1; function $(id) { return document.getElementById(id); } function row_color(index) { var accept = $('item-' + index + '-accept').checked; var flag = $('item-' + index + '-flag').checked; var current = index == caret_index; return accept ? '#dfd' : flag ? '#fdd' : current ? '#ffd' : '#fff'...
JavaScript
// Copyright 2010 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...
JavaScript
// Copyright 2010 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...
JavaScript
(function($) { $.fn.iklanaccordion = function(settings) { settings = jQuery.extend({ active: 1, sUpSpeed: 40, sDownSpeed: 40, sUpEasing: null, sDownEasing: null }, settings); return this.each(function() { var...
JavaScript
function HSVtoRGB(h,s,v){ h%=6; var r,g,b; if (s==0) r=g=b=v; else { var H=h>>0; var f=h-H; var p=v*(1-s); var q=v*(1-f*s); var t=v*(1-(1-f)*s); if (H==0) r=v, g=t, b=p; if (H==1) r=q, g=v, b=p; if (H==2) r=p, g=v, b=t; if (H==3) r=p, g=q, b=v; if (H==4) r=t, g=p, b=v; if (H==5...
JavaScript
// SHAPE PRIMITIVES var BOX = [ {face: 'front', vertices: [[-5, -5 ,-5], [5,-5,-5], [5,-5,5], [-5,-5,5]], hue: 0.5 }, {face: 'back', vertices: [[-5, 5 ,-5], [5,5,-5], [5,5,5], [-5,5,5]], hue: 2.5 }, ...
JavaScript
//************* // CLASS: Switch2way // 2-way switch UI element // Author: Nick Braun, 2011 function Switch2way(canvas,handle_id,updateFunc){ // equation of motion vars for spring action var x0; // base position var x; // dynamic position var velx=0; var m...
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 ...
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
function double_list_move(srcId, destId) { var src=document.getElementById(srcId); var dest=document.getElementById(destId); for (var i = 0; i < src.options.length; i++) { if (src.options[i].selected) { dest.options[dest.length] = new Option(src.options[i].text, src.options[i].value); src.o...
JavaScript
// django javascript file // Finds all fieldsets with class="collapse", collapses them, and gives each // one a "show" link that uncollapses it. The "show" link becomes a "hide" // link when the fieldset is visible. function findForm(node) { // returns the node of the form containing the given node if (node.tagNa...
JavaScript
$(function() { });
JavaScript
var iCurrentCitaId = null; $(document).ready(function() { var table = $('#despacho_table').DataTable({ "columnDefs": [ { "visible": false, "targets": 0 } ], "order": [[ 0, 'asc' ]], "ordering": false, "info": false, "filter...
JavaScript
var iCurrentDialogId = null; $(document).ready(function() { $("#new_date_meeting").datepicker({ minDate: 0, maxDate: "+1M +10D", showOn: "button", buttonText: "...", dateFormat: "yy-mm-dd" }); $(".reschedule_meeting").click(function(event) { event.preven...
JavaScript
var oMedicinaReceta = new Array(); var aComentario = new Array(); var oMedicineTable = {}; var oCommentTable = {}; $(document).ready(function() { $.ajax({ url: $("#big_header").data('get_json_url'), type: 'post', dataType: 'json', data : { 'pacient_id' : $("#big_header")...
JavaScript
$(document).ready(function() { $('#calendar').fullCalendar({ header: { left: 'prev,next', center: 'title', right: 'agendaWeek' }, defaultView: 'agendaWeek', editable: false, eventLimit: true, // allow "more" link when too many events ...
JavaScript
$(function() { $('#side-menu').metisMenu(); }); //Loads the correct sidebar on window load, //collapses the sidebar on window resize. // Sets the min-height of #page-wrapper to window size $(function() { $(window).bind("load resize", function() { topOffset = 50; width = (this.wind...
JavaScript
/*! DataTables Bootstrap 3 integration * ©2011-2014 SpryMedia Ltd - datatables.net/license */ /** * DataTables integration for Bootstrap 3. This requires Bootstrap 3 and * DataTables 1.10 or newer. * * This file sets the defaults and adds options to DataTables to style its * controls using Bootstrap. See http:/...
JavaScript
/* * metismenu - v1.0.3 * Easy menu jQuery plugin for Twitter Bootstrap 3 * https://github.com/onokumus/metisMenu * * Made by Osman Nuri Okumuş * Under MIT License */ ;(function ($, window, document, undefined) { var pluginName = "metisMenu", defaults = { toggle: true }; ...
JavaScript
/* Flot plugin for automatically redrawing plots as the placeholder resizes. Copyright (c) 2007-2013 IOLA and Ole Laursen. Licensed under the MIT license. It works by listening for changes on the placeholder div (through the jQuery resize event plugin) - if the size changes, it will redraw the plot. There ar...
JavaScript
/* Flot plugin for rendering pie charts. The plugin assumes the data is coming is as a single data value for each series, and each of those values is a positive value or zero (negative numbers don't make any sense and will cause strange effects). The data values do NOT need to be passed in as percentage values...
JavaScript
//Flot Line Chart $(document).ready(function() { console.log("document ready"); var offset = 0; plot(); function plot() { var sin = [], cos = []; for (var i = 0; i < 12; i += 0.2) { sin.push([i, Math.sin(i + offset)]); cos.push([i, Math.cos...
JavaScript
/*! Javascript plotting library for jQuery, v. 0.7. * * Released under the MIT license by IOLA, December 2007. * */ // first an inline dependency, jquery.colorhelpers.js, we inline it here // for convenience /* Plugin for jQuery for working with colors. * * Version 1.1. * * Inspiration from jQu...
JavaScript
/* Set the defaults for DataTables initialisation */ $.extend(true, $.fn.dataTable.defaults, { "sDom": "<'row'<'col-sm-6'l><'col-sm-6'f>r>" + "t" + "<'row'<'col-sm-6'i><'col-sm-6'p>>", "oLanguage": { "sLengthMenu": "_MENU_ records per page" } }); /* Default class modification */ $.extend...
JavaScript
/* * Gritter for jQuery * http://www.boedesign.com/ * * Copyright (c) 2012 Jordan Boesch * Dual licensed under the MIT and GPL licenses. * * Date: February 24, 2012 * Version: 1.7.4 */ (function($){ /** * Set it up as an object under the jQuery namespace */ $.gritter = {}; /** * Set up global optio...
JavaScript
var jsUtil = jsUtil || {}; jsUtil.Gritter = jsUtil.Gritter || {}; //############################# //Gritter Helper functions //############################# jsUtil.Gritter.addSuccessMessage = function(sMessage) { $.gritter.add({ title: 'Exito!', text: sMessage, image: '../images/success.png...
JavaScript
/*! * FullCalendar v2.1.1 * Docs & License: http://arshaw.com/fullcalendar/ * (c) 2013 Adam Shaw */ (function(factory) { if (typeof define === 'function' && define.amd) { define([ 'jquery', 'moment' ], factory); } else { factory(jQuery, moment); } })(function($, moment) { ;; var defaults = { lang: 'en'...
JavaScript
/*! * FullCalendar v2.1.1 Google Calendar Plugin * Docs & License: http://arshaw.com/fullcalendar/ * (c) 2013 Adam Shaw */ (function(factory) { if (typeof define === 'function' && define.amd) { define([ 'jquery' ], factory); } else { factory(jQuery); } })(function($) { var fc = $.fullCalendar; var apply...
JavaScript
/*! * FullCalendar v2.1.1 * Docs & License: http://arshaw.com/fullcalendar/ * (c) 2013 Adam Shaw */ (function(factory) { if (typeof define === 'function' && define.amd) { define([ 'jquery', 'moment' ], factory); } else { factory(jQuery, moment); } })(function($, moment) { ;; var defaults = { lang: 'en'...
JavaScript
/*! KeyTable 1.2.1 * ©2010-2014 SpryMedia Ltd - datatables.net/license */ /** * @summary KeyTable * @description Spreadsheet like keyboard navigation for DataTables * @version 1.2.1 * @file dataTables.keyTable.js * @author SpryMedia Ltd (www.sprymedia.co.uk) * @contact www.sprymedia.co....
JavaScript
/*! ColReorder 1.1.2 * ©2010-2014 SpryMedia Ltd - datatables.net/license */ /** * @summary ColReorder * @description Provide the ability to reorder columns in a DataTable * @version 1.1.2 * @file dataTables.colReorder.js * @author SpryMedia Ltd (www.sprymedia.co.uk) * @contact www.sprym...
JavaScript
/*! FixedColumns 3.0.2 * ©2010-2014 SpryMedia Ltd - datatables.net/license */ /** * @summary FixedColumns * @description Freeze columns in place on a scrolling DataTable * @version 3.0.2 * @file dataTables.fixedColumns.js * @author SpryMedia Ltd (www.sprymedia.co.uk) * @contact www.spry...
JavaScript
/*! TableTools 2.2.3 * 2009-2014 SpryMedia Ltd - datatables.net/license * * ZeroClipboard 1.0.4 * Author: Joseph Huckaby - MIT licensed */ /** * @summary TableTools * @description Tools and buttons for DataTables * @version 2.2.3 * @file dataTables.tableTools.js * @author SpryMedia Ltd (w...
JavaScript
/*! Responsive 1.0.2 * 2014 SpryMedia Ltd - datatables.net/license */ /** * @summary Responsive * @description Responsive tables plug-in for DataTables * @version 1.0.2 * @file dataTables.responsive.js * @author SpryMedia Ltd (www.sprymedia.co.uk) * @contact www.sprymedia.co.uk/contact ...
JavaScript
/*! AutoFill 1.2.1 * ©2008-2014 SpryMedia Ltd - datatables.net/license */ /** * @summary AutoFill * @description Add Excel like click and drag auto-fill options to DataTables * @version 1.2.1 * @file dataTables.autoFill.js * @author SpryMedia Ltd (www.sprymedia.co.uk) * @contact www.spr...
JavaScript
/*! ColVis 1.1.1 * ©2010-2014 SpryMedia Ltd - datatables.net/license */ /** * @summary ColVis * @description Controls for column visibility in DataTables * @version 1.1.1 * @file dataTables.colReorder.js * @author SpryMedia Ltd (www.sprymedia.co.uk) * @contact www.sprymedia.co.uk/contac...
JavaScript
/*! Scroller 1.2.2 * ©2011-2014 SpryMedia Ltd - datatables.net/license */ /** * @summary Scroller * @description Virtual rendering for DataTables * @version 1.2.2 * @file dataTables.scroller.js * @author SpryMedia Ltd (www.sprymedia.co.uk) * @contact www.sprymedia.co.uk/contact * @copy...
JavaScript
/*! FixedHeader 2.1.2 * ©2010-2014 SpryMedia Ltd - datatables.net/license */ /** * @summary FixedHeader * @description Fix a table's header or footer, so it is always visible while * Scrolling * @version 2.1.2 * @file dataTables.fixedHeader.js * @author SpryMedia Ltd (www.sprym...
JavaScript
/* Set the defaults for DataTables initialisation */ $.extend( true, $.fn.dataTable.defaults, { "sDom": "<'row'<'large-6 columns'l><'large-6 columns'f>r>"+ "t"+ "<'row'<'large-6 columns'i><'large-6 columns'p>>", "sPaginationType": "bootstrap", "oLanguage": { "sLengthMenu": "_MENU_ records per page" } } ); ...
JavaScript
(function(){ var DataTable = $.fn.dataTable; var sort_prefix = 'css_right ui-icon ui-icon-'; var toolbar_prefix = 'fg-toolbar ui-toolbar ui-widget-header ui-helper-clearfix ui-corner-'; /* Set the defaults for DataTables initialisation */ $.extend( true, DataTable.defaults, { dom: '<"'+toolbar_prefix+'tl ui-corne...
JavaScript
/*global SyntaxHighlighter*/ SyntaxHighlighter.config.tagName = 'code'; $(document).ready( function () { if ( ! $.fn.dataTable ) { return; } var dt110 = $.fn.dataTable.Api ? true : false; // Work around for WebKit bug 55740 var info = $('div.info'); if ( info.height() < 115 ) { info.css( 'min-height', '8e...
JavaScript
/* Set the defaults for DataTables initialisation */ $.extend( true, $.fn.dataTable.defaults, { "sDom": "<'row'<'col-xs-6'l><'col-xs-6'f>r>t<'row'<'col-xs-6'i><'col-xs-6'p>>", "sPaginationType": "bootstrap", "oLanguage": { "sLengthMenu": "_MENU_ records per page" } } ); /* Default class modification */ $.exte...
JavaScript
$(function() { });
JavaScript
/* Copyright 2010 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 writing,...
JavaScript
/* Copyright 2010 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 writing,...
JavaScript
try { var pageTracker = _gat._getTracker("UA-18761191-1"); pageTracker._trackPageview(); } catch(err) {}
JavaScript
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
JavaScript
$(function(){ //浏览器判断 如果为IE6则弹出提示 $(document).ready(function(){ if($.browser.msie && $.browser.version=='6.0') $('#version_pop').show(); }); $('#stu_no').focus(); $('#tijiao').click(function(){ var stu_no=$('#stu_no').val(); v...
JavaScript
/* http://keith-wood.name/datepick.html Datepicker for jQuery 3.5.1. Written by Marc Grabanski (m@marcgrabanski.com) and Keith Wood (kbwood@virginbroadband.com.au). Dual licensed under the GPL (http://dev.jquery.com/browser/trunk/jquery/GPL-LICENSE.txt) and MIT (http://dev.jquery.com/bro...
JavaScript
$(function() { $.datepick.regional['zh-CN'] = { clearText: '清除', clearStatus: '清除已选日期', closeText: '关闭', closeStatus: '不改变当前选择', prevText: '&#x3c;上月', prevStatus: '显示上月', prevBigText: '&#x3c;&#x3c;', prevBigStatus: '显示上一年', nextText: '下月&#x3e;', nextStatus: '显示下月', nextBigText: '&#x3e;&#x3e;', next...
JavaScript
$(function(){ var body=$('body'); var admin_list=$('[name=list]'); //列表对象 var add_button=$('[name=add]'); //添加按钮对象 //页面加载完毕后加载管理员列表 $(document).ready(function(){ body.find('[name=admin_name]').focus(); //获取并解释已经存在的管理员列表 $.getJSON(app_url+"/lfy-sysmanger-get_list","",function(...
JavaScript
/* moo.fx pack, effects extensions for moo.fx. by Valerio Proietti (http://mad4milk.net) MIT-style LICENSE for more info visit (http://moofx.mad4milk.net). Friday, April 14, 2006 v 1.2.4 */ //smooth scroll fx.Scroll = Class.create(); fx.Scroll.prototype = Object.extend(new fx.Base(), { initialize: function(options) {...
JavaScript
/* moo.fx, simple effects library built with prototype.js (http://prototype.conio.net). by Valerio Proietti (http://mad4milk.net) MIT-style LICENSE. for more info (http://moofx.mad4milk.net). Sunday, March 05, 2006 v 1.2.3 */ var fx = new Object(); //base fx.Base = function(){}; fx.Base.prototype = { setOptions: func...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* 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 o...
JavaScript
/* * Copyright 2011 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 ...
JavaScript
/* * Copyright 2011 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 ...
JavaScript
/* * Copyright 2011 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 ...
JavaScript
/* * jsTree 1.0-rc3 * http://jstree.com/ * * Copyright (c) 2010 Ivan Bozhanov (vakata.com) * * Licensed same as jquery - under the terms of either the MIT License or the GPL Version 2 License * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * $Date: 2...
JavaScript
/* * Copyright 2011 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 ...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* 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 o...
JavaScript
// Copyright 2012 Google Inc. All Rights Reserved. /* 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 o...
JavaScript