code
stringlengths
1
2.08M
language
stringclasses
1 value
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','vi',{uicolor:{title:'Giao diện người dùng Color Picker',preview:'Xem trước trực tiếp',config:'Dán chuỗi này vào tập tin config.js củ...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','hr',{uicolor:{title:'UI odabir boja',preview:'Pregled uživo',config:'Zalijepite ovaj tekst u Vašu config.js datoteku.',predefined:'V...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','tr',{uicolor:{title:'UI Renk Seçicisi',preview:'Canlı önizleme',config:'Bu dizeyi config.js dosyasının içine yapıştırın',predefined:...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','fr',{uicolor:{title:'UI Sélecteur de couleur',preview:'Aperçu',config:'Collez cette chaîne de caractères dans votre fichier config.j...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','zh-cn',{uicolor:{title:'用户界面颜色选择器',preview:'即时预览',config:'粘贴此字符串到你的 config.js 文件',predefined:'预定义颜色集'}});
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','eo',{uicolor:{title:'UI Kolorselektilo',preview:'Vidigi la aspekton',config:'Gluu tiun signoĉenon en vian dosieron config.js',predef...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','en',{uicolor:{title:'UI Color Picker',preview:'Live preview',config:'Paste this string into your config.js file',predefined:'Predefi...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','da',{uicolor:{title:'Brugerflade på farvevælger',preview:'Vis liveeksempel',config:'Indsæt denne streng i din config.js fil',predefi...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','nb',{uicolor:{title:'Fargevelger for brukergrensesnitt',preview:'Forhåndsvisning i sanntid',config:'Lim inn følgende tekst i din con...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','bg',{uicolor:{title:'ПИ избор на цвят',preview:'Преглед',config:'Вмъкнете този низ във Вашия config.js fajl',predefined:'Предефинира...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','el',{uicolor:{title:'Διεπαφή Επιλογέα Χρωμάτων',preview:'Ζωντανή Προεπισκόπηση',config:'Επικολλήστε αυτό το κείμενο στο αρχείο confi...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','fi',{uicolor:{title:'Käyttöliittymän värivalitsin',preview:'Esikatsele',config:'Liitä tämä merkkijono config.js tiedostoosi',predefi...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','cy',{uicolor:{title:"Dewisydd Lliwiau'r UI",preview:'Rhagolwg Byw',config:"Gludwch y llinyn hwn i'ch ffeil config.js",predefined:"Se...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','no',{uicolor:{title:'Fargevelger for brukergrensesnitt',preview:'Forhåndsvisning i sanntid',config:'Lim inn følgende tekst i din con...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','mk',{uicolor:{title:'Палета со бои',preview:'Преглед',config:'Залепи го овој текст во config.js датотеката',predefined:'Предефиниран...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','fa',{uicolor:{title:'انتخاب رنگ UI',preview:'پیشنمایش زنده',config:'این رشته را در فایل config.js خود بچسبانید.',predefined:'مجموعه ...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','et',{uicolor:{title:'Värvivalija kasutajaliides',preview:'Automaatne eelvaade',config:'Aseta see sõne oma config.js faili.',predefin...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','he',{uicolor:{title:'בחירת צבע ממשק משתמש',preview:'תצוגה מקדימה',config:'הדבק את הטקסט הבא לתוך הקובץ config.js',predefined:'קבוצות...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','uk',{uicolor:{title:'Color Picker Інтерфейс',preview:'Перегляд наживо',config:'Вставте цей рядок у файл config.js',predefined:'Станд...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','cs',{uicolor:{title:'Výběr barvy rozhraní',preview:'Živý náhled',config:'Vložte tento řetězec do Vašeho souboru config.js',predefine...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','pt-br',{uicolor:{title:'Paleta de Cores',preview:'Visualização ao vivo',config:'Cole o texto no seu arquivo config.js',predefined:'C...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','nl',{devTools:{title:'Elementinformatie',dialogName:'Naam dialoogvenster',tabName:'Tabnaam',elementId:'Element ID',elementType:'Ele...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','ug',{devTools:{title:'ئېلېمېنت ئۇچۇرى',dialogName:'سۆزلەشكۈ كۆزنەك ئاتى',tabName:'Tab ئاتى',elementId:'ئېلېمېنت كىملىكى',elementTyp...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','it',{devTools:{title:'Informazioni elemento',dialogName:'Nome finestra di dialogo',tabName:'Nome Tab',elementId:'ID Elemento',eleme...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','de',{devTools:{title:'Elementinformation',dialogName:'Dialogfenstername',tabName:'Reitername',elementId:'Element ID',elementType:'E...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','pl',{devTools:{title:'Informacja o elemencie',dialogName:'Nazwa okna dialogowego',tabName:'Nazwa zakładki',elementId:'ID elementu',...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','vi',{devTools:{title:'Thông tin thành ph',dialogName:'Tên hộp tho',tabName:'Tên th',elementId:'Mã thành ph',elementType:'Loại thành...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','hr',{devTools:{title:'Informacije elementa',dialogName:'Naziv prozora za dijalog',tabName:'Naziva jahača',elementId:'ID elementa',e...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','tr',{devTools:{title:'Eleman Bilgisi',dialogName:'İletişim pencere ismi',tabName:'Sekme adı',elementId:'Eleman ID',elementType:'Ele...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','fr',{devTools:{title:"Information sur l'élément",dialogName:'Nom de la fenêtre de dialogue',tabName:"Nom de l'onglet",elementId:"ID...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','zh-cn',{devTools:{title:'元素信息',dialogName:'对话框窗口名称',tabName:'Tab 名称',elementId:'元素 ID',elementType:'元素类型'}});
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','eo',{devTools:{title:'Informo pri la elemento',dialogName:'Nomo de la dialogfenestro',tabName:'Langetnomo',elementId:'ID de la elem...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','en',{devTools:{title:'Element Information',dialogName:'Dialog window name',tabName:'Tab name',elementId:'Element ID',elementType:'E...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','da',{devTools:{title:'Information på elementet',dialogName:'Dialogboks',tabName:'Tab beskrivelse',elementId:'ID på element',element...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','nb',{devTools:{title:'Elementinformasjon',dialogName:'Navn på dialogvindu',tabName:'Navn på fane',elementId:'Element-ID',elementTyp...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','bg',{devTools:{title:'Информация за елемента',dialogName:'Име на диалоговия прозорец',tabName:'Име на таб',elementId:'ID на елемент...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','el',{devTools:{title:'Πληροφορίες Στοιχείου',dialogName:'Όνομα παραθύρου διαλόγου',tabName:'Όνομα καρτέλας',elementId:'ID Στοιχείου...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','fi',{devTools:{title:'Elementin tiedot',dialogName:'Dialogi-ikkunan nimi',tabName:'Välilehden nimi',elementId:'Elementin ID',elemen...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','cy',{devTools:{title:'Gwybodaeth am yr Elfen',dialogName:'Enw ffenestr y deialog',tabName:"Enw'r tab",elementId:'ID yr Elfen',eleme...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','no',{devTools:{title:'Elementinformasjon',dialogName:'Navn på dialogvindu',tabName:'Navn på fane',elementId:'Element-ID',elementTyp...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','fa',{devTools:{title:'اطلاعات عنصر',dialogName:'نام پنجره محاورهای',tabName:'نام برگه',elementId:'ID عنصر',elementType:'نوع عنصر'}}...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','et',{devTools:{title:'Elemendi andmed',dialogName:'Dialoogiakna nimi',tabName:'Saki nimi',elementId:'Elemendi ID',elementType:'Elem...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','he',{devTools:{title:'מידע על האלמנט',dialogName:'שם הדיאלוג',tabName:'שם הטאב',elementId:'ID של האלמנט',elementType:'סוג האלמנט'}}...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','uk',{devTools:{title:'Відомості про Елемент',dialogName:'Заголовок діалогового вікна',tabName:'Назва вкладки',elementId:'Ідентифіка...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','cs',{devTools:{title:'Informace o prvku',dialogName:'Název dialogového okna',tabName:'Název karty',elementId:'ID prvku',elementType...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','pt-br',{devTools:{title:'Informação do Elemento',dialogName:'Nome da janela de diálogo',tabName:'Nome da aba',elementId:'ID do elem...
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','gu',{devTools:{title:'પ્રાથમિક માહિતી',dialogName:'વિન્ડોનું નામ',tabName:'ટેબનું નામ',elementId:'પ્રાથમિક આઈડી',elementType:'પ્રાથ...
JavaScript
/* Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */
JavaScript
/* Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add('docprops',{init:function(a){var b=new CKEDITOR.dialogCommand('docProps');b.modes={wysiwyg:a.config.fullPage};a.addCommand('docProps',b);CKEDITOR.d...
JavaScript
/** * Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ // This file contains style definitions that can be used by CKEditor plugins. // // The most common use for it is the "stylescombo" plugin, which shows a combo ...
JavaScript
/** * Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.dialog.add( 'myDialog', function( editor ) { return { title: 'My Dialog', minWidth: 400, minHeight: 200, contents: [ { id: 'tab1',...
JavaScript
/** * Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ // Tool scripts for the sample pages. // This file can be ignored and is not required to make use of CKEditor. ( function() { CKEDITOR.on( 'instanceReady', ...
JavaScript
function fn_OpenModalDialog(sUrl, sParam, width, height) { try { var strReturn = ""; var winx = (screen.width - width) / 2; var winy = (screen.height - height) / 2; var settings = "dialogHeight: " + height + "px; "; settings += "dialogWidth: " + width + "px; "...
JavaScript
// Copyright 2012 Google Inc. /** * @author Chris Broadfoot (Google) * @fileoverview * Feature model class for Store Locator library. */ /** * 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 Licens...
JavaScript
// Copyright 2012 Google Inc. /** * @author Chris Broadfoot (Google) * @fileoverview * Allows developers to specify a static set of stores to be used in the * storelocator. */ /** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License...
JavaScript
// Copyright 2012 Google Inc. /** * @author Chris Broadfoot (Google) * @fileoverview * FeatureSet class for Store Locator library. A mutable, ordered set of * storeLocator.Features. */ /** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with th...
JavaScript
// Copyright 2012 Google Inc. /** * @name Store Locator for Google Maps API V3 * @version 0.1 * @author Chris Broadfoot (Google) * @fileoverview * This library makes it easy to create a fully-featured Store Locator for * your business's website. */ /** * @license * * Copyright 2012 Google Inc. * * License...
JavaScript
// Copyright 2012 Google Inc. /** * @author Chris Broadfoot (Google) * @fileoverview * An info panel, which complements the map view of the Store Locator. * Provides a list of stores, location search, feature filter, and directions. */ /** * Licensed under the Apache License, Version 2.0 (the "License"); * you...
JavaScript
// Copyright 2012 Google Inc. /** * @author Chris Broadfoot (Google) * @fileoverview * Store model class for Store Locator library. */ /** * 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 ...
JavaScript
// Copyright 2012 Google Inc. /** * @author Chris Broadfoot (Google) * @fileoverview * This library makes it easy to create a fully-featured Store Locator for * your business's website. */ /** * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance wit...
JavaScript
// Store locator with customisations // - custom marker // - custom info window (using Info Bubble) // - custom info window content (+ store hours) var ICON = new google.maps.MarkerImage('medicare.png', null, null, new google.maps.Point(14, 13)); var SHADOW = new google.maps.MarkerImage('medicare-shadow.png', nul...
JavaScript
/** * @extends storeLocator.StaticDataFeed * @constructor */ function MedicareDataSource() { $.extend(this, new storeLocator.StaticDataFeed); var that = this; $.get('medicare.csv', function(data) { that.setStores(that.parse_(data)); }); } /** * @const * @type {!storeLocator.FeatureSet} * @private *...
JavaScript
// A simple demo showing how to grab places using the Maps API Places Library. // Useful extensions may include using "name" filtering or "keyword" search. google.maps.event.addDomListener(window, 'load', function() { var map = new google.maps.Map(document.getElementById('map-canvas'), { center: new google.maps....
JavaScript
google.maps.event.addDomListener(window, 'load', function() { var map = new google.maps.Map(document.getElementById('map-canvas'), { center: new google.maps.LatLng(-28, 135), zoom: 4, mapTypeId: google.maps.MapTypeId.ROADMAP }); var panelDiv = document.getElementById('panel'); var data = new Medic...
JavaScript
/** * @implements storeLocator.DataFeed * @constructor */ function MedicareDataSource() { } MedicareDataSource.prototype.getStores = function(bounds, features, callback) { var center = bounds.getCenter(); var that = this; var audioFeature = this.FEATURES_.getById('Audio-YES'); var wheelchairFeature = this.F...
JavaScript
function $(id, winHDL) { if (typeof(winHDL) === "undefined") { winHDL = window; } return winHDL.document.getElementById(id); } Array.prototype.shift = function () { var firstUnit = this[0]; for (var i = 0; i < this.length; i++) { this[i] = this[i+1]; } this....
JavaScript
/* 初始化一些全局变量 */ var lf = "<br />"; var iframe = null; var notice = null; var oriDisabledInputs = []; /* Ajax设置 */ Ajax.onRunning = null; Ajax.onComplete = null; /* 页面加载完毕,执行一些操作 */ window.onload = function () { var f = $("js-setup"); $("js-pre-step").onclick = function() { location.h...
JavaScript
function getAbsPosition(target) { var pos = {x:0, y:0}; while (target != null) { pos.x += target.offsetLeft; pos.y += target.offsetTop; target = target.offsetParent; } return pos; } var EventManager = { "attachEvent" : function (oTarget, sType, fHandle, bUseCa...
JavaScript
/* 初始化一些全局变量 */ var lf = "<br />"; var needupVerList = []; var curVer = ""; var nextVer = ""; var iframe = null; var notice = null; var ui = ""; /* Ajax设置 */ Ajax.onRunning = null; Ajax.onComplete = null; /* 在升级过程中调用该方法 */ function startNotice() { $("js-monitor-loading").src = "images/loading.gif"...
JavaScript
/* 初始化一些全局变量 */ var lf = "<br />"; var iframe = null; var notice = null; var oriDisabledInputs = []; /* Ajax设置 */ Ajax.onRunning = null; Ajax.onComplete = null; /* 页面加载完毕,执行一些操作 */ window.onload = function () { var f = $("js-setup"); var ucinstalloptions = document.getElementsByName("ucinstall");...
JavaScript
/* $Id : common.js 4865 2007-01-31 14:04:10Z paulgao $ */ /* * * 添加商品到购物车 */ function addToCart(goodsId, parentId) { var goods = new Object(); var spec_arr = new Array(); var fittings_arr = new Array(); var number = 1; var formBuy = document.forms['ECS_FORMBUY']; // 检...
JavaScript
/* $Id : user.js 4865 2007-01-31 14:04:10Z paulgao $ */ /* * * 修改会员信息 */ function userEdit() { var frm = document.forms['formEdit']; var email = frm.elements['email'].value; var msg = ''; var reg = null; if (email.length == 0) { msg += email_empty + '\n'; } else { if ( ! ...
JavaScript
/* $Id : auto_complete.js 4865 2007-01-31 14:04:10Z paulgao $ */ function autoComplete(obj, hidden, url, callback) { this.borderStyle = '1px solid #000'; this.highlight = '#000080'; this.highlightText = '#FFF'; this.background = '#FFF'; this.params = ''; var textbox = obj; var hidden = hidden...
JavaScript
Calendar = function (firstDayOfWeek, dateStr, onSelected, onClose) { // member variables this.activeDiv = null; this.currentDateEl = null; this.getDateStatus = null; this.getDateToolTip = null; this.getDateText = null; this.timeout = null; this.onSelected = onSelected || null; this.onClose = onClose ...
JavaScript
/* $Id : myship.js 4865 2007-01-31 14:04:10Z Hackfan $ */ /* * * 检查收货地址信息表单中填写的内容 */ function checkForm(frm) { var msg = new Array(); var err = false; if (frm.elements['country'].value == 0) { msg.push(country_not_null); err = true; } if (frm.elements['province'].value == 0 && f...
JavaScript
/* $Id: showdiv.js 15469 2008-12-19 06:34:44Z testyang $ */ //创建显示层 var swtemp = 0; var timer = null; //显示层 function showdiv(obj) { var inputid = obj.id; if (swtemp == 1) { hidediv("messagediv"); } if (!getobj("messagediv")) { //若尚未创建就创建层 crertdiv(""...
JavaScript
/* $Id : region.js 4865 2007-01-31 14:04:10Z paulgao $ */ var region = new Object(); region.isAdmin = false; region.loadRegions = function(parent, type, target) { Ajax.call(region.getFileName(), 'type=' + type + '&target=' + target + "&parent=" + parent , region.response, "GET", "JSON"); } /* * * 载入指...
JavaScript
/* $Id : utils.js 5052 2007-02-03 10:30:13Z weberliu $ */ var Browser = new Object(); Browser.isMozilla = (typeof document.implementation != 'undefined') && (typeof document.implementation.createDocument != 'undefined') && (typeof HTMLDocument != 'undefined'); Browser.isIE = window.ActiveXObject ? true : false; ...
JavaScript
/* $Id : lefttime.js 4865 2007-01-31 14:04:10Z paulgao $ */ /* * * 给定一个剩余时间(s)动态显示一个剩余时间. * 当大于一天时。只显示还剩几天。小于一天时显示剩余多少小时,多少分钟,多少秒。秒数每秒减1 * */ // 初始化变量 var auctionDate = 0; var _GMTEndTime = 0; var showTime = "leftTime"; var _day = 'day'; var _hour = 'hour'; var _minute = 'minute'; var _second = 'seco...
JavaScript
/* $Id: index.js 15469 2008-12-19 06:34:44Z testyang $ */ var best_str = new Object(); var new_str = new Object(); var hot_str = new Object(); function init_rec_data() { best_str[0] = document.getElementById("show_best_area") == null ? '' : document.getElementById("show_best_area").innerHTML; new_str[0...
JavaScript
/* $Id: global.js 15469 2008-12-19 06:34:44Z testyang $ */ Object.extend = function(destination, source) { for (property in source) { destination[property] = source[property]; } return destination; } Object.prototype.extend = function(object) { return Object.extend.apply(this, [this, object]); ...
JavaScript
/* $Id : shopping_flow.js 4865 2007-01-31 14:04:10Z paulgao $ */ var selectedShipping = null; var selectedPayment = null; var selectedPack = null; var selectedCard = null; var selectedSurplus = ''; var selectedBonus = 0; var selectedIntegral = 0; var selectedOOS = null; var alertedSurplus ...
JavaScript
/* $Id: compare.js 15469 2008-12-19 06:34:44Z testyang $ */ var Compare = new Object(); Compare = { add : function(goodsId, goodsName, type) { var count = 0; for (var k in this.data) { if (typeof(this.data[k]) == "function") continue; if (this.data[k].t != type) { ...
JavaScript
/** * @file transport.js * @description 用于支持AJAX的传输类。 * @author ECShop R&D Team ( http://www.ecshop.com/ ) * @date 2007-03-08 Wednesday * @license Licensed under the Academic Free License 2.1 http://www.opensource.org/licenses/afl-2.1.php * @version 1.0.200...
JavaScript
var pos; var MSIE=navigator.userAgent.indexOf("MSIE"); var Fire=navigator.userAgent.indexOf("Fire"); var OPER=navigator.userAgent.indexOf("Opera"); var bdy = (document.documentElement && document.documentElement.clientWidth)?document.documentElement:document.body; onscroll = function() { if (Fire > 0...
JavaScript
imgUrl1="data/afficheimg/20081027angsif.jpg"; imgtext1=""; imgLink1=escape("http://www.ecshop.com"); imgUrl2="data/afficheimg/20081027xuorxj.jpg"; imgtext2=""; imgLink2=escape("http://www.maifou.net/"); var pics=imgUrl1+"|"+imgUrl2; var links=imgLink1+"|"+imgLink2; var texts=imgtext1+"|"+imgtext2;
JavaScript
/* Flash Name: Dynamic Focus Description: 动感聚焦Flash图片轮播 */ document.write('<div id="flash_cycle_image"></div>'); $importjs = (function() { var uid = 0; var curr = 0; var remove = function(id) { var head = document.getElementsByTagName('head')[0]; head.removeChild( document.ge...
JavaScript
imgUrl1="data/afficheimg/20081027angsif.jpg"; imgtext1=""; imgLink1=escape("http://www.ecshop.com"); imgUrl2="data/afficheimg/20081027xuorxj.jpg"; imgtext2=""; imgLink2=escape("http://www.maifou.net/"); var pics=imgUrl1+"|"+imgUrl2; var links=imgLink1+"|"+imgLink2; var texts=imgtext1+"|"+imgtext2;
JavaScript
/* Flash Name: Pink Focus Description: 粉红聚焦Flash图片轮播 */ document.write('<div id="flash_cycle_image"></div>'); $importjs = (function() { var uid = 0; var curr = 0; var remove = function(id) { var head = document.getElementsByTagName('head')[0]; head.removeChild( document.getEl...
JavaScript
imgUrl1="data/afficheimg/20081027angsif.jpg"; imgtext1="开源/免费/强大/简便"; imgLink1=escape("http://www.ecshop.com"); imgUrl2="data/afficheimg/20081027xuorxj.jpg"; imgtext2=""; imgLink2=escape("http://www.maifou.net/"); var pics=imgUrl1+"|"+imgUrl2; var links=imgLink1+"|"+imgLink2; var texts=imgtext1+"|"+imgtext2...
JavaScript
/* Flash Name: Red Focus Description: 红色聚焦Flash图片轮播 */ document.write('<div id="flash_cycle_image"></div>'); $importjs = (function() { var uid = 0; var curr = 0; var remove = function(id) { var head = document.getElementsByTagName('head')[0]; head.removeChild( document.getEle...
JavaScript
/* Flash Name: Default Description: The default flash cycle. */ // 0xffffff:文字颜色|1:文字位置|0x0066ff:文字背景颜色|60:文字背景透明度|0xffffff:按键文字颜色|0x0066ff:按键默认颜色|0x000033:按键当前颜色|8:自动播放时间(秒)|2:图片过渡效果|1:是否显示按钮|_blank:打开窗口 var swf_config = "|2|||0xFFFFFF|0xFF6600||4|3|1|_blank" document.write('<object classid="clsid:d27cdb6e...
JavaScript
/* $Id : common.js 4824 2007-01-31 08:23:56Z paulgao $ */ /* 检查新订单的时间间隔 */ var NEW_ORDER_INTERVAL = 180000; /* * * 开始检查新订单; */ function startCheckOrder() { checkOrder() window.setInterval("checkOrder()", NEW_ORDER_INTERVAL); } /* * 检查订单 */ function checkOrder() { var lastCheckOrder = new...
JavaScript
/** * 标签上鼠标移动事件的处理函数 * @return */ document.getElementById("tabbar-div").onmouseover = function(e) { var obj = Utils.srcElement(e); if (obj.className == "tab-back") { obj.className = "tab-hover"; } } document.getElementById("tabbar-div").onmouseout = function(e) { var obj = Utils.srcEl...
JavaScript
var Todolist = Class.create(); Todolist.prototype = { initialize:function(adminid) { this.box = $ce("DIV"); this.container = $ce("DIV"); this.head = $ce("DIV"); this.buttons = $ce("DIV"); this.middle = $ce("DIV"); this.bottom = $ce("DIV"); this.bo...
JavaScript
var ColorSelecter = new Object(); ColorSelecter.Show = function(sender) { if(ColorSelecter.box) { if (ColorSelecter.box.style.display = "none") ColorSelecter.box.style.display = ""; } else { ColorSelecter.box = document.createElement("Div"); ColorSelecter.box.id = "ColorSelecter...
JavaScript
var persistclose = 0 // set to 0 or 1. 1 means once the bar is manually closed, it will remain closed for browser session var startX = 3 // set x offset of bar in pixels var startY = 3 // set y offset of bar in pixels function iecompattest() { return (document.compatMode && document.compatMode != "...
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
var SelectBox = Class.create(); SelectBox.prototype = { initialize:function (src, dst) { this.dst_options = new Array(); this.src_obj = document.getElementById(src); this.dst_obj = document.getElementById(dst); this.copy_method = (typeof (arguments[2]) != 'undefined')?true...
JavaScript
/* * * ECSHOP 表单验证类 * ============================================================================ * 版权所有 (C) 2005-2007 康盛创想(北京)科技有限公司,并保留所有权利。 * 网站地址 : http : // www.ecshop.com * ---------------------------------------------------------------------------- * 这是一个免费开源的软件;这意味着您可以在不用于商业目的的前提下对程序代码 * 进行修改和再发布...
JavaScript