code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
// JavaScript Document<script type='text/javascript'>
// <![CDATA[
var colour="#ebdde2";
var sparkles=100;
var x=ox=400;
var y=oy=300;
var swide=800;
var shigh=600;
var sleft=sdown=0;
var tiny=new Array();
var star=new Array();
var starv=new Array();
var starx=new Array();
var stary=new Array();
var tinyx=new Array();... | JavaScript |
// JavaScript Document<script type='text/javascript'>
// <![CDATA[
var colour="#87f717";
var sparkles=100;
var x=ox=400;
var y=oy=300;
var swide=800;
var shigh=600;
var sleft=sdown=0;
var tiny=new Array();
var star=new Array();
var starv=new Array();
var starx=new Array();
var stary=new Array();
var tinyx=new Array();... | JavaScript |
// JavaScript Document<script type='text/javascript'>
// <![CDATA[
var colour="#e18b6b";
var sparkles=100;
var x=ox=400;
var y=oy=300;
var swide=800;
var shigh=600;
var sleft=sdown=0;
var tiny=new Array();
var star=new Array();
var starv=new Array();
var starx=new Array();
var stary=new Array();
var tinyx=new Array();... | JavaScript |
// JavaScript Document<script type='text/javascript'>
// <![CDATA[
var colour="#c25283";
var sparkles=100;
var x=ox=400;
var y=oy=300;
var swide=800;
var shigh=600;
var sleft=sdown=0;
var tiny=new Array();
var star=new Array();
var starv=new Array();
var starx=new Array();
var stary=new Array();
var tinyx=new Array();... | JavaScript |
// JavaScript Document<script type='text/javascript'>
// <![CDATA[
var colour="#f6358a";
var sparkles=100;
var x=ox=400;
var y=oy=300;
var swide=800;
var shigh=600;
var sleft=sdown=0;
var tiny=new Array();
var star=new Array();
var starv=new Array();
var starx=new Array();
var stary=new Array();
var tinyx=new Array();... | JavaScript |
// JavaScript Document<script type='text/javascript'>
// <![CDATA[
var colour="#7e354d";
var sparkles=100;
var x=ox=400;
var y=oy=300;
var swide=800;
var shigh=600;
var sleft=sdown=0;
var tiny=new Array();
var star=new Array();
var starv=new Array();
var starx=new Array();
var stary=new Array();
var tinyx=new Array();... | JavaScript |
// JavaScript Document<script type='text/javascript'>
// <![CDATA[
var colour="#f9b7ff";
var sparkles=100;
var x=ox=400;
var y=oy=300;
var swide=800;
var shigh=600;
var sleft=sdown=0;
var tiny=new Array();
var star=new Array();
var starv=new Array();
var starx=new Array();
var stary=new Array();
var tinyx=new Array();... | JavaScript |
// JavaScript Document<script type='text/javascript'>
// <![CDATA[
var colour="#98afc7";
var sparkles=100;
var x=ox=400;
var y=oy=300;
var swide=800;
var shigh=600;
var sleft=sdown=0;
var tiny=new Array();
var star=new Array();
var starv=new Array();
var starx=new Array();
var stary=new Array();
var tinyx=new Array();... | JavaScript |
var isExtended = 0;
function slideSideBar(){
new Effect.toggle('sideBarContents', 'blind', {scaleX: 'true', scaleY: 'true;', scaleContent: false});
if(isExtended==0){
$('sideBarTab').childNodes[0].src = $('sideBarTab').childNodes[0].src.replace(/(\.[^.]+)$/, '-active$1');
new Effect.Fade('sideBarContents',... | JavaScript |
// ColorBox v1.3.19 - jQuery lightbox plugin
// (c) 2011 Jack Moore - jacklmoore.com
// License: http://www.opensource.org/licenses/mit-license.php
(function ($, document, window) {
var
// Default settings object.
// See http://jacklmoore.com/colorbox for details.
defaults = {
transition: "elast... | JavaScript |
// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
| JavaScript |
(function($){
$.fn.validationEngineLanguage = function(){
};
$.validationEngineLanguage = {
newLang: function(){
$.validationEngineLanguage.allRules = {
"required": { // Add your regex rules here, you can take telephone as an example
"regex": "none",
... | JavaScript |
/**
* Ajax upload
* Project page - http://valums.com/ajax-upload/
* Copyright (c) 2008 Andris Valums, http://valums.com
* Licensed under the MIT license (http://valums.com/mit-license/)
* Version 3.5 (23.06.2009)
*/
/**
* Changes from the previous version:
* 1. Added better JSON handling that allows to use 'ap... | JavaScript |
function remove_tip(){
$('#JT').remove()
}
function add_tip(linkId){
title = $("#"+linkId).attr('title');
content = $("#content"+linkId).html();
if(title == false)title=" ";
var de = document.documentElement;
var w = self.innerWidth || (de&&de.clientWidth) || document.body.clientWidth;
... | JavaScript |
// This file is part of the jQuery formatCurrency Plugin.
//
// The jQuery formatCurrency Plugin is free software: you can redistribute it
// and/or modify it under the terms of the GNU General Public License as published
// by the Free Software Foundation, either version 3 of the License, or
// (at your ... | JavaScript |
/*
* Flexigrid for jQuery - v1.1
*
* Copyright (c) 2008 Paulo P. Marinas (code.google.com/p/flexigrid/)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
*/
(function ($) {
$.addFlex = function (t, p) {
if (t.grid) return false; //return if already exist
p = $.extend({ ... | JavaScript |
/*!
* ExColor for jQuery
* http://excolor.ramiro.mx/
*/
jQuery.fn.excolor = function (C) {
var C = jQuery.extend({
hue_bar: 0,
hue_slider: 0,
sb_slider: 0,
color_box: true,
demo_mode: false,
show_color_on_border: false,
border_color: 'black',
sb_border_color: 'black',
anim_speed... | JavaScript |
(function() {
var centerContent;
$(function() {
prettyPrint();
$('input.color-input').excolor({
root_path: 'img/'
});
centerContent();
return $(window).resize(centerContent);
});
centerContent = function() {
var fixed_container_height, half_container_height, half_window_height, new... | JavaScript |
jQuery(function($) {
$(".cboxElement").colorbox({
width:"730", height:"600", iframe:true
});
$("#addimages_avatar").colorbox({
width:"730", height:"600", iframe:true
});
$(".btnloadgroup").colorbox({
width:"730", height:"600", iframe:true
});
$(".btnloadshow").col... | JavaScript |
function themanh(){
var path = $("#imgproduct").val();
var ProductID = $("#ProductID").val();
$("#ajaxload").html('<image src="'+url+'templates/images/loading.gif">');
$.post(url+"product/add_img_product",{'path':path,'ProductID':ProductID},function(data)
{
$("#listimg").html(data);
... | JavaScript |
/*
* jQuery UI Datepicker 1.8.5
*
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Datepicker
*
* Depends:
* jquery.ui.core.js
*/
(function( $, undefined ) {
$.extend($.ui, { datepicke... | JavaScript |
//Javasript name: My Date Time Picker
//Date created: 16-Nov-2003 23:19
//Creator: TengYong Ng
//Website: http://www.rainforestnet.com
//Copyright (c) 2003 TengYong Ng
//FileName: DateTimePicker_css.js
//Version: 2.2.0
// Note: Permission given to use and modify this script in ANY kind of applications if
// heade... | JavaScript |
function setCheckboxes(the_form, id, do_check)
{
var elts = (typeof(document.forms[the_form].elements[id]) != 'undefined')
? document.forms[the_form].elements[id]
: 0;
var elts_cnt = (typeof(elts.length) != 'undefined')
? elts.length
... | JavaScript |
Calendar.LANG("it", "Italiano", {
fdow: 1, // first day of week for this locale; 0 = Sunday, 1 = Monday, etc.
goToday: "Vai a oggi",
today: "Oggi", // appears in bottom bar
wk: "set",
weekend: "0,6", // 0 = Sunday, 1 = Monday, etc.
AM:... | JavaScript |
Calendar.LANG("de", "Deutsch", {
fdow: 1, // first day of week for this locale; 0 = Sunday, 1 = Monday, etc.
goToday : "Heute ausw\u00e4hlen",
today: "Heute", // appears in bottom bar
wk: "wk",
weekend: "0,6", // 0 = Sunday, 1 = Monday, etc.
... | JavaScript |
Calendar.LANG("jp", "Japanese", {
fdow: 1, // 地元の週の初めの日; 0 = 日曜日, 1 = 月曜日, 等.
goToday: "本日へ",
today: "本日", // ボットンバーに表示
wk: "週",
weekend: "0,6", // 0 = 日曜日, 1 = 月曜日, 等.
AM: "am",
PM: "pm",
mn : [ "1月",
... | JavaScript |
// autor: Piotr kwiatkowski
// www: http://pasjonata.net
Calendar.LANG("pl", "Polish", {
fdow: 1, // pierwszy dzień tygodnia; 0 = Niedziela, 1 = Poniedziałek, itd.
goToday: "Idzie Dzisiaj",
today: "Dziś",
wk: "wk",
weekend: "0,6", // 0 = Nied... | JavaScript |
Calendar.LANG("ru", "русский", {
fdow: 1, // first day of week for this locale; 0 = Sunday, 1 = Monday, etc.
goToday: "Сегодня",
today: "Сегодня", // appears in bottom bar
wk: "нед",
weekend: "0,6", // 0 = Sunday, 1 = Monday, etc.
AM: ... | JavaScript |
Calendar.LANG("fr", "Français", {
fdow: 1, // first day of week for this locale; 0 = Sunday, 1 = Monday, etc.
goToday : "Aujourd'hui",
today: "Aujourd'hui", // appears in bottom bar
wk: "sm.",
weekend: "0,6", // 0 = Sunday, 1 = Monday, etc.
... | JavaScript |
Calendar.LANG("cz", "Czech", {
fdow: 1, // first day of week for this locale; 0 = Sunday, 1 = Monday, etc.
goToday: "Ukaž dnešek",
today: "Dnes", // appears in bottom bar
wk: "týd",
weekend: "0,6", // 0 = Sunday, 1 = Monday, etc.
AM: "... | JavaScript |
Calendar.LANG("en", "English", {
fdow: 1, // first day of week for this locale; 0 = Sunday, 1 = Monday, etc.
goToday: "Go Today",
today: "Today", // appears in bottom bar
wk: "wk",
weekend: "0,6", // 0 = Sunday, 1 = Monday, etc.
AM: "a... | JavaScript |
Calendar.LANG("es", "Español", {
fdow: 1, // first day of week for this locale; 0 = Sunday, 1 = Monday, etc.
goToday: "Ir a Hoy",
today: "Hoy", // appears in bottom bar
wk: "sem",
weekend: "0,6", // 0 = Sunday, 1 = Monday, etc.
AM: "am... | JavaScript |
Calendar.LANG("ro", "Română", {
fdow: 1, // first day of week for this locale; 0 = Sunday, 1 = Monday, etc.
goToday: "Astăzi",
today: "Astăzi", // appears in bottom bar
wk: "săp.",
weekend: "0,6", // 0 = Sunday, 1 = Monday, etc.
AM: "a... | JavaScript |
Calendar.LANG("cn", "中文", {
fdow: 1, // first day of week for this locale; 0 = Sunday, 1 = Monday, etc.
goToday: "今天",
today: "今天", // appears in bottom bar
wk: "周",
weekend: "0,6", // 0 = Sunday, 1 = Monday, etc.
AM: "AM",
PM... | JavaScript |
Calendar.LANG("pt", "Portuguese", {
fdow: 1, // primeiro dia da semana para esse local; 0 = Domingo, 1 = Segunda, etc.
goToday: "Dia de Hoje",
today: "Hoje",
wk: "sm",
weekend: "0,6", // 0 = Domingo, 1 = Segunda, etc.
AM: "am",
PM: "p... | JavaScript |
/*
* Inline Form Validation Engine 2.0 Beta, jQuery plugin
*
* Copyright(c) 2010, Cedric Dugas
* http://www.position-absolute.com
*
* 2.0 Rewrite by Olivier Refalo
* http://www.crionics.com
*
* Form validation engine allowing custom regex rules to be added.
* Licensed under the MIT License
*/
(function($) {
... | JavaScript |
var anwajax = {
load:function(url, id_class)
{
//load menu chinh
$("#iconload").css('display','block');
$(id_class).load(url);
$("#iconload").css('display','none');
},
category:function(links, id, li)
{
// load cac the loai nhac
$("#iconload").css('display','block');
var url = site + l... | JavaScript |
(function($){
$.fn.idTabs = function()
{
//Setup Tabs
var ul = $('ul', this); //Save scope
var self = this;
var list = $('li', ul).bind('click', function()
{
var elm = $(this);
// we set selected_section to keep active tab opened after form submit
// we do it for all... | JavaScript |
/*!
* jQuery UI Widget 1.8.5
*
* Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT or GPL Version 2 licenses.
* http://jquery.org/license
*
* http://docs.jquery.com/UI/Widget
*/
(function( $, undefined ) {
// jQuery 1.4+
if ( $.cleanData ) {
var _cleanData = $.cleanData;
$... | JavaScript |
// Ẩn. Hiển thị Menu trái
function clickHide(type){
if (type == 1){
$('td.colum_left_lage').css('display','none');
$('td.colum_left_small').css('display','table-cell');
//nv_setCookie( 'colum_left_lage', '0', 86400000);
}
else {
if (type == 2){
$('td.colu... | JavaScript |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
// Compressed version of core/ckeditor_base.js. See original for instructions.
/*jsl:ignore*/
if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.... | JavaScript |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
/**
* @fileOverview Defines the {@link CKEDITOR.lang} object, for the
* Dutch language.
*/
/**#@+
@type String
@example
*/
/**
* Constains the dictionary of lang... | JavaScript |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
};
| JavaScript |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.add('uicolor',{requires:['dialog'],lang:['en'],init:function(a){if(CKEDITOR.env.ie6Compat)return;a.addCommand('uicolor',new CKEDITOR.dialogCommand('uicolor'... | JavaScript |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang('uicolor','en',{uicolor:{title:'UI Color Picker',preview:'Live preview',config:'Paste this string into your config.js file',predefined:'Predefined c... | JavaScript |
// Register the related commands.
FCKCommands.RegisterCommand( 'YouTube', new FCKDialogCommand( FCKLang['DlgYouTubeTitle'], FCKLang['DlgYouTubeTitle'], FCKConfig.PluginsPath + 'youtube/youtube.html', 450, 350 ) ) ;
// Create the "YouTube" toolbar button.
var oFindItem = new FCKToolbarButton( 'YouTube', FCKLang['YouTu... | JavaScript |
var dialog = window.parent ;
var oEditor = dialog.InnerDialogLoaded() ;
var FCK = oEditor.FCK ;
var FCKLang = oEditor.FCKLang ;
var FCKConfig = oEditor.FCKConfig ;
//security RegExp
var REG_SCRIPT = new RegExp("< *script.*>|< *style.*>|< *link.*>|< *body .*>", "i");
var REG_PROTOCOL = new RegExp("javascript:|vbsc... | JavaScript |
/*
* For FCKeditor 2.3
*
*
* File Name: it.js
* Italian language file for the youtube plugin.
*
* File Authors:
* Fabrizio Balliano ([email protected]) 2008/01/29
*/
FCKLang['YouTubeTip'] = 'Inserisci un video di YouTube' ;
FCKLang['DlgYouTubeTitle'] = 'Proprietà video YouTube' ;
FCKLang[... | JavaScript |
/*
* For FCKeditor 2.3
*
*
* File Name: de.js
* German language file for the youtube plugin.
*
* File Authors:
* Miro Dietiker (miro.dietiker (at) md-systems.ch) 2009/07/06
*/
FCKLang['YouTubeTip'] = 'YouTube Einfügen/Bearbeiten' ;
FCKLang['DlgYouTubeTitle'] = 'YouTube Einstellung' ;
FCKLang['DlgYouT... | JavaScript |
/*
* For FCKeditor 2.3
*
*
* File Name: zh-cn.js
* Chinese(simplify) language file for the youtube plugin.
*
* File Authors:
* Uprush ([email protected]) 2008/03/22
*/
FCKLang['YouTubeTip'] = 'YouTube插入/编辑' ;
FCKLang['DlgYouTubeTitle'] = 'YouTube属性' ;
FCKLang['DlgYouTubeCode'] = '请插入 YouTube 动... | JavaScript |
/*
* For FCKeditor 2.3
*
*
* File Name: ja.js
* Japanese language file for the youtube plugin.
*
* File Authors:
* Uprush ([email protected]) 2007/10/30
*/
FCKLang['YouTubeTip'] = 'YouTube挿入/編集' ;
FCKLang['DlgYouTubeTitle'] = 'YouTubeプロパティ' ;
FCKLang['DlgYouTubeCode'] = 'URLを挿入してください。' ;
FC... | JavaScript |
/*
* For FCKeditor 2.3
*
*
* File Name: en.js
* English language file for the youtube plugin.
*
* File Authors:
* Uprush ([email protected]) 2007/10/30
*/
FCKLang['YouTubeTip'] = 'Insert/Edit YouTube' ;
FCKLang['DlgYouTubeTitle'] = 'YouTube Property' ;
FCKLang['DlgYouTubeCode'] = '"Please inse... | JavaScript |
/*
* For FCKeditor 2.6
*
*
* File Name: lt.js
* Lithuanian language file for the youtube plugin.
*
* File Authors:
* teibaz ([email protected]) 2009/01/26
*/
FCKLang['YouTubeTip'] = 'Įterpti/Koreguoti YouTube' ;
FCKLang['DlgYouTubeTitle'] = 'YouTube Nustatymai' ;
FCKLang['DlgYouTubeCode'] = '"Įveskite Y... | JavaScript |
/*
* For FCKeditor 2.3
*
*
* File Name: no.js
* Norwegian language file for the youtube plugin.
*
* File Authors:
* Odd-Henrik (odd at multicase.no) 2009/02/12
*/
FCKLang['YouTubeTip'] = 'Legg til/Rediger YouTube video' ;
FCKLang['DlgYouTubeTitle'] = 'YouTube video egenskaper' ;
FCKLang['DlgYouTubeCo... | JavaScript |
/*
* For FCKeditor 2.3
*
*
* File Name: ja.js
* English language file for the youtube plugin.
*
* File Authors:
* Uprush ([email protected]) 2007/10/30
*/
FCKLang['YouTubeTip'] = '插入YouTube網址' ;
FCKLang['DlgYouTubeTitle'] = 'YouTube內容' ;
FCKLang['DlgYouTubeCode'] = '"請插入/貼上YouTube影片連結網址"' ;
F... | JavaScript |
/*
* For FCKeditor 2.3
*
*
* File Name: pt.js
* Portuguese language file for the youtube plugin.
*
* File Authors:
* Ivo Emanuel Gonçalves (justivo (at) gmail.com) 2009/01/19
*/
FCKLang['YouTubeTip'] = 'Inserir/Editar YouTube' ;
FCKLang['DlgYouTubeTitle'] = 'Propriedade YouTube' ;
FCKLang['DlgYouTube... | JavaScript |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
| JavaScript |
CKEDITOR.plugins.add('pyroimages',
{
requires: ['iframedialog'],
init : function(editor)
{
CKEDITOR.dialog.addIframe('pyroimage_dialog', 'Image', BASE_URI + 'editor',800,400)
editor.addCommand('pyroimages', {exec:pyroimage_onclick});
editor.ui.addButton('pyroimages',{ label:'Upload o... | JavaScript |
CKEDITOR.plugins.add('pyrofiles',
{
init : function(editor)
{
// Add the link and unlink buttons.
CKEDITOR.dialog.addIframe('pyrofiles_dialog', 'Files', BASE_URI + 'index.php/admin/wysiwyg/files',700,400);
editor.addCommand('pyrofiles', {exec:pyrofiles_onclick} );
editor.ui.addButton('pyrofiles',{ label:'Uplo... | JavaScript |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
// Compressed version of core/ckeditor_base.js. See original for instructions.
/*jsl:ignore*/
if(!window.CKEDITOR)window.CKEDITOR=(function(){var a={timestamp:'',version:'3.... | JavaScript |
/**
* editable_selects.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
var TinyMCE_EditableSelects = {
editSelectElm : null,
init : function() {
var nl = ... | JavaScript |
/**
* mctabs.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
function MCTabs() {
this.settings = [];
};
MCTabs.prototype.init = function(settings) {
this.s... | JavaScript |
/**
* validate.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
/**
// String validation:
if (!Validator.isEmail('myemail'))
alert('Invalid email.');
/... | JavaScript |
/**
* form_utils.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
var themeBaseURL = tinyMCEPopup.editor.baseURI.toAbsolute('themes/' + tinyMCEPopup.getParam("theme... | JavaScript |
tinyMCE.addI18n({en:{
common:{
edit_confirm:"Do you want to use the WYSIWYG mode for this textarea?",
apply:"Apply",
insert:"Insert",
update:"Update",
cancel:"Cancel",
close:"Close",
browse:"Browse",
class_name:"Class",
not_set:"-- Not set --",
clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Fi... | JavaScript |
var ImageDialog = {
preInit : function() {
var url;
tinyMCEPopup.requireLangPack();
if (url = tinyMCEPopup.getParam("external_image_list_url"))
document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
},
... | JavaScript |
tinyMCE.addI18n('en.advimage_dlg',{
tab_general:"General",
tab_appearance:"Appearance",
tab_advanced:"Advanced",
general:"General",
title:"Title",
preview:"Preview",
constrain_proportions:"Constrain proportions",
langdir:"Language direction",
langcode:"Language code",
long_desc:"Long description link",
style... | JavaScript |
/**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function() {
tinymce.create('tinymce.plugins.AdvancedImagePlugin', {
init : function(... | JavaScript |
/**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function() {
tinymce.create('tinymce.plugins.PageBreakPlugin', {
init : function(ed, ... | JavaScript |
/**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function() {
tinymce.create('tinymce.plugins.Preview', {
init : function(ed, url) {
... | JavaScript |
/**
* This script contains embed functions for common plugins. This scripts are complety free to use for any purpose.
*/
function writeFlash(p) {
writeEmbed(
'D27CDB6E-AE6D-11cf-96B8-444553540000',
'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
'application/x-s... | JavaScript |
/**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function() {
var each = tinymce.each;
tinymce.create('tinymce.plugins.AdvListPlugin'... | JavaScript |
/**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function() {
tinymce.create('tinymce.plugins.Layer', {
init : function(ed, url) {
... | JavaScript |
/**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function() {
tinymce.create('tinymce.plugins.IESpell', {
init : function(ed, url) {
... | JavaScript |
/**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function() {
var DOM = tinymce.DOM, Element = tinymce.dom.Element, Event = tinymce.dom.E... | JavaScript |
/**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function() {
var Event = tinymce.dom.Event, each = tinymce.each, DOM = tinymce.DOM;
... | JavaScript |
tinyMCEPopup.requireLangPack();
var oldWidth, oldHeight, ed, url;
if (url = tinyMCEPopup.getParam("media_external_list_url"))
document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
function init() {
var pl = "", f,... | JavaScript |
/**
* This script contains embed functions for common plugins. This scripts are complety free to use for any purpose.
*/
function writeFlash(p) {
writeEmbed(
'D27CDB6E-AE6D-11cf-96B8-444553540000',
'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0',
'application/x-s... | JavaScript |
tinyMCE.addI18n('en.media_dlg',{
title:"Insert / edit embedded media",
general:"General",
advanced:"Advanced",
file:"File/URL",
list:"List",
size:"Dimensions",
preview:"Preview",
constrain_proportions:"Constrain proportions",
type:"Type",
id:"Id",
name:"Name",
class_name:"Class",
vspace:"V-Space",
hspace:... | JavaScript |
/**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function() {
var each = tinymce.each;
tinymce.create('tinymce.plugins.MediaPlugin', ... | JavaScript |
/**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function() {
tinymce.create('tinymce.plugins.BBCodePlugin', {
init : function(ed, url... | JavaScript |
/**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function() {
var DOM = tinymce.DOM;
tinymce.create('tinymce.plugins.FullScreenPlugin... | JavaScript |
/**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function() {
tinymce.create('tinymce.plugins.Save', {
init : function(ed, url) {
... | JavaScript |
/* Functions for the advlink plugin popup */
tinyMCEPopup.requireLangPack();
var templates = {
"window.open" : "window.open('${url}','${target}','${options}')"
};
function preinit() {
var url;
if (url = tinyMCEPopup.getParam("external_link_list_url"))
document.write('<script language="javascript" t... | JavaScript |
tinyMCE.addI18n('en.advlink_dlg',{
title:"Insert/edit link",
url:"Link URL",
target:"Target",
titlefield:"Title",
is_email:"The URL you entered seems to be an email address, do you want to add the required mailto: prefix?",
is_external:"The URL you entered seems to external link, do you want to add the required h... | JavaScript |
/**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
(function() {
tinymce.create('tinymce.plugins.AdvancedLinkPlugin', {
init : function(e... | JavaScript |
(function($){
window.EditDialog = {
currentWin : $.WindowManager.find(window),
init : function() {
var t = this, args;
args = t.args = $.extend({
path : '{0}',
visual_path : '/'
}, t.currentWin.getArgs());
if (t.currentWin.features) {
t.currentWin.features.onbeforeclose = fu... | JavaScript |
(function($) {
window.ImageManager = $.extend(BaseManager, {
page : 0,
pages : 0,
pageSize : 25,
viewMode : 'thumbs',
tools : [
'createdir', 'preview', 'refresh', 'edit',
'upload', 'rename', 'delete', 'download',
'insert', 'filemanager', 'help'
],
init : function() {
var t = thi... | JavaScript |
// Copyright 2007, Google Inc.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are met:
//
// 1. Redistributions of source code must retain the above copyright notice,
// this list of conditions and the following d... | JavaScript |
var PNG = {
isOldIE : navigator.userAgent.indexOf('MSIE 5') > 0 || navigator.userAgent.indexOf('MSIE 6') > 0,
transparentImg : 'img/transparent.gif',
transparentBGImg : '../img/transparent.gif',
fix : function(e) {
var rs, cs, b, o;
// Remove behavior to prevent memory leaks
e.runtimeStyle.behavior... | JavaScript |
(function($){
window.UploadDialog = {
currentWin : $.WindowManager.find(window),
init : function() {
var t = this, args;
t.args = args = $.extend({
path : '{default}',
visual_path : '/'
}, t.currentWin.getArgs());
t.fileListTpl = $.templateFromScript('#filelist_item_template');
... | JavaScript |
(function ($) {
var m = {
'\b': '\\b',
'\t': '\\t',
'\n': '\\n',
'\f': '\\f',
'\r': '\\r',
'"' : '\\"',
'\\': '\\\\'
},
s = {
'array': function (x) {
var a = ['['], b, f, i, l ... | JavaScript |
/**
* jQuery.ScrollTo
* Copyright (c) 2007-2008 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
* Dual licensed under MIT and GPL.
* Date: 9/11/2008
*
* @projectDescription Easy element scrolling using jQuery.
* http://flesler.blogspot.com/2007/10/jqueryscrollto.html
* Tested wit... | JavaScript |
/**
* jQuery Templates
*
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* Written by: Stan Lemon <[email protected]>
*
* Based off of the Ext.Template library, available at:
* http://www.extj... | JavaScript |
(function($){
window.CreateDirDialog = {
currentWin : $.WindowManager.find(window),
init : function() {
var t = this, args, cleanNames;
args = $.extend({
path : '{default}',
visual_path : '/'
}, t.currentWin.getArgs());
// Add templates
RPC.exec('im.getConfig', {path : args.p... | JavaScript |
(function($){
window.ViewDialog = {
currentWin : $.WindowManager.find(window),
init : function() {
var t = this, args;
t.args = args = $.extend({
path : '{default}',
visual_path : '/'
}, t.currentWin.getArgs());
// Compile templates
t.singeViewTpl = $.templateFromScript('#si... | JavaScript |
(function($){
var man = window.FileManager || window.ImageManager;
man.addSpecialFolder({title : '{#history.special_folder_title}', path : 'history:///', type : 'history'});
$().bind('filelist:changed', function() {
if (man.path.indexOf('history://') != -1) {
$(man.tools).each(function(i, v) {
man... | JavaScript |
(function($){
var man = window.FileManager || window.ImageManager, type = window.FileManager ? 'fm' : 'im';
man.addSpecialFolder({title : '{#favorites.special_folder_title}', path : 'favorite:///', type : 'favorites'});
// Add menu items to context menu
$().bind('DropMenu:beforeshow', function(e, m) {
if... | JavaScript |
tinyMCE.addI18n('en.autosave',{
restore_content: "Restore auto-saved content",
warning_message: "If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?"
}); | JavaScript |
/**
* editor_plugin_src.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*
* Adds auto-save capability to the TinyMCE text editor to rescue content
* inadvertently lo... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.