User:OrenBochman/common.js

//$('#menu').stickyfloat({duration: 400}); //$('#content').css('border','solid 10px red');

mediaWiki.loader.using(['jquery.ui.dialog'],function{   // Add MediaWiki.org-link in the toolbox before the Print-link    var link=mw.util.addPortletLink( 'p-tb', '//www.mediawiki.org/', 'Open Dialog', 't-mworg', 'Open a sample dialog', 'm', '#t-print' );   $(link).click(function(event){ event.preventDefault; alert('Hello World'); }); });