Important: The GCConnex decommission will not affect GCCollab or GCWiki. Thank you and happy collaborating!
Difference between revisions of "Office of Drug Research and Surveillance"
Jump to navigation
Jump to search
| Line 15: | Line 15: | ||
</div> | </div> | ||
</div> | </div> | ||
| + | |||
| + | document.addEventListener('DOMContentLoaded', function () { | ||
| + | const btn = document.createElement('button'); | ||
| + | btn.textContent = 'Toggle Dark Mode'; | ||
| + | btn.onclick = function () { | ||
| + | document.body.classList.toggle('dark-mode'); | ||
| + | }; | ||
| + | document.body.insertBefore(btn, document.body.firstChild); | ||
| + | }); | ||
Revision as of 08:42, 26 August 2025
Introduction
This is an example of a visually dynamic Wikipedia-style page.
Features
Dark Mode
Dark mode is not available on this wiki unless enabled by administrators.
Collapsible Content
You can use collapsible sections like this:
Click to expand
This content is initially hidden. Click the title to reveal it.
document.addEventListener('DOMContentLoaded', function () {
const btn = document.createElement('button');
btn.textContent = 'Toggle Dark Mode';
btn.onclick = function () {
document.body.classList.toggle('dark-mode');
};
document.body.insertBefore(btn, document.body.firstChild);
});