code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/**
* 입력된 내용을 배열에 저장 후 정렬
*/
function arrayTestInit() {
array=new Array();
cnt = 0;
document.getElementById('btnAdd').onclick = addFunc;
document.getElementById('btnView').onclick = viewFunc;
document.getElementById('btnSort').onclick = sortFunc;
document.getElementById('btnNumSort').onclick = numSortF... | JavaScript |
/**
*
*/ | JavaScript |
/**
*
*/
function win_openinit()
{
document.getElementById('btnfind').onclick=btnc;
win=win.open('http://www,naver.com','win','');
}
function winSubInit()
{
tar=window.opener.document.frm;
tar.address.value='우편번호를 검색하세요';
var s=document.getElementById('sel');
s.onchange=function()
{
var... | JavaScript |
/**
*
*/
var interval;
var cnt=0;
var week=['일','월','화','수','목','금','토'];
function intervalinit()
{
document.getElementById('btnstart').onclick=stafunc;
document.getElementById('btnstop').onclick=stofunc;
}
function stafunc()
{
interval=setInterval(clock, 1000);
}
function stofunc()
{
clearInter... | JavaScript |
/**
*
*/
var start=false;
var startx=0,starty=0;
var ctx;
function deawinginit()
{
document.getElementById('canvas').onmousemove=chk;
document.getElementById('canvas').onmouseup=set;
ctx=document.getElementById('canvas').getContext('2d');
}
function set(ev)
{
var lc;
var lw;
start=!start;
s... | JavaScript |
/**
* 자바스크립트 외부파일정의 테스트
* 작성일 : 20141029
* 작성자 : 궈니켜니
*/
window.onload=function()
{
//but2 버튼이 클릭되면
var b2 = document.getElementById('btn2');
b2.onclick=function()
{
var rBar=document.getElementById('ran');
alert(rBar.value);
}
var b = document.getElementById("btn");
b.onclick=functi... | JavaScript |
/**
*if문 테스트
*/
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 |
/**
*
*/
function radioinit()
{
document.getElementById('btn').onclick=cfunc;
var f = document.frm;
var l = f.rb.length;
for(i=0;i<l;i++)
{
f.rb[i].onclick=cfunc;
}
}
function cfunc()
{
var f = document.frm;
var l = f.rb.length;
for(i=0;i<l;i++){
if(f.rb[i].checked)
{
var a... | 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=='')
{... | JavaScript |
/**
* 게시판과 관련된 자바스크립트
* date : 2014,11,3
* author : kyun
*/
function general()//게시판에서 사용하는 공통모듈
{
if(document.getElementById('btnlist')!=null)
{
document.getElementById('btnlist').onclick=function()
{
location.href='list.jsp';
}
}
if(document.getElementById('btninput')!=null)
{
docum... | JavaScript |
/**
*
*/
function forTestInit() {
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.inn... | JavaScript |
/**
* 3의배수 출력
*/
function tryinit()
{
var f = document.frm;
document.getElementById('btnrun').onclick=function()
{
if(f.su1.value=='')
{
alert('첫번째빔');
f.su1.focus();
}
else if(f.su2.value=='')
{
alert('두번째빔');
f.su2.focus();
}
else
{
f.submit();
}
}
} | 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 |
/**
*게시판과 관련된 자바스크립트
*날짜 : 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 |
/**
*게시판과 관련된 자바스크립트
*날짜 : 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 |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
replaceSubElements(document);
pageDOMLoaded = true;
if (needNotifyBar) {
showNotifyBar();
}
| JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var tabStatus = {};
var version;
var firstRun = false;
var firstUpgrade = false;
var blackList = [
/^https?:\/\/[^\/]*\.taobao... | JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
/*
Rule: {
identifier: an unique identifier
title: description
type: Can be "wild", "regex", "clsid"
... | JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var tabId = parseInt(location.href.replace(/.*tabid=([0-9]*).*/, '$1'));
if (isNaN(tabId)) {
alert('Invalid tab id');
}
var bac... | JavaScript |
var setting = loadLocalSetting();
var updateSession = new ObjectWithEvent();
setting.cache.listener = updateSession;
startListener();
registerRequestListener();
// If you want to build your own copy with a different id, please keep the
// tracking enabled.
var default_id = 'lgllffgicojgllpmdbemgglaponefajn';... | JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var controlLogFName = '__npactivex_log';
var controlLogEvent = '__npactivex_log_event__';
var config = null;
var port = null;
v... | JavaScript |
// Copyright (c) 2010 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var $$ = chrome.i18n.getMessage;
function loadI18n() {
var spans = document.querySelectorAll('[i18n]');
for (var i = 0; i < span... | JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var backgroundPage = chrome.extension.getBackgroundPage();
var defaultTabId = parseInt(location.href.replace(/.*tabid=([0-9]*).*/, '... | JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
function ObjectWithEvent() {
this._events = {};
}
ObjectWithEvent.prototype = {
bind: function(name, func) {
if (!Array.... | JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var config;
function loadConfig(_resp) {
config = _resp;
$(document).ready(init);
}
function openPopup() {
var url = ch... | JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
// Permission for experimental not given.
var handler = chrome.webRequest;
function onBeforeSendHeaders(details) {
var rule = se... | JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
List.types.input = function(p, prop) {
p[0].listdata = this;
this.p = p;
var input = this.input = $('<input></input>').addClas... | JavaScript |
$(document).ready(function() {
var help = 'http://code.google.com/p/np-activex/wiki/ExtensionHelp?wl=';
help = help + $$('wikicode');
$('.help').each(function() {
this.href = help;
});
});
| JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var USE_RECORD_GAP = 3 * 60 * 1000; // 3 minutes
var _gaq = window._gaq || [];
_gaq.push(['_setAccount', 'UA-28870762-4']);
_gaq... | JavaScript |
var Renren = Renren || {};
if(!Renren.share){
Renren.share = function() {
var isIE = navigator.userAgent.match(/(msie) ([\w.]+)/i);
var hl = location.href.indexOf('#');
var resUrl = (hl == -1 ? location.href : location.href.substr(0, hl));
var shareImgs = "";
var sl = function(str) {
var pla... | JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var background = chrome.extension.getBackgroundPage();
var setting = background.setting;
var updateSession = background.updateSession... | JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var FLASH_CLSID = '{d27cdb6e-ae6d-11cf-96b8-444553540000}';
var typeId = 'application/x-itst-activex';
var updating = false;
funct... | JavaScript |
document.addEventListener('DOMContentLoaded', function() {
if (window.PocoUpload) {
document.all.PocoUpload.Document = document;
}
}, false); | JavaScript |
scriptConfig.formid = true;
| JavaScript |
(function(proto) {
proto.__defineGetter__("classid", function() {
var clsid = this.getAttribute("clsid");
if (clsid == null) {
return "";
}
return "CLSID:" + clsid.substring(1, clsid.length - 1);
})
proto.__defineSetter__("classid", function(value) {
var e = document.createEvent... | JavaScript |
scriptConfig.none2block = true;
| JavaScript |
(function () {
var hiddenDivId = "__hiddendiv_activex";
window.__proto__.ActiveXObject = function(progid) {
progid = progid.trim();
var e = document.createEvent('TextEvent');
e.initTextEvent(
'__npactivex_log_event__', false, false, window,
'Dynamic create ' + progid);
window.dispatchEv... | JavaScript |
window.addEventListener('load', function() {Exobud.URL = objMmInfo[0].mmUrl}, false); | JavaScript |
(function(node) {
node.createPopup = node.createPopup || function() {
var SetElementStyles = function(element, styleDict) {
var style = element.style;
for (var styleName in styleDict) {
style[styleName] = styleDict[styleName];
}
}
var eDiv = document.createElement('div');
Se... | JavaScript |
(function (doc) {
doc.createElement = function(orig) {
return function(name) {
if (name.trim()[0] == '<') {
// We assume the name is correct.
document.head.innerHTML += name;
var obj = document.head.lastChild;
document.head.removeChild(obj);
return obj;
} else {... | JavaScript |
(function() {
function reload() {
var maps = document.getElementsByTagName("map");
for (var i = 0; i < maps.length; ++i) {
if (maps[i].name == "") maps[i].name = maps[i].id;
}
}
if (document.readyState == 'complete') {
reload();
} else {
window.addEventListener('load', reload, false);
... | JavaScript |
navigator.cpuClass='x86';
| JavaScript |
window.addEventListener('load', function() {
delete FrmUserInfo.elements;
FrmUserInfo.elements = function(x){return this[x]};
console.log('cloudzz patch');
onAuthenticated();
}, false);
HTMLElement.prototype.insertAdjacentHTML = function(orig) {
return function() {
this.style.display = "block";
this.style.overflow = "h... | JavaScript |
(function() {
function declareEventAsIE(node) {
if (!node.attachEvent) {
node.attachEvent = function(event, operation) {
if (event.substr(0, 2) == "on") this.addEventListener(event.substr(2), operation, false)
}
}
if (!node.detachEvent) {
node.detachEvent = function(event, operat... | JavaScript |
(function() {
Document.prototype.getElementById = function(orig) {
return function(id) {
var a = this.getElementsByName(id);
if (a.length > 0) {
return a[0];
}
return orig.call(this, id);
}
} (Document.prototype.getElementById);
})();
| JavaScript |
document.addEventListener('DOMContentLoaded', function() {
if (window.doLogin && window.statcus && window.psw) {
function makeHidden(obj) {
obj.style.display = 'block';
obj.style.height = '0px';
obj.style.width = '0px';
}
window.doLogin = function(orig) {
return function() ... | JavaScript |
(function () {
function patch() {
if (window.ShowPayPage && window.InitControls) {
InitControls = function(orig) {
return function() {
if (CreditCardYear.object === undefined) {
CreditCardYear.object = {};
}
if (CreditCardMonth.object === undefined) {
... | JavaScript |
scriptConfig.activate_inplace = true;
| JavaScript |
window.addEventListener('DOMContentLoaded', function() {
if (window.logonSubmit) {
logonSubmit = function(orig) {
return function() {
try {
orig();
} catch (e) {
if (e.message == 'Error calling method on NPObject.') {
// We assume it has passed the checking.
... | JavaScript |
scriptConfig.documentid = true;
| JavaScript |
window.addEventListener('load', function(){
if (IE_FingerPrint)
IE_FingerPrint = FingerPrint;
}, false);
| JavaScript |
window.addEventListener('error', function(event) {
function executeScript(file) {
var request = new XMLHttpRequest();
// In case it needs immediate loading, use sync ajax.
request.open('GET', file, false);
request.send();
eval(translate(request.responseText));
}
function translate(text... | JavaScript |
(function() {
function __bugupatch() {
if (typeof cntv != 'undefined') {
cntv.player.util.getPlayerCore = function(orig) {
return function() {
var ret = orig();
if (arguments.callee.caller.toString().indexOf('GetPlayerControl') != -1) {
return {
GetVersi... | JavaScript |
function initShare() {
var link = 'https://chrome.google.com/webstore/detail/' +
'lgllffgicojgllpmdbemgglaponefajn';
var text2 = ['Chrome也能用网银啦!',
'每次付款还要换浏览器?你out啦!',
'现在可以彻底抛弃IE了!',
'让IE去死吧!',
'Chrome用网银:'
];
text2 = text2[Math.floor(Math.random() * 1000121) % text2.length];
... | JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
/*
prop = {
header, // String
property, // String
events, //
type, // checkbox, select, i... | JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
List.types.input = function(p, prop) {
p[0].listdata = this;
this.p = p;
var input = this.input = $('<input></input>').addClas... | JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
var baseDir = '/setting/';
var rules = [];
var scripts = [];
var issues = [];
var dirty = false;
function setScriptAutoComplet... | JavaScript |
// Copyright (c) 2012 eagleonhill([email protected]). All rights reserved.
// Use of this source code is governed by a Mozilla-1.1 license that can be
// found in the LICENSE file.
/*
prop = {
header, // String
property, // String
events, //
type, // checkbox, select, ... | JavaScript |
/*
* Superfish v1.4.8 - jQuery menu widget
* Copyright (c) 2008 Joel Birch
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.html
* http://www.gnu.org/licenses/gpl.html
*
* CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt
*/
;(functi... | JavaScript |
/**
* Cookie plugin
*
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/
/**
* Create a cookie with the given name and value and other optional parameters.
*
* @examp... | JavaScript |
$(document).ready(function() {
// Navigation menu
$('ul#navigation').superfish({
delay: 1000,
animation: {opacity:'show',height:'show'},
speed: 'fast',
autoArrows: true,
dropShadows: false
});
$('ul#navigation li').hover(function(){
$(this).addClass('sfHover2');
},
function(){
$... | JavaScript |
(function($) {
$.extend({
tablesorterPager: new function() {
function updatePageDisplay(c) {
var s = $(c.cssPageDisplay,c.container).val((c.page+1) + c.seperator + c.totalPages);
}
function setPageSize(table,size) {
var c = table.config;
c.size = size;
c.totalPages = Math.ceil(c.tot... | JavaScript |
// JavaScript Document
/**
* @class DecimalFormat
* @constructor
* @param {String} formatStr
* @author Oskan Savli
*/
function DecimalFormat(formatStr)
{
/**
* @fieldOf DecimalFormat
* @type String
*/
this.prefix = '';
/**
* @fieldOf DecimalFormat
* @type Strin... | JavaScript |
/**
* Jquery ready
* some event click, change ,...
*
* @author hungtd <[email protected]>
*/
function __cfg(c) {
return(cfg && cfg.cfg && cfg.cfg[c]) ? cfg.cfg[c]: false;
}
(jQuery);
jQuery('html').addClass('js');
jQuery(document).ready(function($) {
// disable right click
// $(this).bind("contextmenu", fu... | JavaScript |
/**
* Jquery ready
* some event click, change ,...
*
* @author hungtd <[email protected]>
*/
function __cfg(c) {
return(cfg && cfg.cfg && cfg.cfg[c]) ? cfg.cfg[c]: false;
}
(jQuery);
jQuery('html').addClass('js');
jQuery(document).ready(function($) {
// disable right click
// $(this).bind("contextmenu", fu... | JavaScript |
/////////// Xu ly huy bo //////////////
var ref = document.referrer;
/////////////////
function huybo_ref(productID){
if(ref.indexOf('account') != -1){
window.location='/account/index.'+productID+'.html';
}else{
window.location='/home/index.'+productID+'.html';
}
}
////////////////////
var UserName_E... | JavaScript |
var JsLangZD = {
notic_title: "Thông báo",
alert_min_20_char: "Vui lòng điền ít nhất 20 ký tự",
alert_recharge_zing_xu: "Bạn đang nạp tiền vào tài khoản Zing Deal. Bạn có chắc chắn không?",
alert_choose_quantity: "Vui lòng chọn số lượng deal",
zing_id_not_allow: "Tài khoản không hợp lệ",
zing_id_exit: "T... | JavaScript |
var Answer_confirm_error = "Xác nhận trả lời phải giống trả lời.";
function show_hide_password(){
var sAnswer_old = $('#sAnswer').val();
var flag = $('#sAnswer_confirm_tr').css("display");
var sAnswer_text = '<INPUT class="txt_260" id="sAnswer" onFocus="onFocus(this)" maxLength="100" name="sAnswer" type="text" t... | JavaScript |
(function($) {
$.fn.aToolTip = function(options) {
/**
setup default settings
*/
var defaults = {
// no need to change/override
closeTipBtn: 'aToolTipCloseBtn',
toolTipId: 'aToolTip',
// ok to override
fixed: false,
clickIt: false,
inSpeed: 100,
o... | JavaScript |
function queryString(parameter) {
var loc = location.search.substring(1, location.search.length);
var param_value = false;
var params = loc.split("&");
for (i=0; i<params.length;i++) {
param_name = params[i].substring(0,params[i].indexOf('='));
if (param_name == parameter) {
param_value = params... | JavaScript |
/**
* File JS for Promotion
*
* @author hungtd <[email protected]>
*/
// onload jQuery
jQuery(document).ready(function($) {
// promotion click
$('a.JsPromotionDeal').click(function(event) {
event.preventDefault();
if (isUserLogin()) {
showAlertPromotion1105();
} else {
showFormQuickLogin();
}
});
... | JavaScript |
var img_url = document.getElementById('img_url').value;
document.write(unescape("%3Cscript src='"+img_url+"keyboard/addKeyboard.js' type='text/javascript'%3E%3C/script%3E"));
//////////// Update 27/10/
var html_img_refresh = 'Nếu không đọc được, hãy nhấn vào <img border="0" align="texttop" src="'+img_url+'/images/... | JavaScript |
//lay message khuyn mai show len
var timer = '';
function getContent(type){
openBoxFeedback('fb',360,550);
$.ajaxSetup({
timeout: 10000
});
var content_feedback = $('#content_feedback').val();
var captcha_feedback = $('#captcha_feedback').val();
var verify_feedback = $('#verify_feedback').val();
... | JavaScript |
var list_input = Array('password','email_name','question','answer','password2','cmnd','noicap','d_cmnd','m_cmnd','y_cmnd','verify_image','hoten','dienthoai','diachi','sSex_m','sSex_f');
/**Check ngay cap ###################################################################################*/
var hoten_invalid = "Họ tên ... | JavaScript |
/**
* File JS for Promotion
*
* @author hungtd <[email protected]>
*/
// onload jQuery
jQuery(document).ready(function($) {
// promotion click
$('a.JsPromotionDeal').click(function(event) {
event.preventDefault();
if (isUserLogin()) {
showAlertPromotion1105();
} else {
showFormQuickLogin();
}
});
... | JavaScript |
var list_input = new Array('password','new_password','confirm_new_password','verify_image');
/* #################################### xu ly password #############################*/
var chkPassErr = 0;
var chkConfirmPassErr = 0;
$("#password").focus( function() {
//Update check
if(check_show_keyboard()) ... | JavaScript |
var JsLangZD = {
notic_title: "Thông báo",
alert_min_20_char: "Vui lòng điền ít nhất 20 ký tự",
alert_recharge_zing_xu: "Bạn đang nạp tiền vào tài khoản Zing Deal. Bạn có chắc chắn không?",
alert_choose_quantity: "Vui lòng chọn số lượng deal",
zing_id_not_allow: "Tài khoản không hợp lệ",
zing_id_exit: "T... | JavaScript |
function queryString(parameter) {
var loc = location.search.substring(1, location.search.length);
var param_value = false;
var params = loc.split("&");
for (i=0; i<params.length;i++) {
param_name = params[i].substring(0,params[i].indexOf('='));
if (param_name == parameter) {
param_value = params... | JavaScript |
/**
* Jquery ready
* Cac function javascript tren Zing Deal
*
* @author hungtd <[email protected]>
*/
/**
* Ham check email
*/
function validateEmail(id)
{
var emailPattern = /^([a-zA-Z0-9_.-])+@([a-zA-Z0-9_.-])+\.([a-zA-Z])+([a-zA-Z])+/;
return emailPattern.test(id);
}
/**
* Ham check dien thoai di d... | JavaScript |
/*
* Superfish v1.4.8 - jQuery menu widget
* Copyright (c) 2008 Joel Birch
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.html
* http://www.gnu.org/licenses/gpl.html
*
* CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt
*/
;(functi... | JavaScript |
/**
* Cookie plugin
*
* Copyright (c) 2006 Klaus Hartl (stilbuero.de)
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
*/
/**
* Create a cookie with the given name and value and other optional parameters.
*
* @examp... | JavaScript |
$(document).ready(function() {
// Navigation menu
$('ul#navigation').superfish({
delay: 1000,
animation: {
opacity:'show',
height:'show'
},
speed: 'fast',
autoArrows: true,
dropShadows: false
});
$('ul#navigatio... | JavaScript |
(function($) {
$.extend({
tablesorterPager: new function() {
function updatePageDisplay(c) {
var s = $(c.cssPageDisplay,c.container).val((c.page+1) + c.seperator + c.totalPages);
}
function setPageSize(table,size) {
var c = table.config;
c.size = size;
c.totalPages = Math.ceil(c.tot... | JavaScript |
/************************************************************************************************************
JS Calendar
Copyright (C) September 2006 DTHMLGoodies.com, Alf Magne Kalleland
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Li... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.skins.add( 'kama', (function()
{
var uiColorStylesheetId = 'cke_ui_color';
return {
editor : { css : [ 'editor.css' ] },
dialog : { css : [ 'dia... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.skins.add( 'v2', (function()
{
return {
editor : { css : [ 'editor.css' ] },
dialog : { css : [ 'dialog.css' ] },
separator : { canGroup: false ... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.skins.add( 'office2003', (function()
{
return {
editor : { css : [ 'editor.css' ] },
dialog : { css : [ 'dialog.css' ] },
separator : { canGroup... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Contains the second part of the {@link CKEDITOR} object
* definition, which defines the basic editor features to be available in
* the root ... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.dtd} object, which holds the DTD
* mapping for XHTML 1.0 Transitional. This file was automatically
* generated f... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* Creates a {@link CKEDITOR.htmlParser} class instance.
* @class Provides an "event like" system to parse strings of HTML data.
* @example
* var parser = ne... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.resourceManager} class, which is
* the base for resource managers, like plugins and themes.
*/
/**
* Base c... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.event} class, which serves as the
* base for classes and objects that require event handling features.
*/
if (... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.scriptLoader} object, used to load scripts
* asynchronously.
*/
/**
* Load scripts asynchronously.
* @name... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* Contains UI features related to an editor instance.
* @constructor
* @param {CKEDITOR.editor} editor The editor instance.
* @example
*/
CKEDITOR.ui = f... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.themes} object, which is used to
* manage themes registration and loading.
*/
/**
* Manages themes registrat... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.skins} object, which is used to
* manage skins loading.
*/
/**
* Manages skins loading.
* @namespace
* @... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.plugins} object, which is used to
* manage plugins registration and loading.
*/
/**
* Manages plugins regist... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.tools} object, which contains
* utility functions.
*/
(function()
{
var functions = [];
CKEDITOR.on( 'r... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.loader} objects, which is used to
* load core scripts and their dependencies from _source.
*/
if ( typeof CKED... | JavaScript |
/*
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* Creates a command class instance.
* @class Represents a command that can be executed on an editor instance.
* @param {CKEDITOR.editor} editor The editor ins... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.