Site for researching all meanings of Hebrew Bible.

<addthis />

MediaWiki:Common.js: Difference between revisions

From Without Vowels project
Jump to navigation Jump to search
Victor Porton (talk | contribs)
No edit summary
Victor Porton (talk | contribs)
No edit summary
Line 3: Line 3:
$(document).ready(function() {
$(document).ready(function() {
                 $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
                 $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
                         'section': 'emoticons',
                         'section': 'main',
                         'group': 'faces',
                         'group': 'format',
                         'tools': {
                         'tools': {
                                 'hebrew_link': {
                                 'hebrew_link': {

Revision as of 17:54, 28 October 2011

/* Any JavaScript here will be loaded for all users on every page load. */

$(document).ready(function() {
                $( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
                        'section': 'main',
                        'group': 'format',
                        'tools': {
                                'hebrew_link': {
                                        label: 'Hebrew word with dictionary link',
                                        type: 'button',
                                        icon: 'http://www.withoutvowels.org/w/images/9/95/Button_hebrew_word.png',
                                        action: {
                                                type: 'callback',
                                                execute: function() {
                                                        alert("Test!");
                                                }
                                        }
                                }
                        }
                } );
});