"SHSI Certificate of Recognition"
"Best on the Web"


Encyclopedia Dubuque

www.encyclopediadubuque.org

"Encyclopedia Dubuque is the online authority for all things Dubuque, written by the people who know the city best.”
Marshall Cohen—researcher and producer, CNN

Affiliated with the Local History Network of the State Historical Society of Iowa, and the Iowa Museum Association.




MediaWiki:Common.js: Difference between revisions

From Encyclopedia Dubuque
Jump to navigation Jump to search
(New page: →‎Any JavaScript here will be loaded for all users on every page load.: var isMainPage = (document.title.substr(0, document.title.lastIndexOf(" - ")) == "Encyclopedia Dubuque"); var is...)
 
No edit summary
 
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */
var isMainPage = (document.title.substr(0, document.title.lastIndexOf(" - ")) == "Encyclopedia Dubuque");
var isDiff = (document.location.search &&
                (document.location.search.indexOf("diff=") != -1 ||
                    document.location.search.indexOf("oldid=") != -1
                )
            );
if (isMainPage && !isDiff) {
    document.write('<style type="text/css">/*<![CDATA[*/ h1.firstHeading { display: none !important; } /*]]>*/</style>');
}

Latest revision as of 16:33, 15 September 2008

/* Any JavaScript here will be loaded for all users on every page load. */