u/xamah77

issues with uploading pictures

hi, was there any kind of nekoweb update? i'm asking because i suddenly have problems with uplodaing pictures - i cannot upload more than one image at once, and even when i do it one by one, most of them don't upload, nothing happens. anyone else?

reddit.com
u/xamah77 — 5 days ago

modal winow with image doesn't work properly

hi, i'd need help with a code for modal window, that i found here: https://gist.github.com/m3h3d1ha2an/de97ce1acf3c04483d4c31f40f9686ac . for some reason, whenever i put more modal windows than just one, the image that shows on it always depicts the last picture put in the code.

here's the code, it's the same as from the source. basically no matter whether you click on the drss1.jpg or the drss2.jpg, the window that opens is the drss2.jpg. no matter how many modal windows i would make, it's always the last one that opens TwT. thx for any suggestions

https://preview.redd.it/ajgf74jte19h1.png?width=406&format=png&auto=webp&s=2afd5b896db3a080c75978839d0f6073503cb973

https://preview.redd.it/pcat90ywe19h1.png?width=322&format=png&auto=webp&s=f8eabd66252cc0c5301ab78a40e5beed3dc625fd

https://preview.redd.it/hyosghsef19h1.png?width=691&format=png&auto=webp&s=9e27fafa8cbd3daf8e728b799976f308fd5514a7

reddit.com
u/xamah77 — 13 days ago

how to center a div vertically?

hi hello. my question is how would you center a div vertically?

margin-top doesn't work, nothing works, frankly. don't be mean, i'm a beginner. seen that I should paste a link to my site when asking for help, but currently it's just a notepad++ project, so here are the code and the result.

https://preview.redd.it/lops0o1a937h1.png?width=1903&format=png&auto=webp&s=faa4cf011df8b430df28ca74b8dabce4a4f2a4bc

https://preview.redd.it/nq9s4t0c937h1.png?width=363&format=png&auto=webp&s=133ea1cf4cd20618e19f2b7e02e28cc4379900a5

reddit.com
u/xamah77 — 23 days ago

how to change the content of one div without refreshing the whole page?

okay, the title may be unclear so Imma try my best to explain what i mean.

Basically I would like to change the content of the main container after clicking at the certain navigation buttons. The only way to do it that i can think of is making subsites that would have the exact same code but the container content would be different. The thing is, that would make the whole page refresh. I know there has to be some kind of a solution that doesn't require the site to refresh, I've seen it on other sites but Idk how to..

I'm afraid that the solution to my problem may require using JS, which I don't know much about, so I would need a very simple instruction lol :,3

This is the screenshot of the page wip, so it may be easier to understand what i mean

https://preview.redd.it/17llurx1sd0h1.png?width=1897&format=png&auto=webp&s=f41a12260a3b174d19b1c3619f28757943885d0a

reddit.com
u/xamah77 — 2 months ago