User:FlyingRagnar/vector.js: Difference between revisions
Jump to navigation
Jump to search
FlyingRagnar (talk | contribs) No edit summary |
FlyingRagnar (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
// Anything in this function wrapper will be executed when the page is ready for action | // Anything in this function wrapper will be executed when the page is ready for action | ||
mw.loader.load( 'jquery.ui.tabs' ); | |||
function load_tabs() { | function load_tabs() { | ||
//alert('stupid'); | //alert('stupid'); | ||
jQuery( "#tabs" ).tabs(); | jQuery( "#tabs" ).tabs(); | ||
Revision as of 20:21, 19 October 2011
// Anything in this function wrapper will be executed when the page is ready for action
mw.loader.load( 'jquery.ui.tabs' );
function load_tabs() {
//alert('stupid');
jQuery( "#tabs" ).tabs();
};
jQuery( load_tabs );
//addOnloadHook( load_tabs );
// install [[Wikipedia:User:Cacycle/wikEd]] in-browser text editor
//document.write('<script type="text/javascript" src="'
//+ 'http://en.wikipedia.org/w/index.php?title=User:Cacycle/wikEd.js'
//+ '&action=raw&ctype=text/javascript"></' + 'script>');