Jump to content

User:YuviPanda/common.js

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by YuviPanda (talk | contribs) at 03:05, 15 March 2012. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
mw.loader.using("jquery.ui.button", function() {
    $(function() {
        $("<div id='madamhut-toolbar-container'><div id='madamhut-toolbar'><a class='madamhut-drop-button'>High Importance</a><a class='madamhut-drop-button'>B+ Class</a><a class='madamhut-button' href='http://yuvi.in/MadamHut/r/Unassessed_India_articles/'>Next Article</a></div></div>").appendTo("body");
        $(".madamhut-button").button();
        $(".madamhut-drop-button").button({
            icons: {
                secondary: "ui-icon-triangle-1-s"
            }
        });
        $("#madamhut-toolbar").buttonset();
    });
});