code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* Drag and drop class-simple class-used by the DHTMLSuite.imageEnlarger script
*
* Created: January, 8th, 2007
*
*
* Update log:
*
*******************... | JavaScript |
/*[FILE_START:dhtmlSuite-common.js] */
/************************************************************************************************************
@fileoverview
DHTML Suite for Applications.
Copyright (C) 2006 Alf Magne Kalleland(post@dhtmlgoodies.com)<br>
<br>
This library is free software; you can redis... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* Drag and drop folder tree
*
* Created: August, 23rd, 2006
*
* Demos of this class: demo-drag-drop-folder-tree.html
*
* Update log:
*
*************... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML Text Edit Model Class
*
* Created: December, 14th, 2006
* @class Purpose of class: Data model for the textEdit class
*
* Css files used by this ... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* Drag and drop class
*
* Created: August, 18th, 2006
*
* Update log:
*
*******************************************************************************... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML Image enlarger.
*
* Created: January, 14th, 2006
* @class Purpose of class: Tool for selecting and dragging images
*
* Css files used by this sc... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML progress bar script
*
* Created: October, 21st, 2006
* @class Purpose of class: Display a progress bar while content loads or dynamic content is c... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
@fileoverview
DHTML Suite for Applications.
Copyright (C)2006 Alf Magne Kalleland(post@dhtmlgoodies.com)<br>
<br>
This library is free software; you ... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* Calendar model
*
* Created: January, 20th, 2007
* @class Purpose of class: Handle language parameters for a calendar
*
* Update log:
*
************... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML Image enlarger.
*
* Created: January, 7th, 2006
* @class Purpose of class: Enlarge an image and displays it at the center of the screen
*
* Css ... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* Data model for a pane splitter
*
* Created: November, 28th, 2006
* @class Purpose of class: Data source for the pane splitter
*
* Css files used by th... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* Table widget page handler class
*
* Created: December, 15th, 2006
* Purpose of class: Displays paginating below a server sorted table
*
* CSS used:
*
... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML menu item class
*
* Created: October, 21st, 2006
* @class Purpose of class: Creates the HTML for a single menu item.
*
* Css files used by this ... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* Color functions
*
* Created: August, 23rd, 2006
* @class Purpose of class: This class provides some methods for working with colors.
*
* Update log:
... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* listModel
*
* Created: December, 14th, 2006
* @class Purpose of class: An object storing a collection of values and texts
*
* Css files used by this s... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML modal dialog box
*
* Created: August, 26th, 2006
* @class Purpose of class: Display a modal dialog box on the screen.
*
* Css files used by this... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML window scripts
*
* Created: November, 26th, 2006
* @class Purpose of class: Store metadata about a window
*
* Css files used by this script: win... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML context menu class
*
* Created: January, 7th, 2007
* @class Purpose of class: Data sources for image gallery scripts
*
*
*
* Update log:
*
... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* Form utility classes
*
* Created: February, 22nd, 2007
* Last updated: March, 13th, 2007
* @class Purpose of class: Form utility classes
*
* Css fi... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML window scripts
*
* Created: January, 27th, 2006
* @class Purpose of class: Color palette
*
* Css files used by this script:
*
* Demos of this ... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML auto complete script
*
* Created: Jun, 06th, 2007
* @module coder: Batur Orkun (batur@bilkent.edu.tr, http:
//www.xdhtml.com)
*
* @class Purpos... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* Ajax dynamic content script
*
* Created: August, 23rd, 2006
*
*
* Update log:
*
*******************************************************************... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML dynamic tooltip script
*
* Created: August, 26th, 2006
* @class Purpose of class: Displays tooltips on screen with content from external files.
*... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML context menu class
*
* Created: November, 4th, 2006
* @class Purpose of class: Creates a context menu
*
* Css files used by this script: context... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML context menu class
*
* Created: January, 12th, 2007
* @class Purpose of class: Floating gallery widget
*
*
*
* Update log:
*
**************... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML chained selects script
*
* Created: Jun, 02th, 2007
* @module coder: Batur Orkun (batur@bilkent.edu.tr, http:
//www.xdhtml.com)
*
* @class Purpo... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML Text Edit Class
*
* Created: November, 4th, 2006
* @class Purpose of class: Make standard HTML elements editable
*
* Css files used by this scri... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML dynamic tooltip script
*
* Created: September, 26th, 2006
* @class Purpose of class: Transforms a regular div into a expandable info pane.
*
* C... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* Tab view class
*
* Created: August, 21st, 2006
*
* Update log:
*
************************************************************************************... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
*
* DHTML slider
*
* Created: August, 25th, 2006
* @class Purpose of class: Display a slider on a web page.
*
* Demos of this class: demo-slider-1.html... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite = new Object();
/************************************************************************************************************
* DHTML window scripts
*
* Created: January, 27th, 2006
* @class Purpose of class: Resize element widget
*
* Css files used by this script:
... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* Drag and drop class-simple class-used by the DHTMLSuite.imageEnlarger script
*
* Created: January, 8th, 2007
*
*
* Update log:
*
*******************... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML window scripts
*
* Created: January, 27th, 2006
* @class Purpose of class: Resize element widget
*
* Css files used by this script:
*
* Demos ... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* Ajax dynamic content script
*
* Created: August, 23rd, 2006
*
*
* Update log:
*
*******************************************************************... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML menu model item class
*
* Created: October, 30th, 2006
* @class Purpose of class: Save data about a menu item.
*
*
*
* Update log:
*
******... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML menu bar class
*
* Created: October, 21st, 2006
* @class Purpose of class: Creates a top bar menu
*
* Css files used by this script: menu-bar.cs... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML pane splitter pane
*
* Created: November, 28th, 2006
* @class Purpose of class: Creates a pane for the pane splitter ( This is a private class )
... | JavaScript |
if(!window.DHTMLSuite)var DHTMLSuite=new Object();/************************************************************************************************************
* DHTML window scripts
*
* Created: January, 27th, 2006
* @class Purpose of class: Resize element widget
*
* Css files used by this script:
*
* Demos ... | JavaScript |
tinyMCE.addI18n({es:{
common:{
edit_confirm:" \u00BFDesea utilizar el modo WYSIWYG para esta caja de texto?",
apply:"Aplicar",
insert:"Insertar",
update:"Actualizar",
cancel:"Cancelar",
close:"Cerrar",
browse:"Examinar",
class_name:"Clase",
not_set:"-- Ninguno --",
clipboard_msg:"Copiar/Cortar/Pegar no se en... | JavaScript |
tinyMCE.addI18n('es.advimage_dlg',{
tab_general:"General",
tab_appearance:"Apariencia",
tab_advanced:"Avanzado",
general:"General",
title:"T\u00EDtulo",
preview:"Vista previa",
constrain_proportions:"Bloquear relaci\u00F3n de aspecto",
langdir:"Direcci\u00F3n del lenguaje",
langcode:"C\u00F3digo del lenguaje",... | JavaScript |
tinyMCE.addI18n('es.media_dlg',{
title:"Insertar/editar medio embebido",
general:"General",
advanced:"Avanzado",
file:"Archivo/URL",
list:"Lista",
size:"Dimensiones",
preview:"Vista Previa",
constrain_proportions:"Bloquear relaci\u00F3n de aspecto",
type:"Tipo",
id:"Id",
name:"Nombre",
class_name:"Clase",
... | JavaScript |
tinyMCE.addI18n('es.advlink_dlg',{
title:"Insertar/editar hiperv\u00EDnculo",
url:"URL del hiperv\u00EDnculo",
target:"Destino",
titlefield:"T\u00EDtulo",
is_email:"La URL que ha introducido parece ser una direci\u00F3n de correo, \u00BFdesea agregar el prefijo mailto: necesario?",
is_external:"La URL que ha int... | JavaScript |
tinyMCE.addI18n('es.emotions_dlg',{
title:"Insertar emoticon",
desc:"Emoticones",
cool:"Todo bien",
cry:"Llora",
embarassed:"Verg\u00FCenza",
foot_in_mouth:"Pie en la boca",
frown:"Triste",
innocent:"Inocente",
kiss:"Beso",
laughing:"Risa",
money_mouth:"Dinero boca",
sealed:"Sellado",
smile:"Sonrisa",
sur... | JavaScript |
tinyMCE.addI18n('es.paste_dlg',{
text_title:"Use CTRL+V en su teclado para pegar el texto en la ventana.",
text_linebreaks:"Keep linebreaks",
word_title:"Use CTRL+V en su teclado para pegar el texto en la ventana."
}); | JavaScript |
tinyMCE.addI18n('es.fullpage_dlg',{
title:"Propiedades del documento",
meta_tab:"General",
appearance_tab:"Apariencia",
advanced_tab:"Avanzado",
meta_props:"Informaci\u00F3n Meta",
langprops:"Lenguaje y codificaci\u00F3n",
meta_title:"T\u00EDtulo",
meta_keywords:"Palabras clave",
meta_description:"Descripci\u0... | JavaScript |
tinyMCE.addI18n('es.advhr_dlg',{
width:"Ancho",
size:"Alto",
noshade:"Sin sombra"
}); | JavaScript |
tinyMCE.addI18n('es.xhtmlxtras_dlg',{
attribute_label_title:"T\u00EDtulo",
attribute_label_id:"ID",
attribute_label_class:"Clase",
attribute_label_style:"Estilo",
attribute_label_cite:"Cita",
attribute_label_datetime:"Fecha/Hora",
attribute_label_langdir:"Direcci\u00F3n de texto",
attribute_option_ltr:"Izquierd... | JavaScript |
tinyMCE.addI18n('es.template_dlg',{
title:"Plantillas",
label:"Plantilla",
desc_label:"Descripci\u00F3n",
desc:"Insertar contenido de plantilla predefinida",
select:"Elegir plantilla",
preview:"Vista previa",
warning:"Cuidado: Actualizar una plantilla con otra puede causar p\u00E9rdida de datos.",
mdate_format:... | JavaScript |
tinyMCE.addI18n('es.table_dlg',{
general_tab:"General",
advanced_tab:"Avanzado",
general_props:"Propiedades generales",
advanced_props:"Propiedades avanzadas",
rowtype:"Tipo de fila",
title:"Insertar/Modificar tabla",
width:"Ancho",
height:"Alto",
cols:"Cols",
rows:"Filas",
cellspacing:"Espaciado de celda",
... | JavaScript |
tinyMCE.addI18n('es.style_dlg',{
title:"Editar Estilo CSS",
apply:"Aplicar",
text_tab:"Texto",
background_tab:"Fondo",
block_tab:"Bloque",
box_tab:"Caja",
border_tab:"Borde",
list_tab:"Lista",
positioning_tab:"Posici\u00F3n",
text_props:"Texto",
text_font:"Fuente",
text_size:"Tama\u00F1o",
text_weight:"Pes... | JavaScript |
tinyMCE.addI18n('es.searchreplace_dlg',{
searchnext_desc:"Buscar de nuevo",
notfound:"La b\u00FAsqueda se ha completado. No se encontr\u00F3 el texto introducido.",
search_title:"Buscar",
replace_title:"Buscar/Reemplazar",
allreplaced:"Se ha reemplazado el texto.",
findwhat:"Qu\u00E9 buscar",
replacewith:"Reempl... | JavaScript |
tinyMCE.addI18n('es.simple',{
bold_desc:"Negrita (Ctrl+B)",
italic_desc:"Cursiva (Ctrl+I)",
underline_desc:"Subrayado (Ctrl+U)",
striketrough_desc:"Tachado",
bullist_desc:"Lista desordenada",
numlist_desc:"Lista ordenada",
undo_desc:"Deshacer (Ctrl+Z)",
redo_desc:"Rehacer (Ctrl+Y)",
cleanup_desc:"Limpiar c\u00... | JavaScript |
tinyMCE.addI18n('es.advanced_dlg',{
about_title:"Acerca de TinyMCE",
about_general:"Acerca de ",
about_help:"Ayuda",
about_license:"Licencia",
about_plugins:"Complementos",
about_plugin:"Complemento",
about_author:"Autor",
about_version:"Versi\u00F3n",
about_loaded:"Complementos cargados",
anchor_title:"Inser... | JavaScript |
tinyMCE.addI18n('es.advanced',{
style_select:"Estilos",
font_size:"Tama\u00F1o",
fontdefault:"Fuente",
block:"Formato",
paragraph:"P\u00E1rrafo",
div:"Div",
address:"Direcci\u00F3n",
pre:"Preformateado",
h1:"Encabezado 1",
h2:"Encabezado 2",
h3:"Encabezado 3",
h4:"Encabezado 4",
h5:"Encabezado 5",
h6:"Enc... | JavaScript |
// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
// There images will be displayed as a dropdown in all image dialogs if the "external_link_image_url"
// option is defined in TinyMCE init.
var tinyMCEImageList = new Array(
// Name, URL
["Logo 1", "media/logo.jpg"],
... | JavaScript |
// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
// There templates will be displayed as a dropdown in all media dialog if the "template_external_list_url"
// option is defined in TinyMCE init.
var tinyMCETemplateList = [
// Name, URL, Description
["Simple snippet", "... | JavaScript |
// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
// There links will be displayed as a dropdown in all link dialogs if the "external_link_list_url"
// option is defined in TinyMCE init.
var tinyMCELinkList = new Array(
// Name, URL
["Moxiecode", "http://www.moxiecode.... | JavaScript |
// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
// There flash movies will be displayed as a dropdown in all media dialog if the "media_external_list_url"
// option is defined in TinyMCE init.
var tinyMCEMediaList = [
// Name, URL
["Some Flash", "media/sample.swf"],
... | JavaScript |
function myFunction()
{
alert('Congratulations!\n You have successfully included the\n myExternalFunction.js without reloading the page.');
} | JavaScript |
try {
if (undefined == iframe.code) {
iframe.code = {}
}
} catch (e) {
iframe = {}
iframe.code = {}
} finally {
parent.iframe = iframe;
}
xajax.request( { xjxcls: 'clsfunctions', xjxmthd: 'confirm' }, { parameters: [2] } );
iframe.code.loaded = false;
// simulate a 4 second delay in loading the... | JavaScript |
/*
File: xajax_legacy.js
Provides support for legacy scripts that have not been updated to the
latest syntax.
Title: xajax legacy support module
Please see <copyright.inc.php> for a detailed description, copyright
and license information.
*/
/*
@package xajax
@version $Id: xajax_legacy_uncompressed.php 3... | JavaScript |
try{if('undefined'==typeof xajax)
throw{name:'SequenceError',message:'Error: xajax core was not detected, legacy module disabled.'}
if('undefined'==typeof xajax.legacy)
xajax.legacy={}
xajax.legacy.call=xajax.call;xajax.call=function(sFunction,objParameters){var oOpt={}
oOpt.parameters=objParameters;if(undefined!=xaja... | JavaScript |
xajax.debug.text = [];
xajax.debug.text[100] = 'ATTENTION : ';
xajax.debug.text[101] = 'ERREUR : ';
xajax.debug.text[102] = 'MESSAGE DE DEBUG XAJAX :\n';
xajax.debug.text[103] = '...\n[R�PONSE LONGUE]\n...';
xajax.debug.text[104] = 'ENVOI DE LA REQU�TE';
xajax.debug.text[105] = 'ENVOY� [';
xajax.debug.text[106]... | JavaScript |
/**
* translation for: xajax v.x.x
* @version: 1.0.0
* @author: mic <info@joomx.com>
* @copyright xajax project
* @license GNU/GPL
* @package xajax x.x.x
* @since v.x.x.x
* save as UTF-8
*/
if ('undefined' != typeof xajax.debug) {
xajax.debug.text = [];
xajax.debug.text[100] = 'IKAZ: ';
xajax.debug.text[... | JavaScript |
if('undefined'==typeof xajax)
xajax={};if('undefined'==typeof xajax.config)
xajax.config={};xajax.config.setDefault=function(option,defaultValue){if('undefined'==typeof xajax.config[option])
xajax.config[option]=defaultValue;}
xajax.config.setDefault('commonHeaders',{'If-Modified-Since':'Sat, 1 Jan 2000 00:00:00 GMT'
... | JavaScript |
/*
File: xajax_verbose.js
The xajax verbose debugging module. This is an optional module, include in
your project with care. :)
Title: xajax verbose debugging module
Please see <copyright.inc.php> for a detailed description, copyright
and license information.
*/
/*
@package xajax
@version $Id: xajax_ver... | JavaScript |
/*
File: xajax_debug.js
This optional file contains the debugging module for use with xajax. If
you include this module after the standard <xajax_core.js> module, you
will receive debugging messages, including errors, that occur during
the processing of your xajax requests.
Title: xajax debugging module
P... | JavaScript |
/*
File: xajax_core.js
This file contains the definition of the main xajax javascript core.
This is the client side code which runs on the web browser or similar
web enabled application. Include this in the HEAD of each page for
which you wish to use xajax.
Title: xajax core javascript library
Please s... | JavaScript |
/**
* translation for: xajax v.x.x
* @version: 1.0.0
* @author: mic <info@joomx.com>
* @copyright xajax project
* @license GNU/GPL
* @package xajax x.x.x
* @since v.x.x.x
* save as UTF-8
*/
if ('undefined' != typeof xajax.debug) {
/*
Array: text
*/
xajax.debug.text = [];
xajax.debug.text[100] = 'ALERT... | JavaScript |
/**
* translation for: xajax v.x.x
* @version: 1.0.0
* @author: mic <info@joomx.com>
* @copyright xajax project
* @license GNU/GPL
* @package xajax x.x.x
* @since v.x.x.x
* save as UTF-8
*/
if ('undefined' != typeof xajax.debug) {
/*
Array: text
*/
xajax.debug.text = [];
xajax.debug.text[100] = 'ПРЕДУПР... | JavaScript |
/**
* translation for: xajax v.x.x
* @version: 1.0.0
* @author: jeffrey <walkingsoul@gmail.com>
* @copyright xajax project
* @license GNU/GPL
* @package xajax x.x.x
* @since v.x.x.x
* save as UTF-8
*/
if ('undefined' != typeof xajax.debug) {
/*
Array: text
*/
xajax.debug.text = [];
xajax.debug.text[100]... | JavaScript |
/**
* translation for: xajax v.x.x
* @version: 1.0.0
* @author: mic <info@joomx.com>
* @copyright xajax project
* @license GNU/GPL
* @package xajax x.x.x
* @since v.x.x.x
* save as UTF-8
*/
if ('undefined' != typeof xajax.debug) {
/*
Array: text
*/
xajax.debug.text = [];
xajax.debug.text[100] = 'WARNUNG... | JavaScript |
// if xajax has not yet been initialized, wait a second and try again
// once xajax has been initialized, then install the table command
// handlers.
installTableUpdater = function() {
var xjxReady = false;
try {
if (xajax) xjxReady = true;
} catch (e) {
}
if (false == xjxReady) {
setTimeout('installTableUp... | JavaScript |
var artSite = {};
$(document).ready(function() {
artSite.shows = $(".slideshow");
artSite.sections = $(".section");
for(var k = 0; k < artSite.shows.length; k++) {
var active = $("#" + artSite.sections[k].id);
$("#" + artSite.shows[k].id).hide();
$("#" + artSite.shows[k].id + " > div:gt(0)").hide();... | JavaScript |
// usage: log('inside coolFunc', this, arguments);
// paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/
window.log = function f(){ log.history = log.history || []; log.history.push(arguments); if(this.console) { var args = arguments, newarr; args.callee = args.callee.caller; newarr = [].slice.call(args); if ... | JavaScript |
/* Author:
*/
| JavaScript |
/**
* Functions used in Setup configuration forms
*/
// show this window in top frame
if (top != self) {
window.top.location.href = location;
}
// ------------------------------------------------------------------
// Messages
//
// stores hidden message ids
var hiddenMessages = [];
$(function() {
var hidd... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @fileoverview JavaScript functions used on tbl_select.php
*
* @requires jQuery
* @requires js/functions.js
*/
/**
* Ajax event handlers for this page
*
* Actions ajaxified here:
* Table Search
*/
$(document).ready(function() {
/**
* Set a parame... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* common functions used for communicating between main, navigation and querywindow
*
*/
/**
* holds the browser query window
*/
var querywindow = '';
/**
* holds the query to be load from a new query window
*/
var query_to_load = '';
/**
* attach a function to ob... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @fileoverview JavaScript functions used on Database Search page
* @name Database Search
*
* @requires jQuery
* @requires js/functions.js
*/
/**
* AJAX script for the Database Search page.
*
* Actions ajaxified here:
* Retrieve result of SQL ... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Functions used in the import tab
*
*/
/**
* Toggles the hiding and showing of each plugin's options
* according to the currently selected plugin from the dropdown list
*/
function changePluginOpts() {
$(".format_specific_options").each(function() {
$(... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* function used for index manipulation pages
*
*/
/**
* Ensures indexes names are valid according to their type and, for a primary
* key, lock index name to 'PRIMARY'
*
* @return boolean false if there is no index form, true else
*/
function checkIndexName()
{
... | JavaScript |
/**
* Allows moving around inputs/select by Ctrl+arrows
*
* @param object event data
*/
function onKeyDownArrowsHandler(e) {
e = e||window.event;
var o = (e.srcElement||e.target);
if (!o) return;
if (o.tagName != "TEXTAREA" && o.tagName != "INPUT" && o.tagName != "SELECT") return;
if (na... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* function used in or for navigation frame
*/
/**
* init
*/
var today = new Date();
var expires = new Date(today.getTime() + (56 * 86400000));
var pma_navi_width;
var pma_saveframesize_timeout = null;
/**
* opens/closes (hides/shows) tree elements
*
* @param stri... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* general function, usally for data manipulation pages
*
*/
/**
* @var sql_box_locked lock for the sqlbox textarea in the querybox/querywindow
*/
var sql_box_locked = false;
/**
* @var array holds elements which content should only selected once
*/
var only_once_el... | JavaScript |
/**************************************************
* dom-drag.js
* 09.25.2001
* www.youngpup.net
**************************************************
* Copyright 2001, Aaron Boodman
* This code is public domain. Please use it for good, not evil.
**************************************************
* 10.28.2001 - f... | JavaScript |
/**
* Holds the definition and the creation of the imageMap object
* @author Martynas Mickevicius <mmartynas@gmail.com>
* @package phpMyAdmin
*/
/**
* responsible for showing tooltips above the image chart
*/
var imageMap = {
'mouseMoved': function(event, cont) {
// return if no imageMap set
... | JavaScript |
function PMA_queryAutoCommit()
{
document.getElementById('sqlqueryform').target = window.opener.frame_content.name;
document.getElementById('sqlqueryform').submit();
return;
}
function PMA_querywindowCommit(tab)
{
document.getElementById('hiddenqueryform').querydisplay_tab.value = tab;
document.get... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @fileoverview function used in table data manipulation pages
*
* @requires jQuery
* @requires jQueryUI
* @requires js/functions.js
*
*/
/**
* Modify form controls when the "NULL" checkbox is checked
*
* @param theType string the MySQL field ... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* for server_synchronize.php
*
*/
// Global variable row_class is set to even
var row_class = 'even';
/**
* Generates a row dynamically in the differences table displaying
* the complete statistics of difference in table like number of
* rows to be updated, number of... | JavaScript |
/**
* sprintf and vsprintf for jQuery
* somewhat based on http://jan.moesen.nu/code/javascript/sprintf-and-printf-in-javascript/
*
* Copyright (c) 2008 Sabin Iacob (m0n5t3r) <iacobs@m0n5t3r.info>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public ... | JavaScript |
/*
* jQuery JSON Plugin
* version: 2.1 (2009-08-14)
*
* This document is licensed as free software under the terms of the
* MIT License: http://www.opensource.org/licenses/mit-license.php
*
* Brantley Harris wrote this plugin. It is based somewhat on the JSON.org
* website's http://www.json.org/json2.js, which... | JavaScript |
/**
* Functions used in configuration forms and on user preferences pages
*/
// default values for fields
var defaultValues = {};
// language strings
var PMA_messages = {};
/**
* Returns field type
*
* @param {Element} field
*/
function getFieldType(field) {
field = $(field);
var tagName = field.attr('tag... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @fileoverview functions used on the database structure page
* @name Database Structure
*
* @requires jQuery
* @requires jQueryUI
* @required js/functions.js
*/
/**
* AJAX scripts for db_structure.php
*
* Actions ajaxified here:
* Drop D... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @fileoverview functions used on the table structure page
* @name Table Structure
*
* @requires jQuery
* @requires jQueryUI
* @required js/functions.js
*/
/**
* AJAX scripts for tbl_structure.php
*
* Actions ajaxified here:
* Drop Column
... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @fileoverview functions used wherever an sql query form is used
*
* @requires jQuery
* @requires js/functions.js
*
*/
var $data_a;
/**
* decode a string URL_encoded
*
* @param string str
* @return string the URL-decoded string
*/
function PMA_urldeco... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* @fileoverview function used in server privilege pages
* @name Database Operations
*
* @requires jQuery
* @requires jQueryUI
* @requires js/functions.js
*
*/
/**
* Ajax event handlers here for db_operations.php
*
* Actions Ajaxified here:... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Functions used in the export tab
*
*/
/**
* Toggles the hiding and showing of each plugin's options
* according to the currently selected plugin from the dropdown list
*/
$(document).ready(function() {
$("#plugins").change(function() {
$(".format_... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* for server_replication.php
*
*/
var random_server_id = Math.floor(Math.random() * 10000000);
var conf_prefix = "server-id=" + random_server_id + "<br />log-bin=mysql-bin<br />log-error=mysql-bin.err<br />";
function update_config() {
var conf_ignore = "binlog_ig... | JavaScript |
/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* for tbl_relation.php
*
*/
function show_hide_clauses(thisDropdown) {
// here, one span contains the label and the clause dropdown
// and we have one span for ON DELETE and one for ON UPDATE
//
if (thisDropdown.val() != '') {
thisDropdown.parent... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.