Forum Moderators: open
<iframe src="navbar.html" onload="this.insertAdjacentHTML('afterend', (this.contentDocument.body||this.contentDocument).innerHTML);this.remove()"></iframe>
<?php
include("/folder/filename.php");
?> So, I've now set up a local server with Python.
the less Javascript the betterIn this specific case, the only acceptable amount of javascript is none at all. Otherwise you'd have to make an alternative navbar <noscript> for users with scripting turned off, and then you're right back where you started.
there are about six pages on the site that won't work without javascript, so those pages will never be functional with javascript disabled.
<noscript>
<meta http-equiv="refresh" content="0; url=https://html.duckduckgo.com/">
</noscript>
these are online calculators that perform scientific calculations based on user entered data