domokun
3 weeks ago
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 😿😿😿
brachypelmide
3 weeks ago
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)`
brachypelmide
3 weeks ago
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
angeldolly
4 weeks ago
EEEEEEEEE thank you thank you im glad it comes across the way I intended it's lidiwally my first animation
welcome to the rewrite trenches. enjoy your stay