code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
//txtLang[0].innerHTML = "\u5927\u5c0f ";
txtLang[0].innerHTML = "\u81ea\u52d5\u8abf\u6574 ";
txtLang[1].innerHTML = "\u5c6c\u6027 ";
txtLang[2].innerHTML = "CSS\u6a23\u5f0f ";
//txtLang[4].innerHTML = "\u63d2... | JavaScript |
function loadText()
{
document.getElementById("txtLang").innerHTML = "\u540d\u7a31 ";
document.getElementById("btnCancel").value = "\u53d6\u6d88 ";
document.getElementById("btnInsert").value = "\u63d2\u5165 ";
document.getElementById("btnApply").value = "\u61c9\u7528 ";
document.getE... | JavaScript |
function loadText()
{
document.getElementById("btnCancel").value = "\u53d6\u6d88 ";
document.getElementById("btnOk").value = " \u78ba\u8a8d ";
}
function writeTitle()
{
document.write("<title>URL &nb... | JavaScript |
function loadText()
{
document.getElementById("btnCancel").value = "\u53d6\u6d88 ";
document.getElementById("btnOk").value = " \u78ba\u8a8d ";
}
function writeTitle()
{
document.write("<title>\u9577\u5ea6  ... | JavaScript |
function loadText()
{
document.getElementById("txtLang").innerHTML = "\u540d\u7a31 ";
document.getElementById("btnCancel").value = "\u53d6\u6d88 ";
document.getElementById("btnInsert").value = "\u63d2\u5165 ";
document.getElementById("btnApply").value = "\u61c9\u7528 ";
document.getElement... | JavaScript |
function loadText()
{
document.getElementById("txtLang").innerHTML = "\u984f\u8272 ";
document.getElementById("btnCancel").value = "\u53d6\u6d88 ";
document.getElementById("btnOk").value = " \u78ba\u8a8d ";
}
function getText(s)
{
switch(s)
{
case "No Border": return "\u7121\u908a\u... | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u7de8\u865f ";
txtLang[1].innerHTML = "\u9805\u76ee\u7b26\u865f ";
txtLang[2].innerHTML = "\u8d77\u59cb\u503c ";
txtLang[3].innerHTML = "\u5de6\u908a\u908a\u754c ";
txtLang[4].innerHTML... | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u81ea\u52d5\u8abf\u6574 ";
txtLang[1].innerHTML = "\u5c6c\u6027 ";
txtLang[2].innerHTML = "CSS\u6a23\u5f0f ";
txtLang[3].innerHTML = "\u5bec\u5ea6 ";
txtLang[4].innerHTML = "\u81e... | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u540d\u7a31 ";
txtLang[1].innerHTML = "\u503c ";
txtLang[2].innerHTML = "\u9810\u8a2d ";
var optLang = document.getElementsByName("optLang");
optLang[0].text = "\u5df2\u6838\u53d6 "
... | JavaScript |
/*** Translation ***/
LanguageDirectory="tchi";
function getText(s)
{
switch(s)
{
case "Save":return "\u5132\u5b58 ";
case "Preview":return "\u9810\u89bd ";
case "Full Screen":return "\u5168\u87a2\u5e55 ";
case "Search":return "\u5c0b\u627e ";
case "Check Spelling":return "\u62fc\u5b57\u6aa2\u67e... | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u7db2\u9801\u8abf\u8272\u76e4 ";
txtLang[1].innerHTML = "\u9078\u6709\u540d\u7a31\u7684\u984f\u8272 ";
txtLang[2].innerHTML = "\u5b89\u5168\u7684\u7db2\u9801\u984f\u8272 ";
txtLang[3].innerH... | JavaScript |
var sStyleWeight1;
var sStyleWeight2;
var sStyleWeight3;
var sStyleWeight4;
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u5b57\u9ad4 ";
txtLang[1].innerHTML = "\u6a23\u5f0f ";
txtLang[2].innerHTML = "\u5927\u5c0f ";
txtLang[3].i... | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u6a94\u6848 ";
txtLang[1].innerHTML = "\u80cc\u666f\u8272\u5f69 ";
txtLang[2].innerHTML = "\u5bec\u5ea6 ";
txtLang[3].innerHTML = "\u9ad8\u5ea6 ";
txtLang[4].innerHTML = "\u54c1\u8c... | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u540d\u7a31 ";
txtLang[1].innerHTML = "\u503c ";
document.getElementById("btnCancel").value = "\u53d6\u6d88 ";
document.getElementById("btnInsert").value = "\u63d2\u5165 ";
docume... | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u540d\u7a31 ";
txtLang[1].innerHTML = "\u52d5\u4f5c ";
txtLang[2].innerHTML = "\u65b9\u6cd5 ";
document.getElementById("btnCancel").value = "\u53d6\u6d88 ";
document.getElemen... | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u6a23\u5f0f ";
txtLang[1].innerHTML = "\u9810\u89bd ";
txtLang[2].innerHTML = "\u61c9\u7528\u81f3 ";
var optLang = document.getElementsByName("optLang");
optLang[0].text = "\u5df1... | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u65b0\u589e\u5217 ";
txtLang[1].innerHTML = "\u65b0\u589e\u6b04 ";
txtLang[2].innerHTML = "\u589e\u52a0 /\u522a\u9664\u5217\u5408\u4f75 ";
txtLang[3].innerHTML = "\u589e\u52a0 /\u522a\u9664\... | JavaScript |
function loadText()
{
document.getElementById("btnCancel").value = "\u53d6\u6d88 ";
document.getElementById("btnOk").value = " \u78ba\u8a8d ";
}
function writeTitle()
{
document.write("<title>\u767e\u4efd\u6bd4  ... | JavaScript |
function loadText()
{
document.getElementById("btnClose").value = "\u95dc\u9589 ";
}
function writeTitle()
{
document.write("<title>\u9810\u89bd </title>")
} | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u5f71\u50cf\u6a94\u6848 ";
txtLang[1].innerHTML = "\u91cd\u8907 ";
txtLang[2].innerHTML = "\u6c34\u5e73\u5c0d\u9f4a ";
txtLang[3].innerHTML = "\u5782\u76f4\u5c0d\u9f4a ";
var optLang ... | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u6a94\u6848 ";
txtLang[1].innerHTML = "\u5f71\u50cf\u66ff\u4ee3\u6587\u5b57 ";
txtLang[2].innerHTML = "\u8ddd\u96e2 ";
txtLang[3].innerHTML = "\u5c0d\u9f4a ";
txtLang[4].innerHTML = "\u... | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u5c0d\u9f4a ";
txtLang[1].innerHTML = "\u7e2e\u6392 ";
txtLang[2].innerHTML = "\u5b57\u9593\u8ddd\u96e2 ";
txtLang[3].innerHTML = "\u5b57\u5143\u8ddd\u96e2 ";
txtLang[4].innerHTML = "\u... | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u5217 ";
txtLang[1].innerHTML = "\u9593\u8ddd ";
txtLang[2].innerHTML = "\u6b04 ";
txtLang[3].innerHTML = "\u5167\u8ddd ";
txtLang[4].innerHTML = "\u908a\u6846 ";
txtLang[5].inner... | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u540d\u7a31 ";
txtLang[1].innerHTML = "\u5927\u5c0f ";
txtLang[2].innerHTML = "\u5141\u8a31\u591a\u9805\u9078\u64c7 ";
txtLang[3].innerHTML = "\u503c ";
document.getElementById("b... | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u540d\u7a31 ";
txtLang[1].innerHTML = "\u503c ";
txtLang[2].innerHTML = "\u9810\u8a2d ";
var optLang = document.getElementsByName("optLang");
optLang[0].text = "\u5df1\u6838\u53d6 "
... | JavaScript |
function loadText()
{
document.getElementById("txtLang").innerHTML = "\u63db\u884c ";
document.getElementById("btnCancel").value = "\u53d6\u6d88 ";
document.getElementById("btnApply").value = "\u61c9\u7528 ";
document.getElementById("btnOk").value = " \u78ba\u8a8d ";
}
function getText(s... | JavaScript |
function loadText()
{
document.getElementById("btnCancel").value = "\u53d6\u6d88 ";
document.getElementById("btnOk").value = " \u78ba\u8a8d ";
}
function getText(s)
{
switch(s)
{
case "Required":
return "\u9808\u8981 ieSpell\u7a0b\u5f0f (from www.iespell.com).";
default:return "";
}... | JavaScript |
function loadText()
{
var txtLang = document.getElementsByName("txtLang");
txtLang[0].innerHTML = "\u7a2e\u985e ";
txtLang[1].innerHTML = "\u540d\u7a31 ";
txtLang[2].innerHTML = "\u5927\u5c0f ";
txtLang[3].innerHTML = "\u5b57\u5143\u9577\u5ea6\u4e0a\u9650 ";
txtLang[4].innerHTML = "\u... | JavaScript |
/*** Color Picker Object ***/
var arrColorPickerObjects=[];
function ColorPicker(sName,sParent)
{
this.oParent=sParent;
if(sParent)
{
this.oName=sParent+"."+sName;
this.oRenderName=sName+sParent;
}
else
{
this.oName=sName;
this.oRenderName=sName;
}
arrColorPickerObjects.push(this.oName);
this.url... | JavaScript |
/*** Editor Script Wrapper ***/
var oScripts=document.getElementsByTagName("script");
var sEditorPath;
for(var i=0;i<oScripts.length;i++)
{
var sSrc=oScripts[i].src.toLowerCase();
if(sSrc.indexOf("scripts/innovaeditor.js")!=-1) sEditorPath=sSrc.replace(/innovaeditor.js/,"");
}
if(navigator.appName.indexOf('Micr... | JavaScript |
/*** Color Picker Object ***/
var arrColorPickerObjects=[];
function ColorPicker(sName,sParent)
{
this.oParent=sParent;
if(sParent)
{
this.oName=sParent+"."+sName;
this.oRenderName=sName+sParent;
}
else
{
this.oName=sName;
this.oRenderName=sName;
... | JavaScript |
var confirmEnabled = true;
var useHighlighting = true;
var strToggleColor = '#f0fff2';
var strRollColor = '#fffff0';
var strRowOneColor = '#ffffff';
var strRowTwoColor = '#e7ecf8';
var strRowOne2Color = '#ffffff';
var strRowTwo2Color = '#e3f6e8';
function confirmMessage(ctlATag, strMessage) {
// Confirmatio... | JavaScript |
function selected(cal, date) {
cal.sel.value = date; // just update the date in the input field.
if (cal.dateClicked && (cal.sel.id == "sel1" || cal.sel.id == "sel3"))
// if we add this call we close the calendar on single-click.
// just to exemplify both cases, we are using this only for the 1st
// an... | 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... | 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 |
/*****************************************************************************
Copyright (C) 2006 Nick Baicoianu
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License... | JavaScript |
// ** I18N
// Calendar pt-BR language
// Author: Fernando Dourado, <[email protected]>
// 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 pl... | JavaScript |
// ** I18N
// Calendar EN language
// Author: Mihai Bazon, <[email protected]>
// Translation: Yourim Yi <[email protected]>
// 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 the answe... | JavaScript |
// ** I18N
// Calendar pt_BR language
// Author: Adalberto Machado, <[email protected]>
// 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 DE language
// Author: Jack (tR), <[email protected]>
// 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._DN = new Array
("Κυριακή",
"Δευτέρα",
"Τρίτη",
"Τετάρτη",
"Πέμπτη",
"Παρασκευή",
"Σάββατο",
"Κυριακή");
Calendar._SDN = new Array
("Κυ",
"Δε",
"Tρ",
"Τε",
"Πε",
"Πα",
"Σα",
"Κυ");
Calendar._MN = new Array
("Ιανουάριος",
"Φεβρουάριος",
"Μάρτιος",
"Απρίλιο... | JavaScript |
// ** I18N
// Calendar EN language
// Author: Idan Sofer, <[email protected]>
// 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
// incl... | JavaScript |
// ** I18N
// Calendar LT language
// Author: Martynas Majeris, <[email protected]>
// 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 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._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 SK language
// Author: Peter Valach ([email protected])
// 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",
"Sobota",
"NedeÄľa"... | 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",
"Desember");
// toolti... | JavaScript |
// ** I18N
// Calendar RU language
// Translation: Sly Golovanov, http://golovanov.net, <[email protected]>
// 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 EN language
// Author: Mihai Bazon, <[email protected]>
// Encoding: any
// Translator : Niko <[email protected]>
// 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ö, <[email protected]>
// 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._SDN_len = 2;
Calendar._MN = new Array
("Januari",
"Februari",
"Maart",
"April",
"Mei",
"Juni",
"Juli",
"Augustus",
"September",
"Oktober",
"November",
"December")... | JavaScript |
// ** I18N
// Calendar NO language
// Author: Daniel Holmen, <[email protected]>
// 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
// i... | 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",
"Noiembrie",
"Decembrie");... | JavaScript |
// ** I18N
// Calendar EN language
// Author: Mihai Bazon, <[email protected]>
// 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 EN language
// Author: Mihai Bazon, <[email protected]>
// Translator: Fabio Di Bernardini, <[email protected]>
// 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 t... | JavaScript |
// ** I18N
// Calendar PL language
// Author: Artur Filipiak, <[email protected]>
// 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 |
/*
calendar-cs-win.js
language: Czech
encoding: windows-1250
author: Lubos Jerabek ([email protected])
Jan Uhlir ([email protected])
*/
// ** 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','Pá','So... | JavaScript |
/* Slovenian language file for the DHTML Calendar version 0.9.2
* Author David Milost <[email protected]>, 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 [email protected]
// 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");
// muajt
Calendar._M... | JavaScript |
// ** I18N
// Calendar PL language
// Author: Dariusz Pietrzak, <[email protected]>
// Author: Janusz Piwowarski, <[email protected]>
// Encoding: utf-8
// Distributed under the same terms as the calendar itself.
Calendar._DN = new Array
("Niedziela",
"Poniedziałek",
"Wtorek",
"Środa",
"Czwartek",
"Piątek",
"Sobot... | JavaScript |
/* Croatian language file for the DHTML Calendar version 0.9.2
* Author Krunoslav Zubrinic <[email protected]>, 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, <[email protected]>
// 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 |
var coords_data = {
"AFG":{"name": "Afghanistan","ioc": "AFG","lat":34.52,"lng":66.57},
"ALB":{"name": "Albania","ioc": "ALB","lat":41.32,"lng":19.95},
"ALG":{"name": "Algeria","ioc": "ALG","lat":29.07,"lng":2.63},
"ASA":{"name": "American Samoa","ioc": "ASA","lat":-14.3,"lng":-170.7},
"AND":{"name": "Andorra","ioc": "... | JavaScript |
var map = Default.map;
var medals_data = [];
var region_cptrs = [];
var prev_regions = [];
var cMapping = {}; // Mapping from competitor code to medal data.
var oMapping = {}; // Mapping from competitor code to map overalays.
var default_sortby = "gold";
var num_top = 5;
var region_sortby = default_sortby;
v... | JavaScript |
(function() {
var map = Default.map;
var $ = Go.$;
var My = {
venues : {}
}
function VenueTab(isActive){
if(isActive) this.active();
}
window.VenueTab = VenueTab;
VenueTab.prototype = new GoTab(Default.key.venue, null, true);
VenueTab.prototype.load = function(){
My.venues = {};
this.initHead();... | JavaScript |
(function(){
var map = Default.map;
var $ = Go.$;
function StarTab(isActive){
this.markers = {
medal:{},
event:{},
venue:{}
};
if(isActive) this.active();
}
window.StarTab = StarTab;
StarTab.prototype = new GoTab(Default.key.star, null, true);
StarTab.prototype.load = function(){
t... | JavaScript |
(function() {
var Version = {
maps: "maps",
ditu: "ditu",
gadget : "gadget",
mapplet : "mapplet"
};
var Active = {
tab : null,
mapType : null
};
var Default = {
version:null,
lang:null,
hasEarth : false,
baseUrl:"http://2008summergames.googlecode.com/svn/cn/",
imageUrl: "http://... | JavaScript |
/**
* The below are data objects. sn:short name dt:district gp: stadium group
* pt:point ln:line sp: sport tp:type tl:time list
*/
var DDate = {
prefix : "w",
title : "title",
weekday : ["sun", "mon", "tue", "wed", "thu", "fri", "sat"],
year : "year",
month : "month",
day : "day"
};
var DSpo... | JavaScript |
var coords_data = {
"AFG":{"name": "Afghanistan","ioc": "AFG","lat":34.52,"lng":66.57},
"ALB":{"name": "Albania","ioc": "ALB","lat":41.32,"lng":19.95},
"ALG":{"name": "Algeria","ioc": "ALG","lat":29.07,"lng":2.63},
"ASA":{"name": "American Samoa","ioc": "ASA","lat":-14.3,"lng":-170.7},
"AND":{"name": "Andorra","ioc": "... | JavaScript |
(function(){})();
var map = Default.map;
var medals_data = [];
var region_cptrs = [];
var prev_regions = [];
var cMapping = {}; // Mapping from competitor code to medal data.
var oMapping = {}; // Mapping from competitor code to map overalays.
var default_sortby = "gold";
var num_top = 5;
var region_sort... | JavaScript |
(function() {
var map = Default.map;
var $ = Go.$;
var My = {
venues : {}
}
function VenueTab(isActive){
if(isActive) this.active();
}
window.VenueTab = VenueTab;
VenueTab.prototype = new GoTab(Default.key.venue, {type:G_HYBRID_MAP}, true);
VenueTab.prototype.load = function(){
My.venues = {};
t... | JavaScript |
(function(){
var map = Default.map;
var $ = Go.$;
function StarTab(isActive){
this.markers = {
medal:{},
event:{},
venue:{}
};
if(isActive) this.active();
}
window.StarTab = StarTab;
StarTab.prototype = new GoTab(Default.key.star, null, true);
StarTab.prototype.load = function(){
t... | JavaScript |
(function() {
var Version = {
maps: "maps",
ditu: "ditu",
gadget : "gadget",
mapplet : "mapplet"
};
var Active = {
tab : null,
mapType : null
};
var Default = {
version:null,
lang:null,
hasEarth : false,
baseUrl:"http://2008summergames.googlecode.com/svn/com/",
imageUrl: "http:/... | JavaScript |
/**
* The below are data objects. sn:short name dt:district gp: stadium group
* pt:point ln:line sp: sport tp:type tl:time list
*/
var DDate = {
prefix : "w",
title : "title",
weekday : ["sun", "mon", "tue", "wed", "thu", "fri", "sat"],
year : "year",
month : "month",
day : "day"
};
var DSpo... | JavaScript |
function FindProxyForURL(url, host) {
PROXY = "PROXY yourhttpproxy:80";
DEFAULT = "DIRECT";
if(/^[\w\-]+:\/+(?!\/)(?:[^\/]+\.)?appspot\.com/i.test(url)) return PROXY;
if(/^[\w\-]+:\/+(?!\/)(?:[^\/]+\.)?blogspot\.com/i.test(url)) return PROXY;
if(/^[\w\-]+:\/+(?!\/)(\d{2,}\.)docs\.google\.com/i.test(url)) return P... | JavaScript |
<?xml version="1.0" encoding="utf-8"?>
<project path="" name="Ext - Resources" author="Ext JS, LLC" version="2.0 RC 1" copyright="Ext JS Library $version
Copyright(c) 2006-2007, $author.
[email protected]

http://extjs.com/license" output="C:\apps\www\deploy\ext-2.0-rc1\resources... | JavaScript |
/*
* Ext JS Library 2.0.1
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
Ext.DomHelper = function(){
var tempTableEl = null;
var emptyTags = /^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i;
var tableRe = /^table|tbod... | JavaScript |
/*
* Ext JS Library 2.0.1
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
Ext = {version: '2.0.1'};
window["undefined"] = window["undefined"];
Ext.apply = function(o, c, defaults){
if(defaults){
Ext.apply(o, defaults);
... | JavaScript |
/*
* Ext JS Library 2.0.1
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
Ext.DomHelper = function(){
var tempTableEl = null;
var emptyTags = /^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i;
var tableRe = /^table|tbod... | JavaScript |
Ext.form.ExtLabel = Ext.extend(Ext.BoxComponent, {
// private
onRender : function(ct, position){
if(!this.el){
this.el = document.createElement('label');
this.el.id = this.getId();
this.el.innerHTML = this.text ? Ext.util.Format.htmlEncode(this.text) : (this.htm... | JavaScript |
/*
* Ext JS Library 2.0
* Copyright(c) 2006-2007, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
Ext.DomHelper = function(){
var tempTableEl = null;
var emptyTags = /^(?:br|frame|hr|img|input|link|meta|range|spacer|wbr|area|param|col)$/i;
var tableRe = /^table|tbody|... | JavaScript |
/**下拉树工具类
* 用法: new TreeSelector(_id,_url,_label,_field); 返回类型为Ext.form.ComboBox
* @param {} _id:下拉树的ID
* @param {} _url:读取下拉树JSON数据的URL,JSON数据的格式是Ext.tree.TreeLoader能接收的数据格式
* @param {} _label:是该下拉树的fieldLabel
* @param {} _field:修改域的ID,根据此ID把其树结点的id的值赋给该域
* @return {} Ext.form.ComboBox
*/
var TreeSele... | JavaScript |
Ext.ns("App");
Ext.ns("AppUtil");
/**
* Import Js
* @return {}
*/
function $ImportJs(viewName,callback) {
var b = document.getElementById(viewName+'-hiden');
if (b != null) {
var view = eval('new ' + viewName + '()');
callback.call(this, view);
} else {
var jsArr = eval('App.importJs.' + viewNam... | JavaScript |
/**
* Copyright (c)2005-2009 Matt Kruse (javascripttoolbox.com)
*
* Dual licensed under the MIT and GPL licenses.
* This basically means you can use this code however you want for
* free, but don't claim to have written it yourself!
* Donations always accepted: http://www.JavascriptToolbox.com/donate/
*... | JavaScript |
/**
* 用于动态加载js
* sample is here
*
ScriptMgr.load({
scripts: ['/js/other-prerequisite.js', '/js/other.js'],
callback: function() {
var other = new OtherObject();
alert(other); //just loaded
}
});
*/
ScriptLoader = function() {
this.timeout = 10;
this.scripts = [];
this.... | JavaScript |
// ===================================================================
// Author: Matt Kruse <[email protected]>
// WWW: http://www.mattkruse.com/
//
// NOTICE: You may use this code for any purpose, commercial or
// private, without any further permission from the author. You may
// remove this notice from your... | JavaScript |
Ext.ns('ContractView');
/**
* [Contract]列表
*/
var ContractView = function() {
return new Ext.Panel({
id : 'ContractView',
title : '合同列表',
iconCls:'menu-contract',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'ContractSearchForm',
layout : 'column... | JavaScript |
var CusLinkmanForm = function(linkmanId) {
this.linkmanId = linkmanId;
var fp = this.setup();
var window = new Ext.Window({
id : 'CusLinkmanFormWin',
title : '联系人详细信息',
width : 450,
height : 410,
minWidth:449,
minHeight:409,
modal : true,
layout : 'anchor',
plain : tru... | JavaScript |
Ext.ns('ContractConfigView');
/**
* [ContractConfig]列表
*/
var ContractConfigView = function() {
return this.setup();
// return new Ext.Panel({
// id : 'ContractConfigView',
// title : '合同配置',
// iconCls: 'menu-contract_config',
// autoScroll : true,
// items : [new Ext.FormPanel({
// height : 35,
... | JavaScript |
Ext.ns('CustomerView');
/**
* [Customer]列表
*/
var CustomerView = function() {
return new Ext.Panel({
id : 'CustomerView',
title :'客户列表',
iconCls:'menu-customerView',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'CustomerSearchForm',
layout : 'col... | JavaScript |
var ContractForm = function(contractId) {
this.contractId = contractId;
var fp = this.setup();
var window = new Ext.Window({
id : 'ContractFormWin',
title : '合同详细信息',
//width : 500,
//height : 420,
x:100,
y:30,
modal : true,
autoWidth : true,
autoHeight : true,
la... | JavaScript |
var CusConnectionForm = function(connId) {
this.connId = connId;
var fp = this.setup();
var window = new Ext.Window({
id : 'CusConnectionFormWin',
title : '交往纪录信息',
width : 500,
height : 420,
minHeight:419,
minWidth:499,
modal : true,
layout : 'anchor',
plain : true,
bodyStyle : 'pad... | JavaScript |
Ext.ns('ProjectView');
/**
* [Project]列表
*/
var ProjectView = function() {
return new Ext.Panel({
id : 'ProjectView',
title : '项目列表',
iconCls:'menu-project',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'ProjectSearchForm',
layout : 'column',
... | JavaScript |
var ProjectForm = function(projectId) {
this.projectId = projectId;
var fp = this.setup();
var window = new Ext.Window({
id : 'ProjectFormWin',
title : '项目详细信息',
minWidth : 500,
minHeight : 420,
modal : true,
x:100,//X,Y为窗口出现的位置座标
y:50,
layout : 'anchor',
constrain :tr... | JavaScript |
Ext.ns('CusLinkmanView');
/**
* [CusLinkman]列表
*/
var CusLinkmanView = function() {
return new Ext.Panel({
id : 'CusLinkmanView',
title : '联系人信息',
iconCls:'menu-cusLinkman',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'CusLinkmanSearchForm',
lay... | JavaScript |
Ext.ns('CusConnectionView');
/**
* [CusConnection]列表
*/
var CusConnectionView = function() {
return new Ext.Panel({
id : 'CusConnectionView',
title :'交往记录',
iconCls:'menu-connection',
autoScroll : true,
items : [new Ext.FormPanel({
height : 35,
frame : true,
id : 'CusConnectionSearchF... | JavaScript |
var CustomerForm = function(customerId) {
this.customerId = customerId;
var fp = this.setup();
var window = new Ext.Window({
id : 'CustomerFormWin',
title : '客户详细信息',
width : 500,
height : 500,
minWidth : 499,
minHeight : 499,
modal : true,
layout : 'anchor',
plain : t... | JavaScript |
Ext.ns('DiaryView');
/**
* TODO: add class/table comments列表
*/
var DiaryView = function() {
return new Ext.Panel(
{
id : 'DiaryView',
title : '日志列表',
iconCls:'menu-diary',
autoScroll : true,
items : [
new Ext.FormPanel(
{
height : 40,
frame : true... | JavaScript |
var FileAttachForm = function(fileId) {
this.fileId = fileId;
var fp = this.setup();
var window = new Ext.Window({
id : 'FileAttachFormWin',
title : '附件详细信息',
width : 500,
height : 420,
modal : true,
minWidth : 300,
minHeight : 200,
layout : 'anchor',
plain : true,
... | JavaScript |
var DiaryForm = function(diaryId) {
this.diaryId = diaryId;
var fp = this.setup();
var window = new Ext.Window( {
id : 'DiaryFormWin',
title : 'Diary详细信息',
width : 500,
height : 420,
modal : true,
minWidth : 300,
minHeight : 200,
layout : 'anchor',
plain : true,
bodyStyle : 'padding:... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.