Hello! It's been a while since I've done anything here.. I was in the process of creating a huge background resource and truthfully it was WAY TOO MUCH WORK, so it's being shelved for now. But anyway I'm graduating uni soon, so I'll have way more time to update the site!
However I do need a little help. I want to fix up the spaghetti code of Rabbitnet. Does anybody know of a good way to keep my sidebar and heading consistent across pages without having to copy and paste it all the time *or* use iframes??? 👉👈 🥺 I can't keep living this copy + paste life, it's a nightmare
i've got this bookmarked somewhere, somebody somewhere on neocities has a tutorial/code snippet that i believe uses javascript to make navigation-coding less of a chore; i'll try and find it and get back to you (or hopefully a magical person who has the code will see this post)!! :3
not necessarily what you're looking for and i do recommend using the prepackaged js solution but if you ever for some reason need a native html solution for includes you can save the code separately as it's own html file (without html head body tags etc) and use <object type="text/html" data="this is where the filename goes"></object>
However I do need a little help. I want to fix up the spaghetti code of Rabbitnet. Does anybody know of a good way to keep my sidebar and heading consistent across pages without having to copy and paste it all the time *or* use iframes??? 👉👈 🥺 I can't keep living this copy + paste life, it's a nightmare
i've got this bookmarked somewhere, somebody somewhere on neocities has a tutorial/code snippet that i believe uses javascript to make navigation-coding less of a chore; i'll try and find it and get back to you (or hopefully a magical person who has the code will see this post)!! :3
ok this actually might be what you're looking for https://petrapixel.neocities.org/coding/layout-base-code
@kkbkkb YES!!! THANK YOU! I remember seeing this tutorial forever ago and forgetting to bookmark it lmao. Thank you this will be so helpful!
not necessarily what you're looking for and i do recommend using the prepackaged js solution but if you ever for some reason need a native html solution for includes you can save the code separately as it's own html file (without html head body tags etc) and use <object type="text/html" data="this is where the filename goes"></object>