v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Difference between revisions of "User:Slitherrr/hideAnnouncements.js"
Jump to navigation
Jump to search
(Created page with 'addOnloadHook( function () { if (document.getElementById('siteNotice').innerHTML == get_cookie('dfannounce')){ collapseTable(0); // the announcements table is a…') |
|||
Line 1: | Line 1: | ||
addOnloadHook( | addOnloadHook( | ||
function () { | function () { | ||
− | + | /* if (document.getElementById('siteNotice').innerHTML == get_cookie('dfannounce')){ | |
collapseTable(0); // the announcements table is assumed to be collapsableTable0 in this case. This could be different depending on skin. | collapseTable(0); // the announcements table is assumed to be collapsableTable0 in this case. This could be different depending on skin. | ||
− | } | + | }*/ |
+ | document.getElementById('siteNotice').style.display = 'none'; | ||
} | } | ||
); | ); |
Revision as of 16:47, 7 April 2010
addOnloadHook(
function () {
/* if (document.getElementById('siteNotice').innerHTML == get_cookie('dfannounce')){
collapseTable(0); // the announcements table is assumed to be collapsableTable0 in this case. This could be different depending on skin.
}*/
document.getElementById('siteNotice').style.display = 'none';
}
);