code
stringlengths
1
2.08M
language
stringclasses
1 value
dojo.require("dojo.data.ItemFileReadStore"); dojo.require("dijit.form.FilteringSelect"); dojo.require("dijit.form.Form"); dojo.require("dojo.parser"); /* * Removes one row or items */ var removeThisRow = function() { //Removes the TR node using the removeThisRowButtonId buttonElementId = this.id; p...
JavaScript
/** * Get the billing and shipping addresses of the account * Using the account_id * And set the addresses to the billing and shipping * addresses in the contact create form */ function getAddresses(accountId) { console.log(accountId); dojo.xhrGet({ url: "/account/viewdetails/format/json/account_i...
JavaScript
function confirmDelete(ws_application_id) { var answer = confirm("Are you sure you want to delete this application?"); if (answer) { window.location = "/admin/webservice/delete/ws_application_id/" + ws_application_id; } }
JavaScript
function confirmDelete(sales_stage_id) { var answer = confirm("Are you sure you want to delete this sales stage ID? The opportunities related to this sales stage will be deleted. The action cannot be undone."); if (answer) { window.location = "/admin/salesstage/delete/sales_stage_id/" + sales_stage_id; ...
JavaScript
dojo.require("dojo.data.ItemFileReadStore"); dojo.require("dijit.form.FilteringSelect"); dojo.require("dijit.form.Form"); dojo.require("dojo.parser"); /* * Removes one row or items */ var removeThisRow = function() { //Removes the TR node using the removeThisRowButtonId buttonElementId = this.id; p...
JavaScript
dojo.require("dojo.data.ItemFileReadStore"); dojo.require("dijit.form.FilteringSelect"); dojo.require("dijit.form.Form"); dojo.require("dojo.parser"); /* * Removes one row or items */ var removeThisRow = function() { //Removes the TR node using the removeThisRowButtonId buttonElementId = this.id; p...
JavaScript
/** * When the validation fails, create the items user submitted in the previous request */ function recreateItems() { dojo.forEach (returnedItems, function(items) { addItemRow(items.product_id, items.item_description, items.quantity, items.unit_price, items.tax_type_id); } ...
JavaScript
dojo.require("dojo.data.ItemFileReadStore"); dojo.require("dijit.form.FilteringSelect"); dojo.require("dijit.form.Form"); dojo.require("dojo.parser"); /* * Removes one row or items */ var removeThisRow = function() { //Removes the TR node using the removeThisRowButtonId buttonElementId = this.id; p...
JavaScript
dojo.require("dojo.data.ItemFileReadStore"); dojo.require("dijit.form.FilteringSelect"); dojo.require("dijit.form.Form"); dojo.require("dojo.parser"); /* * Removes one row or items */ var removeThisRow = function() { //Removes the TR node using the removeThisRowButtonId buttonElementId = this.id; p...
JavaScript
/** * When the validation fails, create the items user submitted in the previous request */ function recreateItems() { dojo.forEach (returnedItems, function(items) { addItemRow(items.product_id, items.item_description, items.quantity, items.unit_price, items.tax_type_id); } ...
JavaScript
dojo.require("dojo.data.ItemFileReadStore"); dojo.require("dijit.form.FilteringSelect"); dojo.require("dijit.form.Form"); dojo.require("dojo.parser"); /* * Removes one row or items */ var removeThisRow = function() { //Removes the TR node using the removeThisRowButtonId buttonElementId = this.id; p...
JavaScript
function handleSavedSearchDelete(savedSearchId) { var answer = confirm("Are you sure?"); if (answer) { window.location = "/savedsearch/delete/saved_search_id/" + savedSearchId; } } function saveSearchHandle(type) { search_name = dijit.byId('search_name').value; dojo.byId("search").action...
JavaScript
/** * The tables with class data_table requires zebra cross coloring */ dojo.addOnLoad(function(){ dojo.query(".data_table tbody tr:nth-child(odd)").addClass("odd"); dojo.query(".data_table tbody tr:nth-child(even)").addClass("even"); });
JavaScript
function sendTestMessage() { var xhrArgs = { form: dojo.byId("test_message"), handleAs: "json", load: function(data) { // dojo.byId("flash_message").innerHTML = "Test messages have been successfully sent"; bizsense.dom.flashMessage("Test message has been successfully se...
JavaScript
/** * */ function winopenInit(){ document.getElementById('btnFind').onclick = function(){ win=window.open('win_sub.html','win','') } } function winsubInit(){ tar=window.opener.document.frm; tar.address.value='우편번호를 검색하세요...'; var s=document.getElementById('sel'); s.onchange=function(){ var ...
JavaScript
/** *게시판과 관련된 자바스크립트 *날짜 : 2014.11 *이름 : 안종휘 */ var btnList, btnInput, btnModify, btnDelete, btnView; var url="index.jsp?inc=./score/"; function general(){//게시판에서 사용하는 공통 모듈 btnList=document.getElementById('btnList'); if(btnList !=null){ btnList.onclick=function(){ var frm=document.hiddenFrm; ...
JavaScript
/** * */ var start = false; var startX=0, startY=0; var ctx; function drawingInit(){ document.getElementById('canvas').onmousemove=chk; document.getElementById('canvas').onmousedown=set; ctx = document.getElementById('canvas').getContext('2d'); } function set(ev){ start = !start; startX = ev.x; ...
JavaScript
/** * 두 수의 합계와 평균을 계산 */ function ifTest2(){ /*btn 버튼이 클릭되면*/ var b = document.getElementById('btn'); var f; b.onclick=function(){ f = document.frm; var s1 = Number(f.su1.value); var s2 = Number(f.su2.value); var tot = s1+ s2; var avg = tot/2; alert("총점 : " + tot + "\n" + "평균 : " + avg);...
JavaScript
/** * 입력된 수가 홀인지 짝인지 판별 */ function ifTest3(){ var b = document.getElementById("btn"); b.onclick=function(){ var f = document.frm; var s1 = Number(f.su1.value); if(s1%2==0) alert(s1+" 짝수입니다!!"); else alert(s1+" 홀수 입니다!!"); } }
JavaScript
/** * */ function Score(mid,kor,eng,tot,avg){ this.mid=mid; this.kor=kor; this.eng=eng; this.tot=0; this.avg=0; this.compute=function(){ this.tot=this.kor+this.eng; this.avg=this.tot/2; } cnt=0; this.getMid=function(){return this.mid;} this.getKor=function(){return this.kor;} thi...
JavaScript
/** *게시판과 관련된 자바스크립트 *날짜 : 2014.11 *이름 : 안종휘 */ function general(){//게시판에서 사용하는 공통 모듈 if(document.getElementById('btnList') !=null){ document.getElementById('btnList').onclick=function(){ location.href='list.jsp'; } } if(document.getElementById('btnInput') !=null){ document.getElementById...
JavaScript
function init(){ array= new Array(); cnt=0; document.getElementById("btnAdd").onclick=btnAddF; document.getElementById("btnView").onclick=btnViewF; document.getElementById("btnSort").onclick=btnSortF; document.getElementById("btnNumSort").onclick=btnNumSortF; } function btnAddF(){ var f=document...
JavaScript
/** *게시판과 관련된 자바스크립트 *날짜 : 2014.11 *이름 : 안종휘 */ var btnList, btnInput, btnModify, btnDelete, btnView; function general(){//게시판에서 사용하는 공통 모듈 btnList=document.getElementById('btnList'); if(btnList !=null){ btnList.onclick=function(){ location.href='list.jsp'; } } btnInput=document.getElem...
JavaScript
var interval; var week=['일','월','화','수','목','금','토']; function intervalInit(){ document.getElementById('btnStart').onclick=startFunc; document.getElementById('btnStop').onclick=stopFunc; } function startFunc(){ interval=setInterval(clock, 100); } function stopFunc(){ clearInterval(interval); } f...
JavaScript
/** * if문 테스트 * 날짜 : 2014.10.29 * 작성자 : lhs */ function ifTest(){ /*btn 버튼이 클릭되면*/ var b = document.getElementById('btn'); var f; b.onclick=function(){ f = document.frm; var n = f.irum.value; var s = Number(f.score.value); if(s>=50){ alert(n+"님은 합격?!") }else{ alert(n+"님은 불합격?!"...
JavaScript
/** * */
JavaScript
function ifTest4(){ var b = document.getElementById("btn"); b.onclick=function(){ var f = document.frm; var s1 = Number(f.su1.value); var s2 = Number(f.su2.value); var op = f.oper.value; var r = 0; if(op == '+')r = s1 + s2; else if(op=='-')r = s1 - s2; else if(op=='*')r = s1 * s2; else...
JavaScript
/** * */ function check1(){ var f=document.frm1; var s3=document.getElementById("su3") var s4=document.getElementById("su4"); if(s3.value==""){ alert("시작하는 숫자를 입력하시오"); s3.focus(); }else if(s4.value==""){ alert("끝나는 숫자를 입력하시오"); s4.focus(); }else{ f.submit(); } }
JavaScript
/** * */
JavaScript
/** * 이벤트 발생 object확인 */ function eventcheckInit(){ document.getElementById('btn1').onclick=func; document.getElementById('btn2').onclick=func; document.getElementById('btn3').onclick=func; } function func(event){ var n = event.srcElement.name; var v = event.srcElement.value; alert('name = ' + n + ' ...
JavaScript
/** * */ function check(){ var f=document.frm; var s1=document.getElementById("su1") var s2=document.getElementById("su2"); if(s1.value==""){ alert("시작하는 숫자를 입력하시오"); s1.focus(); }else if(s2.value==""){ alert("끝나는 숫자를 입력하시오"); s2.focus(); }else{ f.submit(); } }
JavaScript
/** * */ function titleInit(){ var btnLogin; var btnLogout; btnLogin=document.getElementById("btnLogin"); btnLogout=document.getElementById("btnLogout"); if(btnLogin != null){ btnLogin.onclick=function(){ var f=document.frm; if(f.mid.value== '' || f.pwd.value==''){ alert("아이디와 암호를...
JavaScript
/** *게시판과 관련된 자바스크립트 *날짜 : 2014.11 *이름 : 안종휘 */ var btnList, btnInput, btnModify, btnDelete, btnView; var url="index.jsp?inc=./member/"; function general(){//게시판에서 사용하는 공통 모듈 btnList=document.getElementById('btnList'); if(btnList !=null){ btnList.onclick=function(){ var frm=document.hiddenFrm; ...
JavaScript
/** * */ function init(){ document.getElementById('btnChk').onclick=chkFunc; var f = document.frm; var l = f.chk.length; for(i=0; i<l; i++) f.chk[i].onclick=chkFunc; } function chkFunc(){ var f = document.frm; var l = f.chk.length; for(i=0; i<l; i++){ if(f.chk[i].checked){ var array = f.chk[...
JavaScript
/** * */ window.onload=function(){ /*btn2버튼이 클릭되면*/ var b2 = document.getElementById('btn2'); b2.onclick=function(){ var rBar=document.getElementById('ran'); alert(rBar.value); } var b = document.getElementById("btn"); b.onclick=function(){ var s1 = document.getElementById("su1"); va...
JavaScript
/** * */ function init(){ var b=document.getElementById("btn"); b.onclick=btnFunc; } function btnFunc(){ var rst=document.getElementById("resultDiv"); var f=document.frm; var s1=Number(f.su1.value); var s2=Number(f.su2.value); var temp=0; f.result.value=''; rst.innerHTML=''; if(s1>s2){ ...
JavaScript
/** *게시판과 관련된 자바스크립트 *날짜 : 2014.11 *이름 : 안종휘 */ var btnMain, btnInput, btnModify, btnDelete, btnView; function general(){//게시판에서 사용하는 공통 모듈 btnMain=document.getElementById('btnList'); if(btnMain !=null){ btnMain.onclick=function(){ location.href='main.jsp'; } } btnInput=document.getElem...
JavaScript
/** * 메인 페이지 스크립트 * 작성일 : 2014.11.04 * 작성자 : 신재업 */ function general(){ document.getElementById("board").onclick=function(){ location.href = "board_main.jsp"; } document.getElementById("guest").onclick=function(){ location.href = "guest_main.jsp"; } document.getElementById("join").onclick=fu...
JavaScript
/** * */ //var btnList ,btnInput,btnView function general(){//게시판에서 사용하는 공통 모듈 // btnList = document.getElementById('btnList'); // if(btnList !=null){ // btnList.onclick =function(){ // location.href = 'list.jsp'; // // } // // } if (document.getElementById('btnList') != null) { document.getEl...
JavaScript
/** * */ function about3Init(){ var guest_btn_modify=document.getElementById('guest_btn_modify'); if(guest_btn_modify !=null){ guest_btn_modify.onclick=function(){ var b= confirm("정말 수정하시겠습니까?"); if(b){ alert("rno"+rno); var f= document.guest_frm; var rno=f.rno.value; alert(...
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 * 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 * 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 * 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 * 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
// 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 * 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
// 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
/** * @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
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
/** * @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
// 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
// File Upload Meter - DEMO and API // http://abhinavsingh.com/webdemos/fileuploadmeter/fileuploadmeter.rar // http://abhinavsingh.com/blog/2008/08/how-to-create-an-upload-meter-in-php-explained/ // Developer : Abhinav Singh // Contact : admin@abhinavsingh.com // Date : 29th August, 2008 // NOTE: Kindly ...
JavaScript
/* Copyright Mihai Bazon, 2002-2005 | www.bazon.net/mishoo * ----------------------------------------------------------- * * The DHTML Calendar, version 1.0 "It is happening again" * * Details and latest version at: * www.dynarch.com/projects/calendar * * This script is developed by Dynarch.com. Visit us at...
JavaScript
/* Copyright Mihai Bazon, 2002, 2003 | http://dynarch.com/mishoo/ * --------------------------------------------------------------------------- * * The DHTML Calendar * * Details and latest version at: * http://dynarch.com/mishoo/calendar.epl * * This script is distributed under the GNU Lesser General Public...
JavaScript
// ** I18N // Calendar CA language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // includ...
JavaScript
// ** I18N // Calendar pt_BR language // Author: Adalberto Machado, <betosm@terra.com.br> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please //...
JavaScript
/* calendar-cs.js language: Czech encoding: utf-8 author: Mishal (mishal AT mishal DOT cz) (opraven formát dnů, měsíců + kosmetické změny :-)) Lubos Jerabek (xnet@seznam.cz) Jan Uhlir (espinosa@centrum.cz) */ // ** I18N Calendar._DN = new Array('neděle','pondělí','úterý','středa','čtvr...
JavaScript
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // includ...
JavaScript
// ** I18N Calendar._DN = new Array ("Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο", "Κυριακή"); Calendar._SDN = new Array ("Κυ", "Δε", "Tρ", "Τε", "Πε", "Πα", "Σα", "Κυ"); // First day of the week. "0" means display Sunday first, "1" means display // Monday first, etc. Calen...
JavaScript
/* Croatian language file for the DHTML Calendar version 0.9.2 * Author Krunoslav Zubrinic <krunoslav.zubrinic@vip.hr>, June 2003. * Feel free to use this script under the terms of the GNU Lesser General * Public License, as long as you do not remove or alter this notice. */ Calendar._DN = new Array ("Nedjelja", "Pon...
JavaScript
// ** I18N // Calendar DA language // Author: Michael Thingmand Henriksen, <michael (a) thingmand dot dk> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. ...
JavaScript
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // includ...
JavaScript
// ** I18N // Calendar ZH language // Author: muziq, <muziq@sina.com> // Encoding: GB2312 or GBK // Distributed under the same terms as the calendar itself. // full day names Calendar._DN = new Array ("星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六", "星期日"); // Please note that the following array of short day...
JavaScript
// ** I18N Afrikaans Calendar._DN = new Array ("Sondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrydag", "Saterdag", "Sondag"); Calendar._MN = new Array ("Januarie", "Februarie", "Maart", "April", "Mei", "Junie", "Julie", "Augustus", "September", "Oktober", "November", "Desember"); // toolti...
JavaScript
// Calendar ALBANIAN language //author Rigels Gordani rige@hotmail.com // ditet Calendar._DN = new Array ("E Diele", "E Hene", "E Marte", "E Merkure", "E Enjte", "E Premte", "E Shtune", "E Diele"); //ditet shkurt Calendar._SDN = new Array ("Die", "Hen", "Mar", "Mer", "Enj", "Pre", "Sht", "Die"); // First day of the ...
JavaScript
// ** I18N // Calendar HU language // Author: ??? // Modifier: KARASZI Istvan, <jscalendar@spam.raszi.hu> // Encoding: utf8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world...
JavaScript
////////////////////////////////////////////////////////////////////////////////////////////// // Turkish Translation by Nuri AKMAN // Location: Ankara/TURKEY // e-mail : nuriakman@hotmail.com // Date : April, 9 2003 // // Note: if Turkish Characters does not shown on you screen // please include falowing lin...
JavaScript
// ** I18N // Calendar RU language // Translation: Sly Golovanov, http://golovanov.net, <sly@golovanov.net> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized worl...
JavaScript
// ** I18N // Calendar JA language // Author: AKIMOTO, Hiroki, <akimoto aaaa---t cybozu.co.jp> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also pl...
JavaScript
// ** I18N // Calendar FI language (Finnish, Suomi) // Author: Jarno Käyhkö, <gambler@phnet.fi> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // full day names Calendar._DN = new Array ("Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai", "Sun...
JavaScript
// ** I18N // Calendar LV language // Author: Juris Valdovskis, <juris@dc.lv> // Encoding: utf8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // include yo...
JavaScript
// ** I18N Calendar._DN = new Array ("Zondag", "Maandag", "Dinsdag", "Woensdag", "Donderdag", "Vrijdag", "Zaterdag", "Zondag"); Calendar._SDN_len = 2; Calendar._MN = new Array ("Januari", "Februari", "Maart", "April", "Mei", "Juni", "Juli", "Augustus", "September", "Oktober", "November", "December")...
JavaScript
// ** I18N // Calendar NO language // Author: Daniel Holmen, <daniel.holmen@ciber.no> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // i...
JavaScript
// ** I18N // Calendar EN language // Author: Idan Sofer, <idan@idanso.dyndns.org> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // incl...
JavaScript
// ** I18N Calendar._DN = new Array ("Duminică", "Luni", "Marţi", "Miercuri", "Joi", "Vineri", "Sâmbătă", "Duminică"); Calendar._SDN_len = 2; // First day of the week. "0" means display Sunday first, "1" means display // Monday first, etc. Calendar._FD = 1; Calendar._MN = new Array ("Ianuarie", "Februarie", ...
JavaScript
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // includ...
JavaScript
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Translator: Fabio Di Bernardini, <altraqua@email.it> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer t...
JavaScript
// ** I18N // Calendar BG language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Translator: Valentin Sheiretsky, <valio@valio.eu.org> // Encoding: utf8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer...
JavaScript
// ** I18N // Calendar ES (spanish) language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Updater: Servilio Afre Puentes <servilios@yahoo.com> // Updated: 2004-06-03 // Encoding: utf-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly beli...
JavaScript
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // incl...
JavaScript
// ** I18N // Calendar PL language // Author: Krzychu Danek, <krzychu.danek@gmail.com> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please //...
JavaScript
// ** I18N // Calendar EU (basque) language // Author: Xabier Bayon <admin@gaztesarea.net> // Updater: Xabier Bayon <admin@gaztesarea.net> // Updated: 2005-04-05 // Encoding: utf-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that ...
JavaScript
// ** I18N // Calendar SV language (Swedish, svenska) // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Translation team: <sv@li.org> // Translator: Leonard Norrgård <leonard.norrgard@refactor.fi> // Last translator: Emil Ljungdahl <emil@kratern.se> // Encoding: UTF-8 // Distributed under the same terms as the calend...
JavaScript
// ** I18N // Calendar pt-BR language // Author: Fernando Dourado, <fernando.dourado@ig.com.br> // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also ple...
JavaScript
// ** I18N // Calendar LT language // Author: Martynas Majeris, <martynas@solmetra.lt> // Encoding: UTF-8 // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // ...
JavaScript
/* Slovenian language file for the DHTML Calendar version 0.9.2 * Author David Milost <mercy@volja.net>, January 2004. * Feel free to use this script under the terms of the GNU Lesser General * Public License, as long as you do not remove or alter this notice. */ // full day names Calendar._DN = new Array ("Ne...
JavaScript
// ** I18N // Calendar EN language // Author: Mihai Bazon, <mihai_bazon@yahoo.com> // Translation: Yourim Yi <yyi@yourim.net> // Encoding: EUC-KR // lang : ko // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answe...
JavaScript
function double_list_move(srcId, destId) { var src=document.getElementById(srcId); var dest=document.getElementById(destId); for (var i = 0; i < src.options.length; i++) { if (src.options[i].selected) { dest.options[dest.length] = new Option(src.options[i].text, src.options[i].value); src.o...
JavaScript
// django javascript file // Finds all fieldsets with class="collapse", collapses them, and gives each // one a "show" link that uncollapses it. The "show" link becomes a "hide" // link when the fieldset is visible. function findForm(node) { // returns the node of the form containing the given node if (node.tagNa...
JavaScript
var indexSectionsWithContent = { "General": { "Symbols": true, "Numbers": false, "A": true, "B": true, "C": true, "D": true, "E": true, "F": true, "G": true, "H": false, "I": true, "J": false, "K": true, "L": true, "M": true, ...
JavaScript
$('#info_noticias_fecha').datepicker({ dateFormat: 'yy-mm-dd' }); //$("#info_noticias_contenido").markItUp(mySettings); if( !('info_noticias_contenido' in CKEDITOR.instances)) { CKEDITOR.replace( 'info_noticias_contenido' ); }
JavaScript
if( !('pruebamodulecuatro_coluno' in CKEDITOR.instances)) { CKEDITOR.replace( 'pruebamodulecuatro_coluno' ); }
JavaScript
$('#user_emails_fecha').datetimepicker({ dateFormat: 'yy-mm-dd', timeFormat: 'hh:mm:ss'});
JavaScript
$(document).ready(function(){ // Server Settings $('#server_type').change(function(){ // First, hide everything $('#mail, #sendmail, #smtp').css('display', 'none'); switch ($(this).val()) { case 'mail': $('#mail').css('display', 'block'); break; case 'sendmail': $('#sendmail').css('display'...
JavaScript
$(document).ready(function(e){ $('#trans_lang').change(function() { var lang = $(this +'option:selected').val(); if (lang == 'other') { $('#new_lang').show('slow'); } else { $('#new_lang').hide('slow'); } }); })
JavaScript
var PasswordStrength = function() { var MULTIPLE_NUMBERS_RE = /\d.*?\d.*?\d/; var MULTIPLE_SYMBOLS_RE = /[!@#$%^&*?_~].*?[!@#$%^&*?_~]/; var UPPERCASE_LOWERCASE_RE = /([a-z].*[A-Z])|([A-Z].*[a-z])/; var SYMBOL_RE = /[!@#\$%^&*?_~]/; this.username = null; this.password = null; this.options = null; this.min_pass...
JavaScript
(function($){ $.strength = function(username, password, options, callback, email) { if (typeof(options) == "function") { callback = options; options = {}; } else if (!options) { options = {}; } var usernameField = $(username); var passwordField = $(password); var emailField = $(email); var stre...
JavaScript
// Filter Hook $('#filter').change(function(){ // Are we filtering at all? var filter = $(this).val(); $('#log div').each(function(){ switch (filter) { case 'all': $(this).css('display', 'block'); break; case 'error': if ($(this).hasClass('alert-error')) { $(this).css('display', 'b...
JavaScript
$(document).ready(function(){ $('#allow_name_change').change(function(){ var allow_change = $(this).attr('checked'); if (allow_change == 'checked') { $('#name-change-settings').css('display', 'block'); } else { $('#name-change-settings').css('display', 'none'); } }); $('#allow_remember').cha...
JavaScript