Forum:I need CSS-JS for returning navigation menus to the admin-tools dashboard

I like some of the features of the new admin-tools dashboard, but I need my wiki's navigation menus back. I use the menus all the time from all pages on the wiki.

What CSS and/or JS do I need to return these menus to the admin-tools dashboard: http://cannabis.wikia.com/wiki/MediaWiki:Wiki-navigation

I will also make a suggestion to the Wikia staff to return the menus, but I need an immediate solution too. Thus the request here where most of the skilled CSS and JS people will see it quickly. --Timeshifter 19:44, August 7, 2011 (UTC)
 * RuneScape Wiki has developed the following CSS to hide the header:


 * The JS is:

Fill the first part (the one before the .insertAfter) with the HTMl header code&mdash;everything between  and. Please note, however, that you should only put it into your personal .css and .js files, as placing the coding into the MediaWiki namespace would be a ToU violation. TK 999  20:08, August 7, 2011 (UTC)


 * Thanks. I am not trying to hide the dashboard, or any part of it. I am trying to add back MediaWiki:Wiki-navigation at the top. Above the dashboard area. --Timeshifter 12:09, August 8, 2011 (UTC)
 * Then you'll only need the JS, but you'll also have to change  to   Hope it helps!  TK  999  12:49, August 8, 2011 (UTC)
 * You won't need anything after   TK  999  12:53, August 8, 2011 (UTC)
 * I tried out the revised JS, did Ctrl-F5 in Firefox, and I saw no change at
 * http://cannabis.wikia.com/index.php?title=Special:RecentChanges
 * There is still no MediaWiki:Wiki-navigation at the top above the admin tools. As you instructed I changed the JS from  to
 * See: http://cannabis.wikia.com/wiki/User:Timeshifter/wikia.js


 * I did not understand your other comment. Did I need to add, change, or do something else? --Timeshifter 13:27, August 8, 2011 (UTC)
 * You did not paste the HTML source code in, so this is what you need:

TK 999  14:14, August 8, 2011 (UTC)


 * Thanks. It works. Now I more fully understand what people mean by an ugly hack. ;)


 * Is there a way to have MediaWiki:Wiki-navigation imported more simply? --Timeshifter 15:04, August 8, 2011 (UTC)
 * I do not know of such methods. This is its HTMl source code, and the script would probably freak out from simplified MediaWiki. TK  999  16:11, August 8, 2011 (UTC)
 * It's possible, but requires slightly more code:


 * Theoretically, barring some cookie string rules, this will save the HTML of the header for the wiki you're on every time you load a page containing the header. Then, when you go to the dashboard, it'll paste that saved HTML as the header.


 * Thanks again. I tried out the JS here:
 * http://cannabis.wikia.com/wiki/User:Timeshifter/wikia.js


 * I then did Ctrl-F5 there in my Firefox browser, and then went here and saw no navigation menus:
 * http://cannabis.wikia.com/wiki/Special:RecentChanges


 * I then went to another page to make sure there was a chance to pick up the navigation HTML, and then back to a refreshed recent changes page. No navigation menus. --Timeshifter 13:14, August 9, 2011 (UTC)