code stringlengths 1 2.08M | language stringclasses 1
value |
|---|---|
/**
* 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.InsertDateTime', {
init : function(ed, u... | JavaScript |
tinyMCEPopup.requireLangPack();
var EmotionsDialog = {
init : function(ed) {
tinyMCEPopup.resizeToInnerSize();
},
insert : function(file, title) {
var ed = tinyMCEPopup.editor, dom = ed.dom;
tinyMCEPopup.execCommand('mceInsertContent', false, dom.createHTML('img', {
src : tinyMCEPopup.getWindo... | JavaScript |
tinyMCE.addI18n('en.emotions_dlg',{
title:"Insert emotion",
desc:"Emotions",
cool:"Cool",
cry:"Cry",
embarassed:"Embarassed",
foot_in_mouth:"Foot in mouth",
frown:"Frown",
innocent:"Innocent",
kiss:"Kiss",
laughing:"Laughing",
money_mouth:"Money mouth",
sealed:"Sealed",
smile:"Smile",
surprised:"Surprised... | 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) {
tinymce.create('tinymce.plugins.EmotionsPlugin', {
init : functio... | JavaScript |
tinyMCEPopup.requireLangPack();
var PasteTextDialog = {
init : function() {
this.resize();
},
insert : function() {
var h = tinyMCEPopup.dom.encode(document.getElementById('content').value), lines;
// Convert linebreaks into paragraphs
if (document.getElementById('linebreaks').checked) {
li... | JavaScript |
tinyMCEPopup.requireLangPack();
var PasteWordDialog = {
init : function() {
var ed = tinyMCEPopup.editor, el = document.getElementById('iframecontainer'), ifr, doc, css, cssHTML = '';
// Create iframe
el.innerHTML = '<iframe id="iframe" src="javascript:\'\';" frameBorder="0" style="border: 1px solid gra... | JavaScript |
tinyMCE.addI18n('en.paste_dlg',{
text_title:"Use CTRL+V on your keyboard to paste the text into the window.",
text_linebreaks:"Keep linebreaks",
word_title:"Use CTRL+V on your keyboard to paste the text into the window."
}); | 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,
entities = null,
defs = {
paste_auto_cle... | 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;
tinymce.create('tinymce.plugins.NonEdita... | JavaScript |
/**
* fullpage.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
tinyMCEPopup.requireLangPack();
var doc;
var defaultDocTypes =
'XHTML 1.0 Transitional=<!DO... | JavaScript |
tinyMCE.addI18n('en.fullpage_dlg',{
title:"Document properties",
meta_tab:"General",
appearance_tab:"Appearance",
advanced_tab:"Advanced",
meta_props:"Meta information",
langprops:"Language and encoding",
meta_title:"Title",
meta_keywords:"Keywords",
meta_description:"Description",
meta_robots:"Robots",
doct... | 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.FullPagePlugin', {
init : function(ed, u... | 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, Event = tinymce.dom.Event, each = tinymce.each, expl... | JavaScript |
var AdvHRDialog = {
init : function(ed) {
var dom = ed.dom, f = document.forms[0], n = ed.selection.getNode(), w;
w = dom.getAttrib(n, 'width');
f.width.value = w ? parseInt(w) : (dom.getStyle('width') || '');
f.size.value = dom.getAttrib(n, 'size') || parseInt(dom.getStyle('height')) || '';
f.noshad... | JavaScript |
tinyMCE.addI18n('en.advhr_dlg',{
width:"Width",
size:"Height",
noshade:"No shadow"
}); | 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.AdvancedHRPlugin', {
init : function(ed,... | JavaScript |
/**
* abbr.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
function init() {
SXE.initElementDialog('abbr');
if (SXE.currentAction == "update") {
SXE.showRem... | JavaScript |
/**
* ins.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
function init() {
SXE.initElementDialog('ins');
if (SXE.currentAction == "update") {
setFormValue(... | JavaScript |
/**
* attributes.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
function init() {
tinyMCEPopup.resizeToInnerSize();
var inst = tinyMCEPopup.editor;
var dom ... | JavaScript |
/**
* cite.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
function init() {
SXE.initElementDialog('cite');
if (SXE.currentAction == "update") {
SXE.showRem... | JavaScript |
/**
* del.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
function init() {
SXE.initElementDialog('del');
if (SXE.currentAction == "update") {
setFormValue(... | JavaScript |
/**
* acronym.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
function init() {
SXE.initElementDialog('acronym');
if (SXE.currentAction == "update") {
SXE.s... | JavaScript |
/**
* element_common.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
tinyMCEPopup.requireLangPack();
function initCommonAttributes(elm) {
var formObj = docume... | JavaScript |
tinyMCE.addI18n('en.xhtmlxtras_dlg',{
attribute_label_title:"Title",
attribute_label_id:"ID",
attribute_label_class:"Class",
attribute_label_style:"Style",
attribute_label_cite:"Cite",
attribute_label_datetime:"Date/Time",
attribute_label_langdir:"Text Direction",
attribute_option_ltr:"Left to right",
attribut... | 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.XHTMLXtrasPlugin', {
init : function(ed,... | JavaScript |
tinyMCEPopup.requireLangPack();
var TemplateDialog = {
preInit : function() {
var url = tinyMCEPopup.getParam("template_external_list_url");
if (url != null)
document.write('<sc'+'ript language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></sc'+'... | JavaScript |
tinyMCE.addI18n('en.template_dlg',{
title:"Templates",
label:"Template",
desc_label:"Description",
desc:"Insert predefined template content",
select:"Select a template",
preview:"Preview",
warning:"Warning: Updating a template with a different one may cause data loss.",
mdate_format:"%Y-%m-%d %H:%M:%S",
cdate_... | 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.TemplatePlugin... | 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.Nonbreaking', {
init : function(ed, url)... | JavaScript |
tinyMCEPopup.requireLangPack();
var action, orgTableWidth, orgTableHeight, dom = tinyMCEPopup.editor.dom;
function insertTable() {
var formObj = document.forms[0];
var inst = tinyMCEPopup.editor, dom = inst.dom;
var cols = 2, rows = 2, border = 0, cellpadding = -1, cellspacing = -1, align, width, height, cl... | JavaScript |
tinyMCEPopup.requireLangPack();
function init() {
tinyMCEPopup.resizeToInnerSize();
document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table');
document.getElementById('bgcolor_pickcontainer').innerHTML = getColorPickerHTM... | JavaScript |
tinyMCEPopup.requireLangPack();
var ed;
function init() {
ed = tinyMCEPopup.editor;
tinyMCEPopup.resizeToInnerSize();
document.getElementById('backgroundimagebrowsercontainer').innerHTML = getBrowserHTML('backgroundimagebrowser','backgroundimage','image','table');
document.getElementById('bordercolor_pi... | JavaScript |
tinyMCEPopup.requireLangPack();
var MergeCellsDialog = {
init : function() {
var f = document.forms[0];
f.numcols.value = tinyMCEPopup.getWindowArg('cols', 1);
f.numrows.value = tinyMCEPopup.getWindowArg('rows', 1);
},
merge : function() {
var func, f = document.forms[0];
tinyMCEPopup.rest... | JavaScript |
tinyMCE.addI18n('en.table_dlg',{
general_tab:"General",
advanced_tab:"Advanced",
general_props:"General properties",
advanced_props:"Advanced properties",
rowtype:"Row in table part",
title:"Insert/Modify table",
width:"Width",
height:"Height",
cols:"Cols",
rows:"Rows",
cellspacing:"Cellspacing",
cellpaddin... | 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) {
var each = tinymce.each;
/**
* Table Grid class.
*/
func... | JavaScript |
tinyMCEPopup.requireLangPack();
var defaultFonts = "" +
"Arial, Helvetica, sans-serif=Arial, Helvetica, sans-serif;" +
"Times New Roman, Times, serif=Times New Roman, Times, serif;" +
"Courier New, Courier, mono=Courier New, Courier, mono;" +
"Times New Roman, Times, serif=Times New Roman, Times, serif;"... | JavaScript |
tinyMCE.addI18n('en.style_dlg',{
title:"Edit CSS Style",
apply:"Apply",
text_tab:"Text",
background_tab:"Background",
block_tab:"Block",
box_tab:"Box",
border_tab:"Border",
list_tab:"List",
positioning_tab:"Positioning",
text_props:"Text",
text_font:"Font",
text_size:"Size",
text_weight:"Weight",
text_sty... | 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.StylePlugin', {
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.Directionality', {
init : function(ed, u... | 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.Print', {
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.VisualChars', {
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() {
/**
* Auto Resize
*
* This plugin automatically resizes the conte... | JavaScript |
tinyMCEPopup.requireLangPack();
var ExampleDialog = {
init : function() {
var f = document.forms[0];
// Get the selected contents as text and place it in the input
f.someval.value = tinyMCEPopup.editor.selection.getContent({format : 'text'});
f.somearg.value = tinyMCEPopup.getWindowArg('some_custom_a... | JavaScript |
tinyMCE.addI18n('en.example',{
desc : 'This is just a template button'
});
| JavaScript |
tinyMCE.addI18n('en.example_dlg',{
title : 'This is just a example title'
});
| 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() {
// Load plugin specific language pack
tinymce.PluginManager.requireLangPa... | 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
*
* This plugin will force TinyMCE to produce deprecated legacy output such as font elements, u... | JavaScript |
tinyMCEPopup.requireLangPack();
var SearchReplaceDialog = {
init : function(ed) {
var f = document.forms[0], m = tinyMCEPopup.getWindowArg("mode");
this.switchMode(m);
f[m + '_panel_searchstring'].value = tinyMCEPopup.getWindowArg("search_string");
// Focus input field
f[m + '_panel_searchstri... | JavaScript |
tinyMCE.addI18n('en.searchreplace_dlg',{
searchnext_desc:"Find again",
notfound:"The search has been completed. The search string could not be found.",
search_title:"Find",
replace_title:"Find/Replace",
allreplaced:"All occurrences of the search string were replaced.",
findwhat:"Find what",
replacewith:"Replace ... | 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.SearchReplacePlugin', {
init : function(... | JavaScript |
tinyMCE.addI18n('en.simple',{
bold_desc:"Bold (Ctrl+B)",
italic_desc:"Italic (Ctrl+I)",
underline_desc:"Underline (Ctrl+U)",
striketrough_desc:"Strikethrough",
bullist_desc:"Unordered list",
numlist_desc:"Ordered list",
undo_desc:"Undo (Ctrl+Z)",
redo_desc:"Redo (Ctrl+Y)",
cleanup_desc:"Cleanup messy code"
})... | JavaScript |
/**
* editor_template_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;
// Tell it to load theme specific language pac... | JavaScript |
tinyMCEPopup.requireLangPack();
function init() {
var ed, tcont;
tinyMCEPopup.resizeToInnerSize();
ed = tinyMCEPopup.editor;
// Give FF some time
window.setTimeout(insertHelpIFrame, 10);
tcont = document.getElementById('plugintablecontainer');
document.getElementById('plugins_tab').style.display ... | JavaScript |
tinyMCEPopup.requireLangPack();
var detail = 50, strhex = "0123456789abcdef", i, isMouseDown = false, isMouseOver = false;
var colors = [
"#000000","#000033","#000066","#000099","#0000cc","#0000ff","#330000","#330033",
"#330066","#330099","#3300cc","#3300ff","#660000","#660033","#660066","#660099",
"#6600cc... | JavaScript |
tinyMCEPopup.requireLangPack();
var AnchorDialog = {
init : function(ed) {
var action, elm, f = document.forms[0];
this.editor = ed;
elm = ed.dom.getParent(ed.selection.getNode(), 'A');
v = ed.dom.getAttrib(elm, 'name');
if (v) {
this.action = 'update';
f.anchorName.value = v;
}
... | JavaScript |
/**
* charmap.js
*
* Copyright 2009, Moxiecode Systems AB
* Released under LGPL License.
*
* License: http://tinymce.moxiecode.com/license
* Contributing: http://tinymce.moxiecode.com/contributing
*/
tinyMCEPopup.requireLangPack();
var charmap = [
[' ', ' ', true, 'no-break space']... | JavaScript |
tinyMCEPopup.requireLangPack();
tinyMCEPopup.onInit.add(onLoadInit);
function saveContent() {
tinyMCEPopup.editor.setContent(document.getElementById('htmlSource').value, {source_view : true});
tinyMCEPopup.close();
}
function onLoadInit() {
tinyMCEPopup.resizeToInnerSize();
// Remove Gecko spellchecki... | 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 |
tinyMCEPopup.requireLangPack();
var LinkDialog = {
preInit : function() {
var url;
if (url = tinyMCEPopup.getParam("external_link_list_url"))
document.write('<script language="javascript" type="text/javascript" src="' + tinyMCEPopup.editor.documentBaseURI.toAbsolute(url) + '"></script>');
},
init... | JavaScript |
tinyMCE.addI18n('en.advanced',{
style_select:"Styles",
font_size:"Font size",
fontdefault:"Font family",
block:"Format",
paragraph:"Paragraph",
div:"Div",
address:"Address",
pre:"Preformatted",
h1:"Heading 1",
h2:"Heading 2",
h3:"Heading 3",
h4:"Heading 4",
h5:"Heading 5",
h6:"Heading 6",
blockquote:"Blo... | JavaScript |
tinyMCE.addI18n('en.advanced_dlg',{
about_title:"About TinyMCE",
about_general:"About",
about_help:"Help",
about_license:"License",
about_plugins:"Plugins",
about_plugin:"Plugin",
about_author:"Author",
about_version:"Version",
about_loaded:"Loaded plugins",
anchor_title:"Insert/edit anchor",
anchor_name:"An... | JavaScript |
/**
* editor_template_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) {
var DOM = tinymce.DOM, Event = tinymce.dom.Event, extend = tinymce... | JavaScript |
// JavaScript Document
/*! Copyright (c) 2009 Brandon Aaron (http://brandonaaron.net)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
* Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointer... | JavaScript |
$(document).ready( function(){
var buttons = { previous:$('#lofslidecontent45 .lof-previous') ,
next:$('#lofslidecontent45 .lof-next') };
$obj = $('#lofslidecontent45').lofJSidernews( { interval : 4000,
direction : 'opacity',
//easing : 'easeOutBounce',
... | JavaScript |
/*
* jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
*
* Uses the built in easing capabilities added In jQuery 1.1
* to offer multiple easing options
*
* TERMS OF USE - jQuery Easing
*
* Open source under the BSD License.
*
* Copyright © 2008 George McGinley Smith
* All rights res... | JavaScript |
jQuery(document).ready(function() {
jQuery('#mycarousel').jcarousel({
wrap:"circular",
auto:2,
scroll:3,
visible:9
});
}); | JavaScript |
$(document).ready(function() {
$(".topMenuAction-hot").click( function() {
if ($("#openCloseIdentifier-hot").is(":hidden")) {
$("#slider-hot").animate({marginTop: "-70px"}, 500 );
$("#topMenuImage-hot").html('<img src="images/open.png" />');
$("#openCloseIdentifier-hot").show();
} else {
$("#sli... | JavaScript |
$(document).ready(function(){
$(".list_product").jCarouselLite({
//btnNext: ".next",
//btnPrev: ".prev",
auto:1000,
scroll:1,
speed:1000,
visible:4 ,
vertical: true
});
})
$(document).ready(function(){
$(".spspkm").jCarouselLite({
//btnNext: ".next",
//btnPrev: ".prev",
... | JavaScript |
/* http://www.tatechnic.com */
function FloatTopDiv()
{ startLX = ((document.body.clientWidth -MainContentW)/2)-LeftBoxW-LeftAdjust , startLY = TopAdjust+80; startRX = ((document.body.clientWidth -MainContentW)/2)+MainContentW+RightAdjust , startRY = TopAdjust+80; var d = document; function ml(id)
{ var el=d.getElement... | JavaScript |
//////////////////////////////////////////////////////////////////////////////////
// Cloud Zoom V1.0.2
// (c) 2010 by R Cecco. <http://www.professorcloud.com>
// MIT License
//
// Please retain this copyright header in all versions of the software
/////////////////////////////////////////////////////////////////... | JavaScript |
var menuids=["sidebarmenu1"] //Enter id(s) of each Side Bar Menu's main UL, separated by commas
function initsidebarmenu(){
for (var i=0; i<menuids.length; i++){
var ultags=document.getElementById(menuids[i]).getElementsByTagName("ul")
for (var t=0; t<ultags.length; t++){
ultags[t].parentNode.getElemen... | JavaScript |
// This file is part of Mongoose project, http://code.google.com/p/mongoose
var chat = {
// Backend URL, string.
// 'http://backend.address.com' or '' if backend is the same as frontend
backendUrl: '',
maxVisibleMessages: 10,
errorMessageFadeOutTimeoutMs: 2000,
errorMessageFadeOutTimer: null,
lastMessage... | JavaScript |
window.onload = function() {
initialize();
};
/*
* Adds a validator to the form so it won't submit if there's an error. It also
* adds a listener on the drop downs so they delete the default option if it's
* changed and also update the percentage label.
*/
function initialize() {
// Add form validation... | JavaScript |
function helpNeeded() {
var help = document.getElementsByClassName("helpSheet");
var elm;
for(var i = 0 ; (elm = help.item(i)) != null ; i++) {
if(document.getElementById("helpFlag").checked)
elm.style.display = "block";
else
elm.style.display = "none";
}
} | JavaScript |
function setAddError(errStr)
{
errTxtNode = document.createTextNode(errStr);
addErrDiv = document.getElementById("addErr");
addErrDiv.replaceChild(errTxtNode, addErrDiv.childNodes[0]);
}
function clearAddError()
{
setAddError(' ');
}
function addToList(wholeList)
{
textBox = document.getElementById... | JavaScript |
/*******************************************************
AutoSuggest - a javascript automatic text input completion component
Copyright (C) 2005 Joe Kepley, The Sling & Rock Design Group, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Publi... | JavaScript |
function getlistitemID(e)
{
var e = e || window.event;
var tgt = e.target || e.srcElement;
return tgt.id;
}
function seenBtn(e) {
}
function likeBtn(e) {
likeID = getlistitemID(e);
blacklistID = likeID.replace("l","b");
likeCheckBoxStatus = e.currentTarget.checked;
// possibly, getEleme... | JavaScript |
function helpNeeded() {
var help = document.getElementsByClassName("helpSheet");
var elm;
for(var i = 0 ; (elm = help.item(i)) != null ; i++) {
if(document.getElementById("helpFlag").checked)
elm.style.display = "block";
else
elm.style.display = "none";
}
} | JavaScript |
function setAddError(errStr)
{
errTxtNode = document.createTextNode(errStr);
addErrDiv = document.getElementById("addErr");
addErrDiv.replaceChild(errTxtNode, addErrDiv.childNodes[0]);
}
function clearAddError()
{
setAddError(' ');
}
function addToList(wholeList)
{
textBox = document.getElementById... | JavaScript |
/*******************************************************
AutoSuggest - a javascript automatic text input completion component
Copyright (C) 2005 Joe Kepley, The Sling & Rock Design Group, Inc.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Publi... | JavaScript |
function getlistitemID(e)
{
var e = e || window.event;
var tgt = e.target || e.srcElement;
return tgt.id;
}
function seenBtn(e) {
}
function likeBtn(e) {
likeID = getlistitemID(e);
blacklistID = likeID.replace("l","b");
likeCheckBoxStatus = e.currentTarget.checked;
// possibly, getEleme... | JavaScript |
/*
* 26Programmer, a flying twitter bird Ver. - 1.0
*
* Autor : Manish Balodia
* Copyright : Manish Balodia, 2014
* For Blogger by : Rahul (26programmer.blogspot.com)
* Url : http://26programmer.blogspot.com
*
*/
if (typeof(twitterAccount) != "string") var twitterAccount = "";
if (typeof(tweetThisT... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
Ext.namespace('Ext.air', 'Ext.sql');
Ext.Template.prototype.compile = function() {
var fm = Ext.util.Format;
var useF = this.disableFormats !== true;
var prevOffset = 0;
v... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
/*
* 以下的函数是为迎合AIR程序沙箱的要求而作出eval函数问题或其他问题的修正。
*/
Ext.namespace('Ext.air', 'Ext.sql');
Ext.Template.prototype.compile = function() {
var fm = Ext.util.Format;
var useF = this.d... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
/**
* @class Ext.air.NativeObservable
* @extends Ext.util.Observable
* Ext Observable类为AIR而设计的增强版,针对原生AIR对象的包装器而设的代理事件
* @constructor
*/
Ext.air.NativeObservable = Ext.exten... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
/**
* @class Ext.air.NativeWindow
* @extends Ext.air.NativeObservable
* 优化AIR原生窗体(NativeWindows)的功能,使之封装为Ext API的一部分<br/><br/>
* 该类还包含这一功能:当程序最小化时,会自动通知系统托盘(system tray)。<br/><br... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
/**
* @class Ext.air.DragType
* 该对象提供了,拖放(Drag and Drop)进行时,对拖动内容类型定义的常量值。
* @singleton
*/
Ext.air.DragType = {
/**
* Constant for text data
*/
TEXT : 'text/plain',
... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
/**
* @class Ext.air.FileProvider
* @extends Ext.state.Provider
* Ext状态读取器实现的一种,基于AIR程序的特点而设计的,将状态的配置文件保存在程序存储区。
* * @constructor
* @param {Object} config
*/
Ext.air.FilePr... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
/**
* @Class Ext.air.SystemTray
* 系统状态栏上托盘(Tray)控制类。
* @singleton
*/
Ext.air.SystemTray = function(){
var app = air.NativeApplication.nativeApplication;
var icon, isWindows = ... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
Ext.sql.Table = function(conn, name, keyName){
this.conn = conn;
this.name = name;
this.keyName = keyName;
};
Ext.sql.Table.prototype = {
update : function(o){
var clause ... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
Ext.sql.AirConnection = Ext.extend(Ext.sql.Connection, {
// abstract methods
open : function(db){
this.conn = new air.SQLConnection();
var file = air.File.application... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
// Asbtract base class for Connection classes
Ext.sql.Connection = function(config){
Ext.apply(this, config);
Ext.sql.Connection.superclass.constructor.call(this);
this.addEvent... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
Ext.sql.Proxy = function(conn, table, keyName, store, readonly){
Ext.sql.Proxy.superclass.constructor.call(this);
this.conn = conn;
this.table = this.conn.getTable(table, ... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
/**
* @class Ext.air.Sound
*
* @singleton
*/
Ext.air.Sound = {
/**
* 播放音频。
* @param {String} file 要播放音效的位置。 这个文件应该在程序的安装目录下。
* @param {Number} startAt (optional) 指定音... | JavaScript |
/*
* Ext JS Library 0.20
* Copyright(c) 2006-2008, Ext JS, LLC.
* [email protected]
*
* http://extjs.com/license
*/
/**
* @class Ext.air.SystemMenu
* 提供一个跨平台的菜单控制类,你可以新建菜单,或者在菜单中插入新的子项 <br/><br/>
* 此类亦可以将Ext.Action的实例绑定到AIR菜单项上。
* @singleton
*/
Ext.air.SystemMenu = function(){
var menu;
... | JavaScript |
<?xml version="1.0" encoding="utf-8"?>
<project path="" name="Ext - JS Lib" author="Ext JS, LLC" version="2.0.2" copyright="Ext JS Library $version
Copyright(c) 2006-2008, $author.
[email protected]

http://extjs.com/license" output="$project\..\samples\tasks\ext-air\" source="Fa... | JavaScript |
/*
* 项目地址:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://bbs.ajaxjs.com Ext中文站翻译小组
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协议条款。
* # 如果得到著... | JavaScript |
/*
* 项目地址:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://bbs.ajaxjs.com Ext中文站翻译小组
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协议条款。
* # 如果得到著... | JavaScript |
/*
* 项目地址:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://bbs.ajaxjs.com Ext中文站翻译小组
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协议条款。
* # 如果得到著... | JavaScript |
/*
* 项目地址:http://code.google.com/p/chineseext/
* 欢迎参与我们翻译的工作!详见《EXT API2Chinese 相关事宜》:
* http://bbs.ajaxjs.com Ext中文站翻译小组
*
* 本翻译采用“创作共同约定、Creative Commons”。您可以自由:
* 复制、发行、展览、表演、放映、广播或通过信息网络传播本作品
* 创作演绎作品
* 请遵守:
* 署名. 您必须按照作者或者许可人指定的方式对作品进行署名。
* # 对任何再使用或者发行,您都必须向他人清楚地展示本作品使用的许可协议条款。
* # 如果得到著... | JavaScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.