my go-to for javascript navbars was to just use the .innerHTML method to load the navbar, so in like your main script just insert something like document.getElementById("ur_nav_element_id").innerHTML = `your navbar content (make sure to use backticks so that you don't have to be careful around quotation marks)`
everypony should go follow and take a peak at my friend's website theyre soooo cool and need ideas for their site LOL sooooo if youre so incredibly kind and generous... give them a follow... or a comment.. https://vivid48.neocities.org
i have a button now!!! if anyone would like to be neighbors reply to this message so when i make my neighbors page i can add you! feel free to add me to yours as well ^_^
iframes lowkey not the way 2 go for having the nav on one page.... but i know like almost no javascript i looked everything up 😿😿😿
on everypage* not one page BOI
my go-to for javascript navbars was to just use the .innerHTML method to load the navbar, so in like your main script just insert something like document.getElementById("ur_nav_element_id").innerHTML = `your navbar content (make sure to use backticks so that you don't have to be careful around quotation marks)`
you can also expand upon this idea and have the main script create the navbar element itself so that you dont have to insert it on every page manually
ur the smartest thats ever smarted😻😻😻😻
hmu if you need help with javascript cause this is like crack for me