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','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','sk',{devTools:{title:'Informácie o prvku',dialogName:'Názov okna dialógu',tabName:'Názov záložky',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','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
*/
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.... | 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
*/
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.... | 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-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html 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('videoforpc',{requires:['iframedialog'],init:function(a){var b=300,c=660;CKEDITOR.dialog.addIframe('MyVideoDialog','从视频库插入视频','index.php?m=video&c=... | JavaScript |
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.... | JavaScript |
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.... | 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-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.... | JavaScript |
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/*
Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.... | JavaScript |
$(document).ready(function() {
$("#q").suggest("?m=search&c=index&a=public_get_suggest_keyword&url="+encodeURIComponent('http://www.google.cn/complete/search?hl=zh-CN&q='+$("#q").val()), {
onSelect: function() {
alert(this.value);
}
});
});
var google={
ac:{
h:... | JavaScript |
$(document).ready(function(){
//获取锚点即当前图片id
var picid = location.hash;
picid = picid.substring(1);
if(isNaN(picid) || picid=='' || picid==null) {
picid = 1;
}
picid = parseInt(picid);
//图集图片总数
var totalnum = $("#pictureurls li").length;
//如果当前图片id大于图片数,显示第一张图片
if(picid > totalnum || picid < 1) ... | JavaScript |
var regexEnum =
{
intege:"^-?[1-9]\\d*$", //整数
intege1:"^[1-9]\\d*$", //正整数
intege2:"^-[1-9]\\d*$", //负整数
num:"^([+-]?)\\d*\\.?\\d+$", //数字
num1:"^[1-9]\\d*|0$", //正数(正整数 + 0)
num2:"^-[1-9]\\d*|0$", //负数(负整数 + 0)
decmal:"^([+-]?)\\d*\\.\\d+$", //浮点数
decmal1:"^[1-9]\\d*.\\d*|0.\... | JavaScript |
$(document).ready(function(){
//获取锚点即当前图片id
//var picid = location.hash;
//picid = picid.substring(1);
if(isNaN(picid) || picid=='' || picid==null) {
picid = 1;
}
picid = parseInt(picid);
//图集图片总数
var totalnum = $("#pictureurls l... | JavaScript |
/*!
* artDialog 4.1.6
* Date: 2012-07-16 22:57
* http://code.google.com/p/artdialog/
* (c) 2009-2012 TangBin, http://www.planeArt.cn
*
* This is licensed under the GNU LGPL, version 2.1 or later.
* For details, see: http://creativecommons.org/licenses/LGPL/2.1/
*/
;(function (window, undefined) {
/... | JavaScript |
var phpcms_path = '/';
var cookie_pre = 'sYQDUGqqzH';
var cookie_domain = '';
var cookie_path = '/';
function getcookie(name) {
name = cookie_pre+name;
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while(i < clen) {
var j = i + alen;
if(document.cook... | JavaScript |
var ColorHex=new Array('00','33','66','99','CC','FF')
var SpColorHex=new Array('FF0000','00FF00','0000FF','FFFF00','00FFFF','FF00FF')
var current=null
var colorTable=''
function colorpicker(showid,fun) {
for (i=0;i<2;i++) {
for (j=0;j<6;j++) {
colorTable=colorTable+'<tr height=12>'
colorTable=colorTab... | JavaScript |
/*! SWFObject v2.2 <http://code.google.com/p/swfobject/>
is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
*/
var swfobject = function() {
var UNDEF = "undefined",
OBJECT = "object",
SHOCKWAVE_FLASH = "Shockwave Flash",
SHOCKWAVE_FLASH_AX = "ShockwaveFlash.ShockwaveFlas... | JavaScript |
function checkradio(radio)
{
var result = false;
for(var i=0; i<radio.length; i++)
{
if(radio[i].checked)
{
result = true;
break;
}
}
return result;
}
function checkselect(select)
{
var result = false;
for(var i=0;i<select.length;i++)
{
if(select[i].selected && select[i].val... | JavaScript |
jQuery.cookie = function(name, value, options) {
if (typeof value != 'undefined') { // name and value given, set cookie
options = options || {};
if (value === null) {
value = '';
options.expires = -1;
}
var expires = '';
if (options.expires && (typeof ... | JavaScript |
/*
*改变加入清单的图片事件和图片显示
*/
function ChangStatus(){
var player_list ;
var list_array= new Array();
player_list = getcookie('player_list');
if(player_list!=""){
list_array = player_list.split("|");
if(list_array.length>0){
for(var i=0;i<list_array.length;i++) {
var player;
player=list_array[... | JavaScript |
/*
* sGallery 1.0 - simple gallery with jQuery
* made by bujichong 2009-11-25
* 作者:不羁虫 2009-11-25
* http://hi.baidu.com/bujichong/
* 欢迎交流转载,但请尊重作者劳动成果,标明插件来源及作者
*/
(function ($) {
$.fn.sGallery = function (o) {
return new $sG(this, o);
//alert('do');
};
var settings = {
thumbObj:n... | JavaScript |
//方法
function strToJson(str){
var json = eval('(' + str + ')');
return json;
}
function showAuto()
{
n = n >=(count - 1) ? 0 : ++n;
$("#banner li").eq(n).trigger('click');
}
function hit_love(catid,id,hid)
{
var hid = hid ? hid : '#number_';
var n = 2;n++;
$(hid+id).html(n... | JavaScript |
/**
* FusionCharts Free: Flash Player detection and Chart embed
*
* Morphed from SWFObject (http://blog.deconcept.com/swfobject/) under MIT License:
* http://www.opensource.org/licenses/mit-license.php
*
*/
if(typeof infosoftglobal == "undefined") var infosoftglobal = new Object();
if(typeof infosoftglo... | JavaScript |
var regexEnum =
{
intege:"^-?[1-9]\\d*$", //整数
intege1:"^[1-9]\\d*$", //正整数
intege2:"^-[1-9]\\d*$", //负整数
num:"^([+-]?)\\d*\\.?\\d+$", //数字
num1:"^[1-9]\\d*|0$", //正数(正整数 + 0)
num2:"^-[1-9]\\d*|0$", //负数(负整数 + 0)
decmal:"^([+-]?)\\d*\\.\\d+$", //浮点数
decmal1:"^[1-9]\\d*.\\d*|0.\... | JavaScript |
/**
* Move a block in the blocks table from one region to another via select list.
*
* This behavior is dependent on the tableDrag behavior, since it uses the
* objects initialized in that behavior to update the row.
*/
Drupal.behaviors.termDrag = function(context) {
var table = $('#taxonomy', context);
var t... | JavaScript |
/**
* Attach handlers to evaluate the strength of any password fields and to check
* that its confirmation is correct.
*/
Drupal.behaviors.password = function(context) {
var translate = Drupal.settings.password;
$("input.password-field:not(.password-processed)", context).each(function() {
var passwordInput ... | JavaScript |
Drupal.behaviors.comment = function (context) {
var parts = new Array("name", "homepage", "mail");
var cookie = '';
for (i=0;i<3;i++) {
cookie = Drupal.comment.getCookie('comment_info_' + parts[i]);
if (cookie != '') {
$("#comment-form input[name=" + parts[i] + "]:not(.comment-processed)", context)... | JavaScript |
Drupal.behaviors.openid = function (context) {
var $loginElements = $("#edit-name-wrapper, #edit-pass-wrapper, li.openid-link");
var $openidElements = $("#edit-openid-identifier-wrapper, li.user-link");
// This behavior attaches by ID, so is only valid once on a page.
if (!$("#edit-openid-identifier.openid-pr... | JavaScript |
/**
* Internal function to check using Ajax if clean URLs can be enabled on the
* settings page.
*
* This function is not used to verify whether or not clean URLs
* are currently enabled.
*/
Drupal.behaviors.cleanURLsSettingsCheck = function(context) {
// This behavior attaches by ID, so is only valid once on ... | JavaScript |
/**
* Add functionality to the profile drag and drop table.
*
* This behavior is dependent on the tableDrag behavior, since it uses the
* objects initialized in that behavior to update the row. It shows and hides
* a warning message when removing the last field from a profile category.
*/
Drupal.behaviors.profil... | JavaScript |
Drupal.behaviors.color = function (context) {
// This behavior attaches by ID, so is only valid once on a page.
if ($('#color_scheme_form .color-form.color-processed').size()) {
return;
}
var form = $('#color_scheme_form .color-form', context);
var inputs = [];
var hooks = [];
var locks = [];
var f... | JavaScript |
/**
* Move a block in the blocks table from one region to another via select list.
*
* This behavior is dependent on the tableDrag behavior, since it uses the
* objects initialized in that behavior to update the row.
*/
Drupal.behaviors.blockDrag = function(context) {
var table = $('table#blocks');
var tableD... | JavaScript |
Drupal.tableHeaderDoScroll = function() {
if (typeof(Drupal.tableHeaderOnScroll)=='function') {
Drupal.tableHeaderOnScroll();
}
};
Drupal.behaviors.tableHeader = function (context) {
// This breaks in anything less than IE 7. Prevent it from running.
if (jQuery.browser.msie && parseInt(jQuery.browser.vers... | JavaScript |
/**
* Drag and drop table rows with field manipulation.
*
* Using the drupal_add_tabledrag() function, any table with weights or parent
* relationships may be made into draggable tables. Columns containing a field
* may optionally be hidden, providing a better user experience.
*
* Created tableDrag instances ma... | JavaScript |
Drupal.behaviors.textarea = function(context) {
$('textarea.resizable:not(.textarea-processed)', context).each(function() {
// Avoid non-processed teasers.
if ($(this).is(('textarea.teaser:not(.teaser-processed)'))) {
return false;
}
var textarea = $(this).addClass('textarea-processed'), stat... | JavaScript |
/**
* Toggle the visibility of a fieldset using smooth animations
*/
Drupal.toggleFieldset = function(fieldset) {
if ($(fieldset).is('.collapsed')) {
// Action div containers are processed separately because of a IE bug
// that alters the default submit button behavior.
var content = $('> div:not(.acti... | JavaScript |
/**
* Auto-attach for teaser behavior.
*
* Note: depends on resizable textareas.
*/
Drupal.behaviors.teaser = function(context) {
// This breaks in Konqueror. Prevent it from running.
if (/KDE/.test(navigator.vendor)) {
return;
}
$('textarea.teaser:not(.teaser-processed)', context).each(function() {
... | JavaScript |
/**
* Attaches the batch behavior to progress bars.
*/
Drupal.behaviors.batch = function (context) {
// This behavior attaches by ID, so is only valid once on a page.
if ($('#progress.batch-processed').size()) {
return;
}
$('#progress', context).addClass('batch-processed').each(function () {
var hold... | JavaScript |
// Farbtastic 1.2
jQuery.fn.farbtastic = function (callback) {
$.farbtastic(this, callback);
return this;
};
jQuery.farbtastic = function (container, callback) {
var container = $(container).get(0);
return container.farbtastic || (container.farbtastic = new jQuery._farbtastic(container, callback));
};
jQuery... | JavaScript |
/**
* Provides AJAX-like page updating via AHAH (Asynchronous HTML and HTTP).
*
* AHAH is a method of making a request via Javascript while viewing an HTML
* page. The request returns a small chunk of HTML, which is then directly
* injected into the page.
*
* Drupal uses this file to enhance form elements with ... | JavaScript |
Drupal.behaviors.multiselectSelector = function() {
// Automatically selects the right radio button in a multiselect control.
$('.multiselect select:not(.multiselectSelector-processed)')
.addClass('multiselectSelector-processed').change(function() {
$('.multiselect input:radio[value="'+ this.id.substr(5)... | JavaScript |
var Drupal = Drupal || { 'settings': {}, 'behaviors': {}, 'themes': {}, 'locale': {} };
/**
* Set the variable that indicates if JavaScript behaviors should be applied
*/
Drupal.jsEnabled = document.getElementsByTagName && document.createElement && document.createTextNode && document.documentElement && document.get... | JavaScript |
/**
* Attaches the autocomplete behavior to all required fields
*/
Drupal.behaviors.autocomplete = function (context) {
var acdb = [];
$('input.autocomplete:not(.autocomplete-processed)', context).each(function () {
var uri = this.value;
if (!acdb[uri]) {
acdb[uri] = new Drupal.ACDB(uri);
}
... | JavaScript |
/**
* A progressbar object. Initialized with the given id. Must be inserted into
* the DOM afterwards through progressBar.element.
*
* method is the function which will perform the HTTP request to get the
* progress bar state. Either "GET" or "POST".
*
* e.g. pb = new progressBar('myProgressBar');
* some_... | JavaScript |
Drupal.behaviors.tableSelect = function (context) {
$('form table:has(th.select-all):not(.tableSelect-processed)', context).each(Drupal.tableSelect);
};
Drupal.tableSelect = function() {
// Do not add a "Select all" checkbox if there are no rows with checkboxes in the table
if ($('td input:checkbox', this).size... | JavaScript |
/**//**//**//**//**//**//*
** ==================================================================================================
** 类名:1k.js
** 版本:1.0
** 功能:js类库
** 示例:
---------------------------------------------------------------------------------------------------
文档:http://www.1kjs.com/... | JavaScript |
// ==ClosureCompiler==
// @compilation_level ADVANCED_OPTIMIZATIONS
// @externs_url http://closure-compiler.googlecode.com/svn/trunk/contrib/externs/maps/google_maps_api_v3_3.js
// ==/ClosureCompiler==
/**
* @name MarkerClusterer for Google Maps v3
* @version version 1.0
* @author Luke Mahe
* @fileoverview
* The ... | JavaScript |
// JavaScript Document
//<![CDATA[
// Latitude and Longitude math routines are from: http://www.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html
var map = null;
var geocoder = null;
var latsgn = 1;
var lgsgn = 1;
var zm = 0;
var marker = null;
var posset = 0;
function xz() {
if (GBrowserIsCompatible()) {
m... | JavaScript |
function MapTypeControl(opt_opts) {
this.options = opt_opts || {};
}
MapTypeControl.prototype = new GControl();
MapTypeControl.prototype.initialize = function(map) {
var container = document.createElement("div");
var me = this;
var mapDiv = me.createButton_("Map");
var satDiv = me.createButton_("S... | JavaScript |
// set area's id to hidden field(id:school_area_id)
function select_area(dom_id, id, title, notice_msg) {
$(dom_id).val(id);
var notice = $('#areas-list-notice');
notice.html(notice_msg + title)
$('#area-title').html(title);
school_title_input = $('#school_title');
school_title_input.val(title + school_ti... | JavaScript |
/*
* jQuery Form Plugin
* version: 2.12 (06/07/2008)
* @requires jQuery v1.2.2 or later
*
* Examples and documentation at: http://malsup.com/jquery/form/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
... | JavaScript |
/*
* Thickbox 3.1 - One Box To Rule Them All.
* By Cody Lindley (http://www.codylindley.com)
* Copyright (c) 2007 cody lindley
* Licensed under the MIT License: http://www.opensource.org/licenses/mit-license.php
*/
var tb_pathToImage = "/images/loadingAnimation.gif";
/*!!!!!!!!!!!!!!!!! edit below this line a... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Cannot delete Asset Base Folder.":return "\u4e0d\u80fd\u5220\u9664\u6b64\u8d44\u6599\u5939 .";
case "Delete this file ?":return "\u5220\u9664\u6b64\u6863\u6848 ?";
case "Uploading...":return "\u4e0a\u8f7d\u4e2d ...";
case "File already exists. Do you want to re... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Folder deleted.": return "\u8d44\u6599\u5939\u5df1\u5220\u9664 .";
case "Folder does not exist.": return "\u8d44\u6599\u5939\u4e0d\u5b58\u5728 .";
case "Cannot delete Asset Base Folder.": return "\u4e0d\u80fd\u5220\u9664\u6b64\u8d44\u6599\u5939 .";
... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Folder already exists.": return "\u8d44\u6599\u5939\u5df2\u5b58\u5728 .";
case "Folder created.": return "\u8d44\u6599\u5939\u5df1\u5efa\u7acb .";
case "Invalid input.": return "\u8f93\u5165\u4e0d\u6b63\u786e .";
}
}
function loadTxt()
{
document.getE... | JavaScript |
function loadTxt()
{
document.getElementById("txtLang").innerHTML = "\u786e\u5b9a\u5220\u9664\u6b64\u8d44\u6599\u5939 ?";
document.getElementById("btnClose").value = "\u5173\u95ed ";
document.getElementById("btnDelete").value = "\u5220\u9664 ";
}
function writeTitle()
{
document.write("<title>... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Cannot delete Asset Base Folder.":return "Der Hauptordner kann nicht gel\u00F6scht werden.";
case "Delete this file ?":return "Soll diese Datei gel\u00F6scht werden ?";
case "Uploading...":return "Es wird hochgeladen...";
case "File already ... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Folder deleted.": return "Ordner gelöscht.";
case "Folder does not exist.": return "Ordner existiert nicht.";
case "Cannot delete Asset Base Folder.": return "Der Basisordner kann nicht gelöscht werden.";
}
}
function loadTxt()
... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Folder already exists.": return "Der Ordner existiert bereits.";
case "Folder created.": return "Ordner wurde angelegt.";
case "Invalid input.":return "Falsche Eingabe";
}
}
function loadTxt()
{
document.getElementById("tx... | JavaScript |
function loadTxt()
{
document.getElementById("txtLang").innerHTML = "Wollen Sie diesen Ordner wirklich l\u00F6schen?";
document.getElementById("btnClose").value = "schlie\u00DFen";
document.getElementById("btnDelete").value = "l\u00F6schen";
}
function writeTitle()
{
document.write... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Cannot delete Asset Base Folder.":return "No se puede borrar la carpeta raiz.";
case "Delete this file ?":return "Borrar el archivo?";
case "Uploading...":return "Subiendo el archivo...";
case "File already exists. Do you want... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Folder deleted.": return "Carpeta borrada.";
case "Folder does not exist.": return "La carpeta no existe.";
case "Cannot delete Asset Base Folder.": return "No se puede borrar la carpeta.";
}
}
function loadTxt()
{
document.getElem... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Folder already exists.": return "La carpeta ya existe.";
case "Folder created.": return "Carpeta creada.";
case "Invalid input.":return "Nombre no valido.";
}
}
function loadTxt()
{
document.getElementById("txtLang").inner... | JavaScript |
function loadTxt()
{
document.getElementById("txtLang").innerHTML = "Est\u00E1 seguro que quiere borrar la carpeta?";
document.getElementById("btnClose").value = "Cerrar";
document.getElementById("btnDelete").value = "Borrar";
}
function writeTitle()
{
document.write("<title>Borrar... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Cannot delete Asset Base Folder.":return "Du kan ikke slette fil rodmappen.";
case "Delete this file ?":return "Vil du slette filen ?";
case "Uploading...":return "Oploader...";//or "Sender..."
case "File already exists. Do you w... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Folder deleted.": return "Mappen er slettet.";
case "Folder does not exist.": return "Mappen eksisterer ikke.";
case "Cannot delete Asset Base Folder.": return "Rodmappen kan ikke slettes.";
}
}
function loadTxt()
{
document.getEle... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Folder already exists.": return "Mappen eksisterer allerede.";
case "Folder created.": return "Mappen er oprettet.";
case "Invalid input.": return "Indtastningen indeholder ugyldige karakterer.";
}
}
function loadTxt()
{
documen... | JavaScript |
function loadTxt()
{
document.getElementById("txtLang").innerHTML = "Vil du slette denne mappe?";
document.getElementById("btnClose").value = "Annuler";
document.getElementById("btnDelete").value = "Slet";
}
function writeTitle()
{
document.write("<title>Slet mappe</title>")
}... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Cannot delete Asset Base Folder.":return "Impossible d'effacer le r\u00E9pertoire racine.";
case "Delete this file ?":return "Voulez vous effacer ce fichier ?";
case "Uploading...":return "publication en cours...";
case "File ... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Folder deleted.": return "Répertoire effacé.";
case "Folder does not exist.": return "Le répertoire n'existe pas.";
case "Cannot delete Asset Base Folder.": return "Impossible d'effacer le répertoire racine.";
}
}
... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Folder already exists.": return "Le répertoire existe déjà.";
case "Folder created.": return "Le répertoire a été créé";
case "Invalid input.":return "La valeur entr\u00E9e ne convient pas.";... | JavaScript |
function loadTxt()
{
document.getElementById("txtLang").innerHTML = "Etes vous sur de vouloir effacer ce r\u00E9pertoire ?";
document.getElementById("btnClose").value = "fermer";
document.getElementById("btnDelete").value = "effacer";
}
function writeTitle()
{
document.write("<titl... | JavaScript |
function getTxt(s)
{
switch(s)
{
case "Cannot delete Asset Base Folder.":return "Cannot delete Asset Base Folder.";
case "Delete this file ?":return "Delete this file ?";
case "Uploading...":return "Uploading...";
case "File already exists. Do you want to replace it?":return "File already exists. Do ... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.