Neocities.org

H3's Neocities Seite

h3.neocities.org

93,045 views
21 followers
1,281 updates
0 tips
FOUND BIG BUG: on some pages you cant interact with anything under the transparent picture! you need to add this to the css for it: div.cur { pointer-events: none; position: fixed; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%;} div.cur img {width: 100%; height: 100%;} this will make the mose "click though it". also the image is too small so this fixes it.
hi. i stumbled accross you site and noticed that the swag toggle button is not memorized between page reloads so i made an edited version of its javascript that stores the state in the localStorage (basically cookies but more permanent and only for clientside javascript). here is the pastbin link: https://pastebin.com/quV2v3gn if you want to know more about local storage read its MDN article: https://mzl.la/3LTNc9l
hasnogame 2 years ago

Hey thank you so much for this! I saw this months ago and finally got some time this morning to implement this it into my site. Your code was almost perfect, just needed to wrap the initial load of storedSwagEnable in a JSON.parse() as LocalStorage is always stored as a string. Thank you for taking time to help me out with this!

If you dont have a 88x31 button already, i made you one. PNG: https://files.catbox.moe/0soibn.png | GIMP File: https://files.catbox.moe/p9m822.xcf
7 likes
bye2 2 years ago

sorry took me a while to see this but thank you so much!! thats so cool!! :o

1 like
didn't know your page is a neocites page. that so cool! do you have an 88x31 button for your page? i want to link you
I suggest you add something to your CSS that stops the buttons that go left-to-right and rtl from moving while hovering.
3 likes
dismas 2 years ago

Good idea ill do that now

2 likes
damn you outbutton me by a lot xD
5 likes
dann 2 years ago

And I still have a ton to catch up on

2 likes
To stop the caching problem, you could try adding this (not sure if it works): [meta http-equiv="cache-control" content="no-cache"] you will of course have to replace the ] by > and the [ by < . Its just to prevent neocities from filtering it out
jlehr 2 years ago

Thanks I’ll give that a test and if it works out it in all my html pages :) I certainly hope you are right.

Website Stats

Last updated 1 month ago
CreatedMay 1, 2022
Site Traffic Stats

Tags

computers arduino electronics webstuff programming