From StrategyWiki, the video game walkthrough and strategy guide wiki
< User:Inarius
Revision as of 06:25, 19 October 2006 by Inarius (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
// [[User:Lupin/popups.js]]

document.write('<script type="text/javascript" src="http://en.wikipedia.org/w/index.php?title=User:Lupin/popups.js&action=raw&ctype=text/javascript&dontcountme=s"></script>');

simplePopups=false;
popupAdminLinks=true;
popupStructure='menus';
popupFixRedirs=true;
popupFixDabs=true;
popupPreviewFirstParOnly=false;
popupExtraUserMenu=true;
popupUseQueryInterface = false;
function siteArticlePath(){ return 'wiki'; }
function siteBotInterfacePath(){ return 'w'; }

// Moves any exiting #nav_toc to #nav_right
function domNavToc()
{
	alert('test');
	//var errNode  = document.createTextNode( "No Sidebar" ); 
	var navRight = document.getElementById( 'nav_right' );

	if( !navRight ) {
		return 0;
	}
	
	// Append errNode if navToc doesn't exist
	var navToc   = document.getElementById( 'nav_toc' );
	if( !navToc ) {
		//navRight.appendChild( errNode ); 
		return 0;
	}

	var navToc2 = navToc.cloneNode(true);
	navToc.parentNode.removeChild(navToc);
	navRight.appendChild( navToc2 ); 

	navToc2.style.display = 'block';
}