code
stringlengths
1
2.08M
language
stringclasses
1 value
/* * FlowPlayer external configuration file. * * NOTE! This file is only needed if you don't want to include all configuration * in the embedding HTML file. Please see the installation instructions at * http://flowpalyer.org * * Copyright 2005-2008 Anssi Piirainen * * All settings defined in this file...
JavaScript
/* SCRIPT IS MODIFIED TO ONLY AFFECT PLAY BUTTON OF FV-WORDPRESS-FLOWPLAYER PLUGIN! Correctly handle PNG transparency in Win IE 5.5 & 6. http://homepage.ntlworld.com/bobosola. Updated 18-Jan-2006. Use in <HEAD> with DEFER keyword wrapped in conditional comments: <!--[if lt IE 7]> <script defer type="text/j...
JavaScript
/** * jscolor, JavaScript Color Picker * * @version 1.2.3 * @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License * @author Honza Odvarko <honza@odvarko.cz> * @created 2008-06-15 * @updated 2009-02-25 * @link http://jscolor.com */ var jscolor = { dir : '', ...
JavaScript
{ clips: [ { url: 'honda_accord.flv', name: 'Honda commercial', suggestedClipsInfoUrl: 'suggestions.js', duration: 180, thumbnailUrl: 'Thumb1.jpg', info: { viewed: 631, category: 'ads' } }, { url: 'river.flv', name: 'Skiing in Rovaniemi', suggestedClipsInfoUrl: 'suggestions.js', duration: 180...
JavaScript
function FVFPCheckVideo(id, nonce) { source = jQuery( '#src_'+id).val(); jQuery.ajax({ type: "POST", url: "../wp-admin/admin-ajax.php", timeout: 3000, data: { _ajax_nonce: nonce, id: id, source: source, action: 'fvp_ajax_action_checkvideo'}, success: function(data) { //console.log(data...
JavaScript
jQuery(document).ready(function () { jQuery('.akismet-status').each(function () { var thisId = jQuery(this).attr('commentid'); jQuery(this).prependTo('#comment-' + thisId + ' .column-comment div:first-child'); }); jQuery('.akismet-user-comment-count').each(function () { var thisId = jQuery(this).attr('commenti...
JavaScript
/** * SWFObject v1.4: Flash Player detection and embed - http://blog.deconcept.com/swfobject/ * * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License: * http://www.opensource.org/licenses/mit-license.php * * **SWFObject is the SWF embed script formarly known as FlashObject. The name wa...
JavaScript
/*! Video.js - HTML5 Video Player Version 3.2.0 LGPL v3 LICENSE INFO This file is part of Video.js. Copyright 2011 Zencoder, Inc. Video.js is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 ...
JavaScript
// This JavaScript was developed by GA-Experts (http://www.ga-experts.co.uk) for Google Analytics // Please use this code to overwrite the default set of Search Engines in the GA tracking code // Use this code at your own risk. GA Experts takes no responsibility for errors, loss of data or any other complications aris...
JavaScript
function bgfaq(foldup) { jQuery('.bg_faq_content_section :header:not(h6)').each(function(){ // select all the heading in .bg_faq_content_section other than h6 jQuery(this).addClass('bg_faq_closed'); //make these heading "closed" jQuery(this).nextUntil(':header').css({'display':'none'}); //hide everythi...
JavaScript
//v1.7 // Flash Player Version Detection // Detect Client Browser type // Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved. var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false; var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false; var isOpera = (na...
JavaScript
//this function use for checkall check boxes function delete_videos() { var frm_obj = document.video_list; if(check_chebox_checked(frm_obj["delId[]"])) { var result = confirm("Are you sure! you want to delete Videos"); if(result==true) { frm_obj.action="options-general.php?page=wp_post_video_...
JavaScript
/* VideoJS - HTML5 Video Player v2.0.2 This file is part of VideoJS. Copyright 2010 Zencoder, Inc. VideoJS is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your opti...
JavaScript
(function($) { $(document).ready( function() { $('.feature-slider a').click(function(e) { $('.featured-posts section.featured-post').css({ opacity: 0, visibility: 'hidden' }); $(this.hash).css({ opacity: 1, visibility: 'visible' ...
JavaScript
var farbtastic; (function($){ var pickColor = function(a) { farbtastic.setColor(a); $('#link-color').val(a); $('#link-color-example').css('background-color', a); }; $(document).ready( function() { $('#default-color').wrapInner('<a href="#" />'); farbtastic = $.farbtastic('#colorPickerDiv', pickColor); ...
JavaScript
(function() { tinymce.create('tinymce.plugins.YouTubeButton', { init : function(ed, url) { ed.addButton('youtube_button', { title : 'Add video from YouTube', image : url+'/youtube.png', onclick : function() { idPattern = /(?:(?:[^v]+)+v.)?([^&=]{11})(?=&|$)/; var vidId = prompt("Embed YouTub...
JavaScript
jQuery(document).ready(function(){ jQuery('.churchthemes_options').slideUp(); jQuery('.churchthemes_section h3').click(function(){ if(jQuery(this).parent().next('.churchthemes_options').css('display')==='none') { jQuery(this).removeClass('inactive').addClass('active').children('img').removeClass('inactive')...
JavaScript
jQuery(document).ready(function($) { $('#manager-sidebars #sidebar-list tbody tr:even') .addClass('alternate'); $('#manager-sidebars #sidebar-list tbody tr:first td') .append('<p>This will serve as the default sidebar area, it cannot be deleted</p>'); $('#manager-sidebars #sidebar-list tbody tr:first ...
JavaScript
/** * * Nested Sortable Plugin for jQuery/Interface. * * Version 1.0.1 * *Change Log: * 1.0 * Initial Release * 1.0.1 * Added noNestingClass option to prevent nesting in some elements. * * * Copyright (c) 2007 Bernardo de Padua dos Santos * Dual licensed under the MIT (MIT-LICENSE.txt) ...
JavaScript
jQuery(document).ready(function($) { var config = { accept: 'page-item', noNestingClass: "no-nesting", opacity: 0.5, helperclass: 'reorder-highlight', onChange: function(serialized) { reorderData = serialized[0].hash; }, autoScroll: true }; // submit new order $(".submit-reorder").click(function(...
JavaScript
/** * Interface Elements for jQuery * Sortables * * http://interface.eyecon.ro * * Copyright (c) 2006 Stefan Petre * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * */ /** * Allows you to resort elements within a container by dragging and dropping...
JavaScript
/** * Interface Elements for jQuery * Droppables * * http://interface.eyecon.ro * * Copyright (c) 2006 Stefan Petre * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * */ /** * With the Draggables plugin, Droppable allows you to create drop zones fo...
JavaScript
/** * Interface Elements for jQuery * Draggable * * http://interface.eyecon.ro * * Copyright (c) 2006 Stefan Petre * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. */ /** * Create a draggable element with a number of advanced options including callback, Google Maps type ...
JavaScript
/** * Interface Elements for jQuery * utility function * * http://interface.eyecon.ro * * Copyright (c) 2006 Stefan Petre * Dual licensed under the MIT (MIT-LICENSE.txt) * and GPL (GPL-LICENSE.txt) licenses. * * */ jQuery.iUtil = { getPosition : function(e) { var x = 0; var y = 0; var es = e.style; ...
JavaScript
// Target specific elements $(function(){ $("li:first-child").addClass("first"); $("li:last-child").addClass("last"); $("div.widget:first").addClass("first"); $("div.widget:last").addClass("last"); $(".navbar ul li ul li:has(ul)").find("a:first").append(" &raquo;"); });
JavaScript
$(function(){ $("ul.navbar li").hover(function(){ $(this).addClass("hover"); $('ul:first',this).css('visibility', 'visible'); }, function(){ $(this).removeClass("hover"); $('ul:first',this).css('visibility', 'hidden'); }); $("ul.navbar li ul li:h...
JavaScript
var showNotice, adminMenu, columns, validateForm, screenMeta, autofold_menu; (function($){ // Removed in 3.3. // (perhaps) needed for back-compat adminMenu = { init : function() {}, fold : function() {}, restoreMenuState : function() {}, toggle : function() {}, favorites : function() {} }; // show/hide/save table...
JavaScript
(function($){ function check_pass_strength() { var pass1 = $('#pass1').val(), user = $('#user_login').val(), pass2 = $('#pass2').val(), strength; $('#pass-strength-result').removeClass('short bad good strong'); if ( ! pass1 ) { $('#pass-strength-result').html( pwsL10n.empty ); return; } strength = p...
JavaScript
var tagBox, commentsBox, editPermalink, makeSlugeditClickable, WPSetThumbnailHTML, WPSetThumbnailID, WPRemoveThumbnail, wptitlehint; // return an array with any duplicate, whitespace or values removed function array_unique_noempty(a) { var out = []; jQuery.each( a, function(key, val) { val = jQuery.trim(val); if...
JavaScript
(function($) { inlineEditTax = { init : function() { var t = this, row = $('#inline-edit'); t.type = $('#the-list').attr('class').substr(5); t.what = '#'+t.type+'-'; $('.editinline').live('click', function(){ inlineEditTax.edit(this); return false; }); // prepare the edit row row.keyup(functio...
JavaScript
function WPSetAsThumbnail(id, nonce){ var $link = jQuery('a#wp-post-thumbnail-' + id); $link.text( setPostThumbnailL10n.saving ); jQuery.post(ajaxurl, { action:"set-post-thumbnail", post_id: post_id, thumbnail_id: id, _ajax_nonce: nonce, cookie: encodeURIComponent(document.cookie) }, function(str){ var win = w...
JavaScript
jQuery(document).ready( function($) { var stamp = $('#timestamp').html(); $('.edit-timestamp').click(function () { if ($('#timestampdiv').is(":hidden")) { $('#timestampdiv').slideDown("normal"); $('.edit-timestamp').hide(); } return false; }); $('.cancel-timestamp').click(function() { $('#timestampd...
JavaScript
jQuery(document).ready(function($) { var gallerySortable, gallerySortableInit, w, desc = false; gallerySortableInit = function() { gallerySortable = $('#media-items').sortable( { items: 'div.media-item', placeholder: 'sorthelper', axis: 'y', distance: 2, handle: 'div.filename', stop: function(e, ...
JavaScript
/*! * Farbtastic: jQuery color picker plug-in v1.3u * * Licensed under the GPL license: * http://www.gnu.org/licenses/gpl.html */ (function($) { $.fn.farbtastic = function (options) { $.farbtastic(this, options); return this; }; $.farbtastic = function (container, callback) { var container = $(container)...
JavaScript
var farbtastic; function pickColor(color) { farbtastic.setColor(color); jQuery('#background-color').val(color); jQuery('#custom-background-image').css('background-color', color); if ( color && color !== '#' ) jQuery('#clearcolor').show(); else jQuery('#clearcolor').hide(); } jQuery(document).ready(function()...
JavaScript
// send html to the post editor var wpActiveEditor; function send_to_editor(h) { var ed, mce = typeof(tinymce) != 'undefined', qt = typeof(QTags) != 'undefined'; if ( !wpActiveEditor ) { if ( mce && tinymce.activeEditor ) { ed = tinymce.activeEditor; wpActiveEditor = ed.id; } else if ( !qt ) { return ...
JavaScript
var findPosts; (function($){ findPosts = { open : function(af_name, af_val) { var st = document.documentElement.scrollTop || $(document).scrollTop(); if ( af_name && af_val ) { $('#affected').attr('name', af_name).val(af_val); } $('#find-posts').show().draggable({ handle: '#find-posts-head' ...
JavaScript
/** * PubSub * * A lightweight publish/subscribe implementation. * Private use only! */ var PubSub, fullscreen, wptitlehint; PubSub = function() { this.topics = {}; }; PubSub.prototype.subscribe = function( topic, callback ) { if ( ! this.topics[ topic ] ) this.topics[ topic ] = []; this.topics[ topic ].pu...
JavaScript
(function($) { wpWordCount = { settings : { strip : /<[a-zA-Z\/][^<>]*>/g, // strip HTML tags clean : /[0-9.(),;:!?%#$¿'"_+=\\/-]+/g, // regexp to remove punctuation, etc. count : /\S\s+/g // counting regexp }, block : 0, wc : function(tx) { var t = this, w = $('.word-count'), tc = 0; if ( ...
JavaScript
// utility functions var wpCookies = { // The following functions are from Cookie.js class in TinyMCE, Moxiecode, used under LGPL. each : function(o, cb, s) { var n, l; if (!o) return 0; s = s || o; if (typeof(o.length) != 'undefined') { for (n=0, l = o.length; n<l; n++) { if (cb.call(s, o[n], n...
JavaScript
var postboxes, is_iPad = navigator.userAgent.match(/iPad/); (function($) { postboxes = { add_postbox_toggles : function(page, args) { this.init(page, args); $('.postbox h3, .postbox .handlediv').bind('click.postboxes', function() { var p = $(this).parent('.postbox'), id = p.attr('id'); if ( 'dashboa...
JavaScript
/** * WordPress Administration Navigation Menu * Interface JS functions * * @version 2.0.0 * * @package WordPress * @subpackage Administration */ var wpNavMenu; (function($) { var api = wpNavMenu = { options : { menuItemDepthPerLevel : 30, // Do not use directly. Use depthToPx and pxToDepth instead. ...
JavaScript
var ajaxWidgets, ajaxPopulateWidgets, quickPressLoad; jQuery(document).ready( function($) { /* Dashboard Welcome Panel */ var welcomePanel = $('#welcome-panel'), welcomePanelHide = $('#wp_welcome_panel-hide'), updateWelcomePanel = function( visible ) { $.post( ajaxurl, { action: 'update-welcome-panel', ...
JavaScript
var theList, theExtraList, toggleWithKeyboard = false, getCount, updateCount, updatePending, dashboardTotals; (function($) { setCommentsList = function() { var totalInput, perPageInput, pageInput, lastConfidentTime = 0, dimAfter, delBefore, updateTotalCount, delAfter, refillTheExtraList; totalInput = $('input[name=...
JavaScript
/* Plugin Browser Thickbox related JS*/ var tb_position; jQuery(document).ready(function($) { tb_position = function() { var tbWindow = $('#TB_window'), width = $(window).width(), H = $(window).height(), W = ( 720 < width ) ? 720 : width, adminbar_height = 0; if ( $('body.admin-bar').length ) adminbar_height =...
JavaScript
var wpWidgets; (function($) { wpWidgets = { init : function() { var rem, sidebars = $('div.widgets-sortables'), isRTL = !! ( 'undefined' != typeof isRtl && isRtl ), margin = ( isRtl ? 'marginRight' : 'marginLeft' ), the_id; $('#widgets-right').children('.widgets-holder-wrap').children('.sidebar-name').click(...
JavaScript
var switchEditors = { switchto: function(el) { var aid = el.id, l = aid.length, id = aid.substr(0, l - 5), mode = aid.substr(l - 4); this.go(id, mode); }, go: function(id, mode) { // mode can be 'html', 'tmce', or 'toggle' id = id || 'content'; mode = mode || 'toggle'; var t = this, ed = tinyMCE.get(i...
JavaScript
jQuery(document).ready( function($) { var newCat, noSyncChecks = false, syncChecks, catAddAfter; $('#link_name').focus(); // postboxes postboxes.add_postbox_toggles('link'); // category tabs $('#category-tabs a').click(function(){ var t = $(this).attr('href'); $(this).parent().addClass('tabs').siblings('li...
JavaScript
var thickDims, tbWidth, tbHeight; jQuery(document).ready(function($) { thickDims = function() { var tbWindow = $('#TB_window'), H = $(window).height(), W = $(window).width(), w, h; w = (tbWidth && tbWidth < W - 90) ? tbWidth : W - 90; h = (tbHeight && tbHeight < H - 60) ? tbHeight : H - 60; if ( tbWindow.s...
JavaScript
jQuery(document).ready( function($) { var before, addBefore, addAfter, delBefore; before = function() { var nonce = $('#newmeta [name="_ajax_nonce"]').val(), postId = $('#post_ID').val(); if ( !nonce || !postId ) { return false; } return [nonce,postId]; } addBefore = function( s ) { var b = before(); if...
JavaScript
// Password strength meter function passwordStrength(password1, username, password2) { var shortPass = 1, badPass = 2, goodPass = 3, strongPass = 4, mismatch = 5, symbolSize = 0, natLog, score; // password 1 != password 2 if ( (password1 != password2) && password2.length > 0) return mismatch //password < 4 if ...
JavaScript
jQuery(document).ready( function($) { $('#link_rel').prop('readonly', true); $('#linkxfndiv input').bind('click keyup', function() { var isMe = $('#me').is(':checked'), inputs = ''; $('input.valinp').each( function() { if (isMe) { $(this).prop('disabled', true).parent().addClass('disabled'); } else { ...
JavaScript
jQuery(document).ready(function($) { var options = false, addAfter, delBefore, delAfter; if ( document.forms['addcat'].category_parent ) options = document.forms['addcat'].category_parent.options; addAfter = function( r, settings ) { var name, id; name = $("<span>" + $('name', r).text() + "</span>").text(); ...
JavaScript
var ThemeViewer; (function($){ ThemeViewer = function( args ) { function init() { $( '#filter-click, #mini-filter-click' ).unbind( 'click' ).click( function() { $( '#filter-click' ).toggleClass( 'current' ); $( '#filter-box' ).slideToggle(); $( '#current-theme' ).slideToggle( 300 ); return false...
JavaScript
var imageEdit; (function($) { imageEdit = { iasapi : {}, hold : {}, postid : '', intval : function(f) { return f | 0; }, setDisabled : function(el, s) { if ( s ) { el.removeClass('disabled'); $('input', el).removeAttr('disabled'); } else { el.addClass('disabled'); $('input', el).prop('disable...
JavaScript
jQuery(document).ready(function($) { $('.delete-tag').live('click', function(e){ var t = $(this), tr = t.parents('tr'), r = true, data; if ( 'undefined' != showNotice ) r = showNotice.warn(); if ( r ) { data = t.attr('href').replace(/[^?]*\?/, '').replace(/action=delete/, 'action=delete-tag'); $.post(a...
JavaScript
(function($) { inlineEditPost = { init : function(){ var t = this, qeRow = $('#inline-edit'), bulkRow = $('#bulk-edit'); t.type = $('table.widefat').hasClass('pages') ? 'page' : 'post'; t.what = '#post-'; // prepare the edit rows qeRow.keyup(function(e){ if (e.which == 27) return inlineEditPost.rev...
JavaScript
function hello() { var nameValue = $("name").value; var ageValue = $("age").value; var p = {name:nameValue, age:ageValue}; var p2 = {name:nameValue, age:ageValue}; var p3 = [p,p2]; Hello.hello(p, callback); } function callback(msg) { for(var i=0;i<msg.length;i++){ alert(msg[i].name + msg[i].age); } }
JavaScript
qx.Class.define("frittregnskapmedlemsportal.EventSignup", { extend: qx.core.Object, members: { __desktop : null, __win : null, __mainBox : null, __detailBox : null, __eventAccessor : null, register: function() { var grid = new qx.ui.layou...
JavaScript
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2007 Visionet GmbH, http://www.visionet.de License: LGPL: http://www.gnu.org/licenses/lgpl.html EPL: http://www.eclipse.org/org/documents/epl-...
JavaScript
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2007 Visionet GmbH, http://www.visionet.de License: LGPL: http://www.gnu.org/licenses/lgpl.html EPL: http://www.eclipse.org/org/doc...
JavaScript
qx.Class.define("frittregnskapmedlemsportal.Membersearch", { extend: qx.core.Object, members: { __win: null, __users: null, __userList: null, __eventKeyUpRunning: false, __searchTextField: null, __desktop: null, createLabel: function(txt){ ...
JavaScript
qx.Class.define("frittregnskapmedlemsportal.Email", { extend : qx.core.Object, members : { __textarea : 0, __sendButton : 0, __infoLabel : 0, sendEmail : function(personId) { this.__sendButton.setEnabled(false); var req = new qx.io.remote.Request("/RegnskapServer/services/portal/port...
JavaScript
qx.Class.define("frittregnskapmedlemsportal.Login", { extend: qx.core.Object, members: { setupLoginIfNeeded: function(){ var req = new qx.io.remote.Request("/RegnskapServer/services/portal/portal_authenticate.php?action=sessionvalid", "GET", "application/json"); req.se...
JavaScript
qx.Class.define("frittregnskapmedlemsportal.EventAccesser", { extend: qx.core.Object, members: { __event : null, __inputs : {}, __index : {}, setEventObject : function(event) { this.__event = event; this.indexGroups(); this.setWid...
JavaScript
qx.Class.define("frittregnskapmedlemsportal.ProfilePicture", { extend : qx.core.Object, __popup : null, __image : null, members : { createUploadButton : function(profileImage, win) { this.__popup = new qx.ui.popup.Popup(new qx.ui.layout.Grow()); this.__image = new qx.ui.basic.Image(); this.__image.addLi...
JavaScript
/* ************************************************************************ Copyright: License: Authors: ************************************************************************ */ qx.Theme.define("frittregnskapmedlemsportal.theme.Font", { extend : qx.theme.modern.Font, fonts : { } });
JavaScript
/* ************************************************************************ Copyright: License: Authors: ************************************************************************ */ qx.Theme.define("frittregnskapmedlemsportal.theme.Decoration", { extend : qx.theme.modern.Decoration, decorations : { ...
JavaScript
/* ************************************************************************ Copyright: License: Authors: ************************************************************************ */ qx.Theme.define("frittregnskapmedlemsportal.theme.Theme", { meta : { color : frittregnskapmedlemsportal.theme.Color, ...
JavaScript
/* ************************************************************************ Copyright: License: Authors: ************************************************************************ */ qx.Theme.define("frittregnskapmedlemsportal.theme.Appearance", { extend : qx.theme.modern.Appearance, appearances : { ...
JavaScript
/* ************************************************************************ Copyright: License: Authors: ************************************************************************ */ qx.Theme.define("frittregnskapmedlemsportal.theme.Color", { extend : qx.theme.modern.Color, colors : { } });
JavaScript
qx.Class.define("frittregnskapmedlemsportal.Profile", { extend: qx.core.Object, members: { logout: function(){ var ok = confirm("Vil du logge ut?"); if (ok) { var req = new qx.io.remote.Request("/RegnskapServer/services/portal/portal_authenticate...
JavaScript
qx.Class.define("frittregnskapmedlemsportal.Events", { extend: qx.core.Object, members: { __desktop : null, __win : null, __mainBox : null, changeToEventView : function(event) { var req = new qx.io.remote.Request("/RegnskapServer/services/portal/portal_events.php?act...
JavaScript
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2007 Visionet GmbH, http://www.visionet.de License: LGPL: http://www.gnu.org/licenses/lgpl.html EPL: http://www.eclipse.org/org/documents/epl-...
JavaScript
/* ************************************************************************ Copyright: License: Authors: ************************************************************************ */ /* ************************************************************************ #asset(frittregnskapmedlemsportal/*) ********************...
JavaScript
qx.Class.define("frittregnskapmedlemsportal.ProfileGallery", { extend : qx.core.Object, members : { __index : 0, __desktop : 0, __imagesAndLabels : 0, __users : 0, __nextButton : 0, __previousButton : 0, createSlots : function(win) { this.__imagesAndLabels = {}; var count = 0; for ( var row =...
JavaScript
/* ************************************************************************ Copyright: License: Authors: ************************************************************************ */ /** * This class demonstrates how to define unit tests for your application. * * Execute <code>generate.py test</code> to ...
JavaScript
/* Copyright (c) 2003-2011, 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 = '#AADC6...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','en',{placeholder:{title:'Placeholder Properties',toolbar:'Create Placeholder',text:'Placeholder Text',edit:'Edit Placeholder',te...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('placeholder','he',{placeholder:{title:'מאפייני שומר מקום',toolbar:'צור שומר מקום',text:'תוכן שומר המקום',edit:'ערוך שומר מקום',textMissing:'שו...
JavaScript
/* Copyright (c) 2003-2011, 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:'Predefi...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('uicolor','he',{uicolor:{title:'בחירת צבע ממשק משתמש',preview:'תצוגה מקדימה',config:'הדבק את הטקסט הבא לתוך הקובץ config.js',predefined:'קבוצות...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.setLang('devtools','en',{devTools:{title:'Element Information',dialogName:'Dialog window name',tabName:'Tab name',elementId:'Element ID',elementType:'E...
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */
JavaScript
/* Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ CKEDITOR.plugins.add('docprops',{init:function(a){var b=new CKEDITOR.dialogCommand('docProps');b.modes={wysiwyg:a.config.fullPage};a.addCommand('docProps',b);CKEDITOR.d...
JavaScript
/* This program 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 option) any later version. This program is distributed in the hope that it will be useful, but WIT...
JavaScript
function Login(){ } Login.prototype = { /** * This method starts Login Window behavior * @param {string} domId * ModalWindow DOM Id * @param {string} focusId * Dom Element Id that receives focus after Window Start * @param {boolean} backdrop * Do Application background turn...
JavaScript
SeLiteExtensionSequencer.registerPlugin( { pluginId: 'selblocks-global@selite.googlecode.com', coreUrl: [ 'chrome://selite-selblocks-global/content/extensions/name-space.js', 'chrome://selite-selblocks-global/content/extensions/logger.js', 'chrome://selite-selblocks-global/content/extensions/f...
JavaScript
// selbocks name-space (function($$){ /* Function interception */ $$.fn = {}; //@TODO It looks like functions intercepted by the following can't have any parameters. -Peter Kehl // execute the given function before each call of the specified function $$.fn.interceptBefore = function(targetObj, targ...
JavaScript
/** Parse basic expressions. */ // selbocks name-space (function($$){ $$.InfixExpressionParser = { _objname : "InfixExpressionParser" ,BRACKET_PAIRS : { "(": ")", "{": "}", "[": "]" } ,trimListValues : true //- Parse a string into a list on the given delimiter character, // respect...
JavaScript
// SelBlocks name-space var selblocks = { name: "SelBlocks" }; (function($$){ /* Starting with FF4 lots of objects are in an XPCNativeWrapper, * and we need the underlying object for == and for..in operations. */ $$.unwrapObject = function(obj) { if (typeof(obj) === "undefined" || obj == null) ...
JavaScript
// selbocks name-space (function($$){ /* This function replaces native Selenium command handling for the exitScript command. * It alters command processing such that the script simply halts rather executing the next command. */ $$.handleAsExitTest = function() { try { selenium.browserbot.r...
JavaScript
/* Copyright 2011 Chris Noe * Copyright 2011, 2012, 2013, 2014 Peter Kehl * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 1.1. If a copy of the MPL was not distributed with this file, * You can obtain one at http://mozilla.org/MPL/1.1/. */ /** * SelBlocks Global = SelBlocks wit...
JavaScript
// selbocks name-space (function($$){ /* This function replaces native Selenium command handling while inside a try block. */ $$.handleAsTryBlock = function() { try { selenium.browserbot.runScheduledPollers(); this._executeCurrentCommand(); this.continueTestWhenConditionIsTrue();...
JavaScript
/** Provides richer functionality than is available via Selenium xpathEvaluator. * Used only by locator-builders, because it assumes a Firefox environment. */ // selbocks name-space (function($$){ $$.xp = { // Evaluate an xpathExpression against the given document object. // The document is als...
JavaScript
// selbocks name-space (function($$){ /* LOG wrapper for SelBlocks-specific behavior */ function Logger() { this.error = function (msg) { this.logit("error", msg); }; this.warn = function (msg) { this.logit("warn", msg); }; this.info = function (msg) { this.logit("info", msg); }; t...
JavaScript
var eurostile_demi = { src: '/img/eurostile_demi.swf' }; var eurostile_cond = { src: '/img/eurostile_cond.swf' }; var eurostile_bold_oblique = { src: '/img/eurostile_bold_oblique.swf' }; sIFR.useStyleCheck = true; sIFR.activate(eurostile_demi, eurostile_cond, eurostile_bold_oblique); sI...
JavaScript
/** * -------------------------------------------------------------------- * jQuery-Plugin "pngFix" * Version: 1.2, 09.03.2009 * by Andreas Eberhard, andreas.eberhard@gmail.com * http://jquery.andreaseberhard.de/ * * Copyright (c) 2007 Andreas Eberhard * Licensed under GPL (http://w...
JavaScript
/*=:project scalable Inman Flash Replacement (sIFR) version 3, revision 436. Provides debug information about sIFR. =:file Copyright: 2006 Mark Wubben. Author: Mark Wubben, <http://novemberborn.net/> =:license * This software is licensed and provided under the CC-GNU LGPL * See <http://cr...
JavaScript
/* =============================================================================== WResize is the jQuery plugin for fixing the IE window resize bug ............................................................................... Copyright 2007 / Andrea Ercolino ...
JavaScript