RabbitNET

rabbitnet.neocities.org

130,548 views
123 followers
3,088 updates
0 tips
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!
12 likes
rabbitnet's avatar rabbitnet 3 months ago

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

3 likes
kkbkkb's avatar kkbkkb 3 months ago

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

1 like
kkbkkb's avatar kkbkkb 3 months ago

ok this actually might be what you're looking for https://petrapixel.neocities.org/coding/layout-base-code

1 like
rabbitnet's avatar rabbitnet 3 months ago

@kkbkkb YES!!! THANK YOU! I remember seeing this tutorial forever ago and forgetting to bookmark it lmao. Thank you this will be so helpful!

mollusk's avatar mollusk 3 months ago

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>

1 like

Website Stats

Last updated 2 weeks ago
CreatedJul 27, 2023
Site Traffic Stats

Tags

shrines art personal pixelart gaming