code
stringlengths
1
2.08M
language
stringclasses
1 value
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // includ...
JavaScript
// ** I18N // Calendar PL language // Author: Artur Filipiak, <imagen@poczta.fm> // January, 2004 // Encoding: UTF-8 Calendar._DN = new Array ("Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela"); Calendar._SDN = new Array ("N", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "N"); Calenda...
JavaScript
// ** I18N // Calendar RU language // Translation: Sly Golovanov, http://golovanov.net, <sly@golovanov.net> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized worl...
JavaScript
// ** I18N // Calendar DE language // Author: Jack (tR), <jack@jtr.de> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // include your conta...
JavaScript
// ** I18N // Calendar LT language // Author: Martynas Majeris, <martynas@solmetra.lt> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // ...
JavaScript
// ** I18N // Calendar FI language (Finnish, Suomi) // Author: Jarno Käyhkö, <gambler@phnet.fi> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // full day names Calendar._DN = new Array ("Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai", "Su...
JavaScript
// ** I18N Calendar._DN = new Array ("Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"); Calendar._MN = new Array ("Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"); // tooltips Calendar._...
JavaScript
// ** I18N // Calendar DA language // Author: Michael Thingmand Henriksen, <michael (a) thingmand dot dk> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. ...
JavaScript
// ** I18N // Calendar big5-utf8 language // Author: Gary Fu, <gary@garyfu.idv.tw> // Encoding: utf8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // inclu...
JavaScript
/* Copyright Mihai Bazon, 2002, 2003 | http://dynarch.com/mishoo/ * --------------------------------------------------------------------------- * * The DHTML Calendar * * Details and latest version at: * http://dynarch.com/mishoo/calendar.epl * * This script is distributed under the GNU Lesser General Public...
JavaScript
/* * Easy Slider 1.7 - jQuery plugin * written by Alen Grakalic * http://cssglobe.com/post/4004/easy-slider-15-the-easiest-jquery-plugin-for-sliding * * Copyright (c) 2009 Alen Grakalic (http://cssglobe.com) * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * Built for j...
JavaScript
$(function(){ $("#country_id").change(function(){ if(!$(this).val()){ $("#city").html('<option value="">Select City</option>'); }else{ $.post("../controller/getcities.php", { "code":$(this).val() }, function(response){ $("#city").ht...
JavaScript
/* CUSTOM FORM ELEMENTS Created by Ryan Fait www.ryanfait.com The only things you may need to change in this file are the following variables: checkboxHeight, radioHeight and selectWidth (lines 24, 25, 26) The numbers you set for checkboxHeight and radioHeight should be one quarter of the total height of...
JavaScript
[{ "data": { "current_condition": [ { "cloudcover": "46", "humidity": "62", "observation_time": "02:14 PM", "precipMM": "0.2", "pressure": "1021", "temp_C": "19", "temp_F": "66", "visibility": "5", "w...
JavaScript
/* CUSTOM FORM ELEMENTS Created by Ryan Fait www.ryanfait.com The only things you may need to change in this file are the following variables: checkboxHeight, radioHeight and selectWidth (lines 24, 25, 26) The numbers you set for checkboxHeight and radioHeight should be one quarter of the total height of...
JavaScript
if(typeof Object.create!=="function"){ Object.create=function(o){ function F(){ }; F.prototype=o; return new F(); }; } var ua={toString:function(){ return navigator.userAgent; },test:function(s){ return this.toString().toLowerCase().indexOf(s.toLowerCase())>-1; }}; ua.version=(ua.toString().toLowerCase().match(/[\s\S]+...
JavaScript
/* A A L Source code at: T C A <http://www.attacklab.net/> T K B */ var Showdown={}; Showdown.converter=function(){ var _1; var _2; var _3; var _4=0; this.makeHtml=function(_5){ _1=new Array(); _2=new Array(); _3=new Array(); _5=_5.replace(/~/g,"~T"); _5=_5.replace(/\$/g,"~D"); _5=_5.replace(/\r\n/g,...
JavaScript
var Ajax; if (Ajax && (Ajax != null)) { Ajax.Responders.register({ onCreate: function() { if($('spinner') && Ajax.activeRequestCount>0) Effect.Appear('spinner',{duration:0.5,queue:'end'}); }, onComplete: function() { if($('spinner') && Ajax.activeRequestCount==0) Effect.Fad...
JavaScript
// This function is used by the login screen to validate user/pass // are entered. function validateRequired(form) { var bValid = true; var focusField = null; var i = 0; var fields = new Array(); oRequired = new required(); for (x in oRequired) { if ((form[oRequired[x][0]].type == 'tex...
JavaScript
// ** I18N // Calendar pt-BR language // Author: Fernando Dourado, <fernando.dourado@ig.com.br> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. ...
JavaScript
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Translation: Yourim Yi <yyi@yourim.net> // Encoding: EUC-KR // lang : ko // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is...
JavaScript
// ** I18N // Calendar pt_BR language // Author: Adalberto Machado, <betosm@terra.com.br> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also p...
JavaScript
// ** I18N // Calendar DE language // Author: Jack (tR), <jack@jtr.de> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // include y...
JavaScript
// ** I18N Calendar._DN = new Array ("Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο", "Κυριακή"); Calendar._SDN = new Array ("Κυ", "Δε", "Tρ", "Τε", "Πε", "Πα", "Σα", "Κυ"); Calendar._MN = new Array ("Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιο...
JavaScript
// ** I18N // Calendar EN language // Author: Idan Sofer, <idan@idanso.dyndns.org> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please...
JavaScript
// ** I18N // Calendar LT language // Author: Martynas Majeris, <martynas@solmetra.lt> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also pl...
JavaScript
// ** I18N // Calendar DA language // Author: Michael Thingmand Henriksen, <michael (a) thingmand dot dk> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized...
JavaScript
// ** I18N Calendar._DN = new Array ("Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"); Calendar._MN = new Array ("Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December"); ...
JavaScript
// ** I18N // Calendar SK language // Author: Peter Valach (pvalach@gmx.net) // Encoding: utf-8 // Last update: 2003/10/29 // Distributed under the same terms as the calendar itself. // full day names Calendar._DN = new Array ("NedeÄľa", "Pondelok", "Utorok", "Streda", "Ĺ tvrtok", "Piatok", "Sob...
JavaScript
// ** I18N Afrikaans Calendar._DN = new Array ("Sondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrydag", "Saterdag", "Sondag"); Calendar._MN = new Array ("Januarie", "Februarie", "Maart", "April", "Mei", "Junie", "Julie", "Augustus", "September", "Oktober", "November", "...
JavaScript
// ** I18N // Calendar RU language // Translation: Sly Golovanov, http://golovanov.net, <sly@golovanov.net> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationali...
JavaScript
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mishoo@infoiasi.ro> // Encoding: any // Translator : Niko <nikoused@gmail.com> // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real...
JavaScript
// ** I18N // Calendar FI language (Finnish, Suomi) // Author: Jarno Käyhkö, <gambler@phnet.fi> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // full day names Calendar._DN = new Array ("Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "...
JavaScript
// ** I18N Calendar._DN = new Array ("Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"); Calendar._SDN_len = 2; Calendar._MN = new Array ("Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", ...
JavaScript
// ** I18N // Calendar NO language // Author: Daniel Holmen, <daniel.holmen@ciber.no> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also ple...
JavaScript
// ** I18N Calendar._DN = new Array ("Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă", "Duminică"); Calendar._SDN_len = 2; Calendar._MN = new Array ("Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noie...
JavaScript
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please ...
JavaScript
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Translator: Fabio Di Bernardini, <altraqua@email.it> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the...
JavaScript
// ** I18N // Calendar PL language // Author: Artur Filipiak, <imagen@poczta.fm> // January, 2004 // Encoding: UTF-8 Calendar._DN = new Array ("Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota", "Niedziela"); Calendar._SDN = new Array ("N", "Pn", "Wt", "Śr", "Cz", "Pt", "So", "N");...
JavaScript
/* calendar-cs-win.js language: Czech encoding: windows-1250 author: Lubos Jerabek (xnet@seznam.cz) Jan Uhlir (espinosa@centrum.cz) */ // ** I18N Calendar._DN = new Array('Neděle','Pondělí','Úterý','Středa','Čtvrtek','Pátek','Sobota','Neděle'); Calendar._SDN = new Array('Ne','Po','Út','St','Čt...
JavaScript
/* Slovenian language file for the DHTML Calendar version 0.9.2 * Author David Milost <mercy@volja.net>, January 2004. * Feel free to use this script under the terms of the GNU Lesser General * Public License, as long as you do not remove or alter this notice. */ // full day names Calendar._DN = new Array ("Ne...
JavaScript
// Calendar ALBANIAN language //author Rigels Gordani rige@hotmail.com // ditet Calendar._DN = new Array ("E Diele", "E Hene", "E Marte", "E Merkure", "E Enjte", "E Premte", "E Shtune", "E Diele"); //ditet shkurt Calendar._SDN = new Array ("Die", "Hen", "Mar", "Mer", "Enj", "Pre", "Sht", "Die")...
JavaScript
// ** I18N // Calendar PL language // Author: Dariusz Pietrzak, <eyck@ghost.anime.pl> // Author: Janusz Piwowarski, <jpiw@go2.pl> // Encoding: utf-8 // Distributed under the same terms as the calendar itself. Calendar._DN = new Array ("Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Pi...
JavaScript
/* Croatian language file for the DHTML Calendar version 0.9.2 * Author Krunoslav Zubrinic <krunoslav.zubrinic@vip.hr>, June 2003. * Feel free to use this script under the terms of the GNU Lesser General * Public License, as long as you do not remove or alter this notice. */ Calendar._DN = new Array ("Nedjelja",...
JavaScript
// ** I18N // Calendar big5-utf8 language // Author: Gary Fu, <gary@garyfu.idv.tw> // Encoding: utf8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please ...
JavaScript
// script.aculo.us slider.js v1.8.2, Tue Nov 18 18:30:58 +0100 2008 // Copyright (c) 2005-2008 Marty Haught, Thomas Fuchs // // 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/ if (!Control) var Control = { }; /...
JavaScript
// script.aculo.us sound.js v1.8.2, Tue Nov 18 18:30:58 +0100 2008 // Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) // // Based on code created by Jules Gravinese (http://www.webveteran.com/) // // script.aculo.us is freely distributable under the terms of an MIT-style license. // ...
JavaScript
// script.aculo.us scriptaculous.js v1.8.2, Tue Nov 18 18:30:58 +0100 2008 // Copyright (c) 2005-2008 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.2, Tue Nov 18 18:30:58 +0100 2008 // Copyright (c) 2005-2008 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
<script type="text/javascript"> if ($.cookie("username") != null && $.cookie("username") != "") { $("#j_username").val($.cookie("username")); $("#j_password").focus(); } else { $("#j_username").focus(); } function saveUsername(theForm) { $.cookie("username",theForm.j...
JavaScript
/* This function is used to change the style class of an element */ function swapClass(obj, newStyle) { obj.className = newStyle; } function isUndefined(value) { var undef; return value == undef; } function checkAll(theForm) { // check all the checkboxes in the list for (var i=0;i<theForm.element...
JavaScript
/** * jQuery Cookie plugin * * Copyright (c) 2010 Klaus Hartl (stilbuero.de) * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html * */ (function($) { $.cookie = function(key, value, options) { // key and at least...
JavaScript
var analyticsElementArray=[]; var pageAnalyticsElementArray=[]; // ************* PAGE SPECIFIC ANALYTICS CONTENT START ***********************// function PageAnalyticsElement(name, content){ this.tagAttribute=name; this.tagValue = content; } pageAnalyticsElementArray['WT.ti'] = new Page...
JavaScript
var analyticsElementArray=[]; var pageAnalyticsElementArray=[]; // ************* PAGE SPECIFIC ANALYTICS CONTENT START ***********************// function PageAnalyticsElement(name, content){ this.tagAttribute=name; this.tagValue = content; } pageAnalyticsElementArray['WT.ti'] = new Page...
JavaScript
/* IPR 2191 making 'Ask a Question' section Content Manageable */ function newVirtualAssistantSubmit() { var strURL = document.getElementById("txtBox").value; // Content Managed External Link strURL = strURL.replace(/&amp;/g, "&"); var qString = document.getElementById("ask_a_question_text_box")...
JavaScript
var MM_PluginVersion = 0; var MM_contentVersion = 6; var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0; var elseTest = navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 && (navigator.appVersi...
JavaScript
var analyticsElementArray=[]; var pageAnalyticsElementArray=[]; // ************* PAGE SPECIFIC ANALYTICS CONTENT START **********************// function PageAnalyticsElement(name, content){ this.tagAttribute=name; this.tagValue = content; } pageAnalyticsElementArray['WT.ti'] = new PageA...
JavaScript
var analyticsElementArray=[]; var pageAnalyticsElementArray=[]; // ************* PAGE SPECIFIC ANALYTICS CONTENT START ***********************// function PageAnalyticsElement(name, content){ this.tagAttribute=name; this.tagValue = content; } pageAnalyticsElementArray['WT.ti'] = new Page...
JavaScript
var analyticsElementArray=[]; var pageAnalyticsElementArray=[]; // ************** PAGE SPECIFIC ANALYTICS CONTENT START ***********************// function PageAnalyticsElement(name, content){ this.tagAttribute=name; this.tagValue = content; } pageAnalyticsElementArray['WT.ti'] = new Pag...
JavaScript
var analyticsElementArray=[]; var pageAnalyticsElementArray=[]; // ************* PAGE SPECIFIC ANALYTICS CONTENT START ***********************// function PageAnalyticsElement(name, content){ this.tagAttribute=name; this.tagValue = content; } pageAnalyticsElementArray['WT.ti'] = new P...
JavaScript
var analyticsElementArray=[]; var pageAnalyticsElementArray=[]; // ************* PAGE SPECIFIC ANALYTICS CONTENT START ***********************// function PageAnalyticsElement(name, content){ this.tagAttribute=name; this.tagValue = content; } pageAnalyticsElementArray['WT.ti'] = new Page...
JavaScript
// WebTrends SmartSource Data Collector Tag // Version: 8.6.2 // Tag Builder Version: 3.0 // Created: 9/22/2009 7:52:41 PM // ********** Custom DoubleClick Connector Code *************** // Version 1.0 // Created 03/12/2009 // Copyright Mediaedge:cia 2009 // Formerly identified as lloyds--Rev2_2js RL E...
JavaScript
var analyticsElementArray=[]; var pageAnalyticsElementArray=[]; // ************* PAGE SPECIFIC ANALYTICS CONTENT START ***********************// function PageAnalyticsElement(name, content){ this.tagAttribute=name; this.tagValue = content; } pageAnalyticsElementArray['WT.ti'] = new Page...
JavaScript
var analyticsElementArray=[]; var pageAnalyticsElementArray=[]; // ************** PAGE SPECIFIC ANALYTICS CONTENT START ***********************// function PageAnalyticsElement(name, content){ this.tagAttribute=name; this.tagValue = content; } pageAnalyticsElementArray['WT.ti'] = new Pag...
JavaScript
function clearErrorMessages(form) { // clear out any rows with an "errorFor" attribute var divs = form.getElementsByTagName("div"); var paragraphsToDelete = new Array(); for(var i = 0; i < divs.length; i++) { var p = divs[i]; if (p.getAttribute("errorFor")) { paragraphsToDelete.pu...
JavaScript
/** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the 'License'); you ...
JavaScript
/** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the 'License'); you ...
JavaScript
/* Jsunittest, version 0.7.3 * (c) 2008 Dr Nic Williams * * Jsunittest is freely distributable under * the terms of an MIT-style license. * For details, see the web site: http://jsunittest.rubyforge.org * *--------------------------------------------------------------------------*/ var JsUnitTest = { Uni...
JavaScript
/** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License")...
JavaScript
/** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the 'License')...
JavaScript
/** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License")...
JavaScript
/** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License")...
JavaScript
/** * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License")...
JavaScript
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); yo...
JavaScript
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); yo...
JavaScript
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); yo...
JavaScript
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); yo...
JavaScript
/* Behaviour v1.1 by Ben Nolan, June 2005. Based largely on the work of Simon Willison (see comments by Simon below). Description: Uses css selectors to apply javascript behaviours to enable unobtrusive javascript in html documents. Usage: var myrules = { 'b.someclas...
JavaScript
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); yo...
JavaScript
/** * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); yo...
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
/** * Written by Neil Crosby. * http://www.workingwith.me.uk/ * * Use this wherever you want, but please keep this comment at the top of this file. * * Copyright (c) 2006 Neil Crosby * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated do...
JavaScript
/** * This software is licensed under the Creative Commons Licence 2.5 * http://creativecommons.org/licenses/by/2.5/ * * addEvent written by Dean Edwards, 2005 * with input from Tino Zijdel * * http://dean.edwards.name/weblog/2005/10/add-event/ **/ function addEvent(element, type, handler) { // assig...
JavaScript
/*** MochiKit.MochiKit 1.3 : PACKED VERSION THIS FILE IS AUTOMATICALLY GENERATED. If creating patches, please diff against the source tree, not this file. See <http://mochikit.com/> for documentation, downloads, license, etc. (c) 2005 Bob Ippolito. All rights Reserved. ***/ dojo.h...
JavaScript
/* PlotKit Sweet Canvas Renderer ============================= Canvas Renderer for PlotKit which looks pretty! Copyright --------- Copyright 2005,2006 (c) Alastair Tse <alastair^liquidx.net> For use under the BSD license. <http://www.liquidx.net/plotkit> */ // ------------------...
JavaScript
/* PlotKit Canvas -------------- Provides HTML Canvas Renderer. This is supported under: - Safari 2.0 - Mozilla Firefox 1.5 - Opera 9.0 preview 2 - IE 6 (via VML Emulation) It uses DIVs for labels. Notes About IE Support ---------------------- ...
JavaScript
/* PlotKit Layout -------------- Handles laying out data on to a virtual canvas square canvas between 0.0 and 1.0. If you want to add new chart/plot types such as point plots, you need to add them here. Copyright --------- Copyright 2005,2006 (c) Alastair Tse <alast...
JavaScript
/* PlotKit ======= PlotKit is a collection of Javascript classes that allows you to quickly visualise data using different types of charts. For license/info/documentation: http://www.liquidx.net/plotkit/ Copyright --------- Copyright 2005,2006 (c) Alastair Tse <alastair^liqui...
JavaScript
/* PlotKit Sweet SVG Renderer ========================== SVG Renderer for PlotKit which looks pretty! Copyright --------- Copyright 2005,2006 (c) Alastair Tse <alastair^liquidx.net> For use under the BSD license. <http://www.liquidx.net/plotkit> */ // -------------------------...
JavaScript
/* PlotKit SVG =========== SVG Renderer for PlotKit Copyright --------- Copyright 2005,2006 (c) Alastair Tse <alastair^liquidx.net> For use under the BSD license. <http://www.liquidx.net/plotkit> */ // ------------------------------------------------------------------------- //...
JavaScript
/** Copyright (c) 2005, Brad Neuberg, bkn3@columbia.edu http://codinginparadise.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation...
JavaScript
// TODO Change to dropping the name property off the input element when in example mode TextFieldWithExample = Class.create(); TextFieldWithExample.prototype = { initialize: function(inputElementId, defaultText, options) { this.setOptions(options); this.input = $(inputElementId); this.name = this.inpu...
JavaScript
/** * * Copyright 2005 Sabre Airline Solutions * * 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 b...
JavaScript
if (typeof Prototype == 'undefined') { warning = "ActiveScaffold Error: Prototype could not be found. Please make sure that your application's layout includes prototype.js (e.g. <%= javascript_include_tag :defaults %>) *before* it includes active_scaffold.js (e.g. <%= active_scaffold_includes %>)."; alert(warning);...
JavaScript
/** Copyright (c) 2005, Brad Neuberg, bkn3@columbia.edu http://codinginparadise.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation...
JavaScript
// TODO Change to dropping the name property off the input element when in example mode TextFieldWithExample = Class.create(); TextFieldWithExample.prototype = { initialize: function(inputElementId, defaultText, options) { this.setOptions(options); this.input = $(inputElementId); this.name = this.inpu...
JavaScript
/** * * Copyright 2005 Sabre Airline Solutions * * 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 b...
JavaScript
if (typeof Prototype == 'undefined') { warning = "ActiveScaffold Error: Prototype could not be found. Please make sure that your application's layout includes prototype.js (e.g. <%= javascript_include_tag :defaults %>) *before* it includes active_scaffold.js (e.g. <%= active_scaffold_includes %>)."; alert(warning);...
JavaScript
/** Copyright (c) 2005, Brad Neuberg, bkn3@columbia.edu http://codinginparadise.org Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation...
JavaScript
// TODO Change to dropping the name property off the input element when in example mode TextFieldWithExample = Class.create(); TextFieldWithExample.prototype = { initialize: function(inputElementId, defaultText, options) { this.setOptions(options); this.input = $(inputElementId); this.name = this.inpu...
JavaScript