⋆.˚

domokun.neocities.org

1,781 views
24 followers
450 updates
0 tips
grrr i think i need to fix my code or something i broke it lowkey LOL (not on neocities but on my side in my editor thing)
1 like
domokun's avatar domokun 1 month 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 😿😿😿

1 like
domokun's avatar domokun 1 month ago

on everypage* not one page BOI

brachypelmide's avatar brachypelmide 1 month 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)`

1 like
brachypelmide's avatar brachypelmide 1 month 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

1 like
domokun's avatar domokun 1 month ago

ur the smartest thats ever smarted😻😻😻😻

1 like
brachypelmide's avatar brachypelmide 1 month ago

hmu if you need help with javascript cause this is like crack for me

1 like

Website Stats

Last updated 1 week ago
CreatedJul 15, 2023
Site Traffic Stats

Tags

goth domokun personal emo