Utente:LikeLifer/vector.js: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Nuova pagina: jQuery(document).ready(function(){ if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { $j( function() { $j( '#wpTextbox1' ).wikiEdit...
(Nessuna differenza)

Versione delle 17:38, 2 gen 2012

jQuery(document).ready(function(){ 
    if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
        $j( function() {
            $j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
                    'section': 'advanced',
                    'group': 'format',
                    'tools': {
                            'sott': {
                                    label: 'Fatto',
                                    type: 'button',
                                    icon: 'https://upload.wikimedia.org/wikipedia/commons/e/e9/Button_done.png',
                                    action: {
                                            type: 'encapsulate',
                                            options: {
                                                    pre: '[[Image:Yes_check.svg|15px| ]] '''Fatto'''',
                                            }
                                    }
                            }
                    }
            } );
 
        } );
    }
});