code
stringlengths
1
2.08M
language
stringclasses
1 value
define('ace/mode/groovy', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/javascript', 'ace/tokenizer', 'ace/mode/groovy_highlight_rules'], function(require, exports, module) { var oop = require("../lib/oop"); var JavaScriptMode = require("./javascript").Mode; var Tokenizer = require("../tokenizer").Tokeni...
JavaScript
define('ace/mode/powershell', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/powershell_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) { var oop = require("../lib/oop"); var ...
JavaScript
"no use strict"; var console = { log: function(msg) { postMessage({type: "log", data: msg}); } }; var window = { console: console }; var normalizeModule = function(parentId, moduleName) { // normalize plugin requires if (moduleName.indexOf("!") !== -1) { var chunks = moduleName.spl...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * * Softw...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * * Softw...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
define('ace/mode/scala', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/javascript', 'ace/tokenizer', 'ace/mode/scala_highlight_rules'], function(require, exports, module) { var oop = require("../lib/oop"); var JavaScriptMode = require("./javascript").Mode; var Tokenizer = require("../tokenizer").Tokenize...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
define('ace/mode/golang', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/golang_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) { var oop = require("../lib/oop"); var T...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * * Softw...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MP...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * The Original Code is Ajax.org Code Editor (ACE). * * Contributor(s): * Jonathan Camile <jonathan.camile AT gmail DOT com> * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * ...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * The Original Code is Ajax.org Code Editor (ACE). * * Contributor(s): * Meg Sharkey <megshark AT gmail DOT com> * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser...
JavaScript
/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1/GPL 2.0/LGPL 2.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (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.mozilla.org/MPL/ * * Softw...
JavaScript
define('ace/mode/haxe', ['require', 'exports', 'module' , 'ace/lib/oop', 'ace/mode/text', 'ace/tokenizer', 'ace/mode/haxe_highlight_rules', 'ace/mode/matching_brace_outdent', 'ace/mode/behaviour/cstyle', 'ace/mode/folding/cstyle'], function(require, exports, module) { var oop = require("../lib/oop"); var TextMode = r...
JavaScript
function create_menu(basepath) { var base = (basepath == 'null') ? '' : basepath; document.write( '<table cellpadding="0" cellspaceing="0" border="0" style="width:98%"><tr>' + '<td class="td" valign="top">' + '<ul>' + '<li><a href="'+base+'index.html">User Guide Home</a></li>' + '<li><a href="'+base+'toc....
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). 10/24/2005 v(1.0.2) */ //base var fx = new Object(); fx.Base = function(){}; fx.Base.prototype = { setOptions: function(option...
JavaScript
window.onload = function() { myHeight = new fx.Height('nav', {duration: 400}); myHeight.hide(); }
JavaScript
$(document).ready(function() { $("#newFortune").click(function() { $("#content").hide(); $("#content").fadeIn(); }); $(function() { $('.tooltip').tooltip({ track: true, delay: 0, showURL: false, showBody: " - ", fade: 250 }); }); ...
JavaScript
(function ($) { var daysInWeek = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]; var shortMonthsInYear = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; var longMonthsInYear = ["January", "February", "March", "April", "May", "June", ...
JavaScript
var tocRoot, tocBranch, tocSel, tocLoading, tocLastID, tableSel, tabHead, data, tocTab, tocInitRoot, tocMemToc, rFStatus, oldData, tableSelTable; var initI; var icon=new Array(); var preloadIcons=new Array(1,10,101,102,103,104,106,107,108,11,113,116,118,16,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,...
JavaScript
// ==UserScript== // @name Optimize userscripts.org for mobile screen // @description Hide right-hand navigation bar on userscripts.org to optimize for mobile screens // @author Jeffrey Sharkey // @include http://*userscripts.org* // ==/UserScript== function hideById(id) { var target = docume...
JavaScript
// ==UserScript== // @name Pick E-mail address // @description Fill forms by picking an E-mail address from Android contacts // @author Jeffrey Sharkey // @include http://*digg.com/register* // @include http://*facebook.com* // @include http://*m.yahoo.com/p/mail/compose* // @includ...
JavaScript
// ==UserScript== // @name Scan barcode into Half.com // @description Add button to Half.com search box to scan barcode // @author Jeffrey Sharkey // @include http://*m.half.com* // ==/UserScript== function insertAfter(newElement,targetElement) { var parent = targetElement.parentNode; if(par...
JavaScript
// ==UserScript== // @name Optimize Slashdot for mobile screen // @description Hide navigation bars on Slashdot to optimize for mobile screens // @author Jeffrey Sharkey // @include http://*slashdot.org* // ==/UserScript== function hideById(id) { var target = document.getElementById(id); if(...
JavaScript
// ==UserScript== // @name Share Digg story // @description One-click to share any Digg Mobile story through an E-mail // @author Jeffrey Sharkey // @include http://m.digg.com/* // ==/UserScript== function generate(item) { var header = item.getElementsByTagName('h3')[0]; var link = header.g...
JavaScript
// ==UserScript== // @name Optimize Wikipedia and view coordinates in Maps and Radar // @description Hide navigation bars to optimize for mobile screens and link coordinates from articles to Maps and Radar apps. // @author Jeffrey Sharkey // @include http://*wikipedia.org/wiki/* // ==/UserScrip...
JavaScript
// ==UserScript== // @name Optimize userscripts.org for mobile screen // @description Hide right-hand navigation bar on userscripts.org to optimize for mobile screens // @author Jeffrey Sharkey // @include http://*userscripts.org* // ==/UserScript== function hideById(id) { var target = docume...
JavaScript
// ==UserScript== // @name Pick E-mail address // @description Fill forms by picking an E-mail address from Android contacts // @author Jeffrey Sharkey // @include http://*digg.com/register* // @include http://*facebook.com* // @include http://*m.yahoo.com/p/mail/compose* // @includ...
JavaScript
// ==UserScript== // @name Scan barcode into Half.com // @description Add button to Half.com search box to scan barcode // @author Jeffrey Sharkey // @include http://*m.half.com* // ==/UserScript== function insertAfter(newElement,targetElement) { var parent = targetElement.parentNode; if(par...
JavaScript
// ==UserScript== // @name Optimize Slashdot for mobile screen // @description Hide navigation bars on Slashdot to optimize for mobile screens // @author Jeffrey Sharkey // @include http://*slashdot.org* // ==/UserScript== function hideById(id) { var target = document.getElementById(id); if(...
JavaScript
// ==UserScript== // @name Share Digg story // @description One-click to share any Digg Mobile story through an E-mail // @author Jeffrey Sharkey // @include http://m.digg.com/* // ==/UserScript== function generate(item) { var header = item.getElementsByTagName('h3')[0]; var link = header.g...
JavaScript
// ==UserScript== // @name Optimize Wikipedia and view coordinates in Maps and Radar // @description Hide navigation bars to optimize for mobile screens and link coordinates from articles to Maps and Radar apps. // @author Jeffrey Sharkey // @include http://*wikipedia.org/wiki/* // ==/UserScrip...
JavaScript
/* * jQuery UI selectmenu * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI */ (function($) { $.widget("ui.selectmenu", { _init: function() { var self = this, o = ...
JavaScript
$(document).ready(function(){ $('select.styled').selectmenu(); $('input[type="checkbox"]').each(function(){ checkerToggle(this); }); $('input[type="checkbox"]').change(function(){ checkerToggle(this); }); function checkerToggle(el) { if($(el).attr('checked')) { $(el).parent().addClass(...
JavaScript
/* * jQuery UI selectmenu * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI */ (function($) { $.widget("ui.selectmenu", { _init: function() { var self = this, o = ...
JavaScript
$(document).ready(function(){ $('select.styled').selectmenu(); $('input[type="checkbox"]').each(function(){ checkerToggle(this); }); $('input[type="checkbox"]').change(function(){ checkerToggle(this); }); function checkerToggle(el) { if($(el).attr('checked')) { $(el).parent().addClass(...
JavaScript
/* * jQuery UI selectmenu * * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * http://docs.jquery.com/UI */ (function($) { $.widget("ui.selectmenu", { _init: function() { var self = this, o = ...
JavaScript
$(document).ready(function(){ $('select.styled').selectmenu(); $('input[type="checkbox"]').each(function(){ checkerToggle(this); }); $('input[type="checkbox"]').change(function(){ checkerToggle(this); }); function checkerToggle(el) { if($(el).attr('checked')) { $(el).parent().addClass(...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */
JavaScript
var activeta; var phonetic=new Array(); var shift=false; phonetic['k']='\u0995'; phonetic['0']='\u09e6'; phonetic['1']='\u09e7'; phonetic['2']='\u09e8'; phonetic['3']='\u09e9'; phonetic['4']='\u09ea'; phonetic['5']='\u09eb'; phonetic['6']='\u09ec'; phonetic['7']='\u09ed'; phonetic['8']='\u09ee'; phonetic...
JavaScript
/***************************************************************** typeface.js, version 0.15 | typefacejs.neocracy.org Copyright (c) 2008 - 2009, David Chester [email protected] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "...
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ alert("hello");
JavaScript
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ alert("hello"); /* কক কট কত */
JavaScript
// Copyright (C) 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 t...
JavaScript
// Copyright (C) 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 t...
JavaScript
// Copyright (C) 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 t...
JavaScript
// JavaScript Document function transformData(startPoint) { var branchLength = eval("Menu" + startPoint + "[3]"); for (var i=1; i <= branchLength; i++) { currentName = eval("Menu" + startPoint + "_" + i + "[0]"); currentNameId = currentName + "@" + startPoint + "_" + i; currentUrl = eval("Menu" + st...
JavaScript
/* * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message * Digest Algorithm, as defined in RFC 1321. * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002. * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet * Distributed under the BSD License * See http://pajhome.org.uk/crypt...
JavaScript
function hideMenu(menuNum){ document.getElementById("menuContainer"+menuNum).style.display="none"; } function showMenu(menuNum){ document.getElementById("menuContainer"+menuNum).style.display="block"; } function newsCollapse(newsPost) { var obj; obj = document.getElementById(newsPost); ...
JavaScript
window.onload = function fixActiveX () { if(navigator.appName == "Microsoft Internet Explorer" && navigator.userAgent.indexOf('Opera') == -1) { var changeElements = new Array(3); changeElements[0] = "applet"; changeElements[1] = "embed"; changeElements[2] = "object"; //mooooooo! offScreenBuffer = doc...
JavaScript
/* ------------------------------------------------ PVII Equal CSS Columns scripts -Version 2 Copyright (c) 2005 Project Seven Development www.projectseven.com Version: 2.1.0 ------------------------------------------------ */ function P7_colH2(){ //v2.1.0 by PVII-www.projectseven.com var i,oh,h=...
JavaScript
var agt=navigator.userAgent.toLowerCase(); var appVer = navigator.appVersion.toLowerCase(); // *** BROWSER VERSION *** var is_minor = parseFloat(appVer); var is_major = parseInt(is_minor); // Note: On IE, start of appVersion return 3 or 4 // which supposedly is the version of Net...
JavaScript
function topicElement(topic, linkString, parentString, synonymsArray) { this.topic = topic; this.linkString = linkString; this.parentString = parentString; this.synonymsArray = synonymsArray; } //topicsArray[""] = new topicElement("","",""); topicList[k++] = ""; topicsArray = new Object(); topicList = new Ar...
JavaScript
var global_nav_lang, opt; function buildtopnav(){ global_nav_lang = (global_nav_lang) ? global_nav_lang.toLowerCase() : ""; linkarray = new Array(); outstring = ""; link1 = new Object(); link2 = new Object(); link3 = new Object(); switch(global_nav_lang){ case "de_de": link2.text = "Das Arsenal" ...
JavaScript
/* +-------------------------------------------------------------------+ | J S - T O O L T I P (v1.2) | | | | Copyright Gerd Tentler www.gerd-tentler.de/tools | | Created: Feb. 15, 2005 ...
JavaScript
/* This notice must be untouched at all times. wz_tooltip.js v. 3.45 The latest version is available at http://www.walterzorn.com or http://www.devira.com or http://www.walterzorn.de Copyright (c) 2002-2005 Walter Zorn. All rights reserved. Created 1. 12. 2002 by Walter Zorn (Web: http://www.walterzorn....
JavaScript
function show(target){target.style.display="";return true;} function showBlock(target){target.style.display="block";return true;} function hide(target){target.style.display="none";return true;} function getNodeClass(obj){var result=false;if(obj.getAttributeNode("class")){result=obj.attributes.getNamedItem("class").v...
JavaScript
/* tip_followscroll.js v. 1.1 The latest version is available at http://www.walterzorn.com or http://www.devira.com or http://www.walterzorn.de Initial author: Walter Zorn Last modified: 21.6.2007 Extension for the tooltip library wz_tooltip.js. Lets a "sticky" tooltip keep its position inside the client...
JavaScript
/* tip_centerwindow.js v. 1.2 The latest version is available at http://www.walterzorn.com or http://www.devira.com or http://www.walterzorn.de Initial author: Walter Zorn Last modified: 23.6.2007 Extension for the tooltip library wz_tooltip.js. Centers a sticky tooltip in the window's visible clientare...
JavaScript
var uagent = navigator.userAgent.toLowerCase(); var is_safari = ( (uagent.indexOf('safari') != -1) || (navigator.vendor == "Apple Computer, Inc.") ); var is_opera = (uagent.indexOf('opera') != -1); var is_webtv = (uagent.indexOf('webtv') != -1); var is_ie = ( (uagent.indexOf('msie') != -1) && (!is_opera) &...
JavaScript
// JavaScript Document function transformData(startPoint) { var branchLength = eval("Menu" + startPoint + "[3]"); for (var i=1; i <= branchLength; i++) { currentName = eval("Menu" + startPoint + "_" + i + "[0]"); currentNameId = currentName + "@" + startPoint + "_" + i; currentUrl = eval("Menu" + st...
JavaScript
/* * A JavaScript implementation of the RSA Data Security, Inc. MD5 Message * Digest Algorithm, as defined in RFC 1321. * Version 2.1 Copyright (C) Paul Johnston 1999 - 2002. * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet * Distributed under the BSD License * See http://pajhome.org.uk/crypt...
JavaScript
function hideMenu(menuNum){ document.getElementById("menuContainer"+menuNum).style.display="none"; } function showMenu(menuNum){ document.getElementById("menuContainer"+menuNum).style.display="block"; } function newsCollapse(newsPost) { var obj; obj = document.getElementById(newsPost); ...
JavaScript
window.onload = function fixActiveX () { if(navigator.appName == "Microsoft Internet Explorer" && navigator.userAgent.indexOf('Opera') == -1) { var changeElements = new Array(3); changeElements[0] = "applet"; changeElements[1] = "embed"; changeElements[2] = "object"; //mooooooo! offScreenBuffer = doc...
JavaScript
/* ------------------------------------------------ PVII Equal CSS Columns scripts -Version 2 Copyright (c) 2005 Project Seven Development www.projectseven.com Version: 2.1.0 ------------------------------------------------ */ function P7_colH2(){ //v2.1.0 by PVII-www.projectseven.com var i,oh,h=...
JavaScript
var agt=navigator.userAgent.toLowerCase(); var appVer = navigator.appVersion.toLowerCase(); // *** BROWSER VERSION *** var is_minor = parseFloat(appVer); var is_major = parseInt(is_minor); // Note: On IE, start of appVersion return 3 or 4 // which supposedly is the version of Net...
JavaScript
function topicElement(topic, linkString, parentString, synonymsArray) { this.topic = topic; this.linkString = linkString; this.parentString = parentString; this.synonymsArray = synonymsArray; } //topicsArray[""] = new topicElement("","",""); topicList[k++] = ""; topicsArray = new Object(); topicList = new Ar...
JavaScript
var global_nav_lang, opt; function buildtopnav(){ global_nav_lang = (global_nav_lang) ? global_nav_lang.toLowerCase() : ""; linkarray = new Array(); outstring = ""; link1 = new Object(); link2 = new Object(); link3 = new Object(); switch(global_nav_lang){ case "de_de": link2.text = "Das Arsenal" ...
JavaScript
function hideMenu(menuNum){ document.getElementById("menuContainer"+menuNum).style.display="none"; } function showMenu(menuNum){ document.getElementById("menuContainer"+menuNum).style.display="block"; } function newsCollapse(newsPost) { var obj; obj = document.getElementById(newsPost); ...
JavaScript
function $(id) { return document.getElementById(id); } function show(id) { $(id).style.display = "block"; } function hide(id) { $(id).style.display = "none"; } function onStatusBoxFocus(elt) { elt.value = ''; elt.style.color = "#000"; show('status_submit'); } function updateStatus() { var message = $(...
JavaScript
$(document).ready(function() { if($('div.form.login').length) { // in login page $('input#LoginForm_password').focus(); } $('table.preview input[name="checkAll"]').click(function() { $('table.preview .confirm input').attr('checked', this.checked); }); $('table.preview td.confirm input').click(function() { ...
JavaScript
/** * jQuery Yii ListView plugin file. * * @author Qiang Xue <[email protected]> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ * @version $Id: jquery.yiilistview.js 3296 2011-06-22 17:15:17Z qiang.xue $ */ ;(funct...
JavaScript
/** * jQuery Yii GridView plugin file. * * @author Qiang Xue <[email protected]> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ * @version $Id: jquery.yiigridview.js 3286 2011-06-16 17:34:34Z qiang.xue $ */ ;(funct...
JavaScript
/** * jQuery Yii plugin file. * * @author Qiang Xue <[email protected]> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ * @version $Id: jquery.yii.js 3053 2011-03-12 21:25:33Z qiang.xue $ */ ;(function($) { $.yii =...
JavaScript
/* ### jQuery Star Rating Plugin v3.13 - 2009-03-26 ### * Home: http://www.fyneworks.com/jquery/star-rating/ * Code: http://code.google.com/p/jquery-star-rating-plugin/ * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/...
JavaScript
/** * Ajax Queue Plugin * * Homepage: http://jquery.com/plugins/project/ajaxqueue * Documentation: http://docs.jquery.com/AjaxQueue */ /** <script> $(function(){ jQuery.ajaxQueue({ url: "test.php", success: function(html){ jQuery("ul").append(html); } }); jQuery.ajaxQueue({ url: "test.p...
JavaScript
/* * jQuery Autocomplete plugin 1.1 * * Modified for Yii Framework: * - Renamed "autocomplete" to "legacyautocomplete". * - Fixed IE8 problems (mario.ffranco). * * Copyright (c) 2009 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * ht...
JavaScript
/*! * jQuery BBQ: Back Button & Query Library - v1.2.1 - 2/17/2010 * http://benalman.com/projects/jquery-bbq-plugin/ * * Copyright (c) 2010 "Cowboy" Ben Alman * Dual licensed under the MIT and GPL licenses. * http://benalman.com/about/license/ */ // Script: jQuery BBQ: Back Button & Query Library // // *Version...
JavaScript
/* * Metadata - jQuery plugin for parsing metadata from elements * * Copyright (c) 2006 John Resig, Yehuda Katz, J�örn Zaefferer, Paul McLanahan * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * * Revision: $Id: j...
JavaScript
/** * jQuery yiiactiveform plugin file. * * @author Qiang Xue <[email protected]> * @link http://www.yiiframework.com/ * @copyright Copyright &copy; 2008-2010 Yii Software LLC * @license http://www.yiiframework.com/license/ * @version $Id: jquery.yiiactiveform.js 3158 2011-04-02 22:48:01Z qiang.xue $ * @since...
JavaScript
/* * Treeview 1.5pre - jQuery plugin to hide and show branches of a tree * * http://bassistance.de/jquery-plugins/jquery-plugin-treeview/ * http://docs.jquery.com/Plugins/Treeview * * Copyright (c) 2007 Jörn Zaefferer * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-...
JavaScript
(function($) { var CLASSES = $.treeview.classes; var proxied = $.fn.treeview; $.fn.treeview = function(settings) { settings = $.extend({}, settings); if (settings.add) { return this.trigger("add", [settings.add]); } if (settings.remove) { return this.trigger("remove", [settings.remove]); } return p...
JavaScript
/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net) * Licensed under the MIT License (LICENSE.txt). * * Version 2.1.2 */ (function($){ $.fn.bgiframe = ($.browser.msie && /msie 6\.0/i.test(navigator.userAgent) ? function(s) { s = $.extend({ top : 'auto', // auto == .currentStyle.borderTo...
JavaScript