since the url doesn’t change i can’t conditionally hide the element with, for example:
// hide header if url contains "#dest"
if (window.location.href.indexOf("#dest") != -1) {
$("header").hide();
}
…which works nicely on all other pages.
any ideas of another condition that could be met to pull it off? perhaps something with php instead? can i set something in .htaccess
so the /404.php
would show in the url instead of keeping the erroneous url the user accidentially typed? if so, i could easily target that condition.