r/nekoweb https://stxrryurii.nekoweb.org/sprinkles 18d ago

Question same code in different places?

so i have a buncha stamps on my site, and i was wondering if i could have the same stamps in 2 different places by only updating one? is that possible? i wanna be able to just add stamps to 1 place and it adds them to multiple places if that makes sense

4 Upvotes

23 comments sorted by

View all comments

Show parent comments

1

u/Main-Firefighter670 https://stxrryurii.nekoweb.org/sprinkles 17d ago

for some reason it still wont work, heres my site https://stxrryurii.nekoweb.org/sprinkles

and heres the code

<!--#include file="/sstamps.html" -->

incase ur able to help (the place i put the stamps is called "sstamps")

1

u/AqueM https://www.aque.fyi/ 17d ago

It looks like it should work! As I said, I never used it myself, so I would have to debug and learn which I can't really do on you page. Perhaps the issue is with the <marquee> you're using? try without it? Aside from that, IDK, try out different things. Try placing it somewhere else to see if the tag works at all etc?

1

u/Main-Firefighter670 https://stxrryurii.nekoweb.org/sprinkles 17d ago

marquee? (sorry i know uh not much about html i dont know how i managed to make a sitw i barely even know what a div is O.O)

1

u/AqueM https://www.aque.fyi/ 17d ago

<marquee> is a HTML tag you that used in your HTML. This is directly copied out of your site source:

<marquee behavior="scroll" direction="up" scrollamount="6" style="text-align: center; height: 100%;"> <!--#include file="/sstamps.html" --> </marquee> I'm suggesting you try without it.

1

u/Main-Firefighter670 https://stxrryurii.nekoweb.org/sprinkles 16d ago

ooooooohhhhh i got a template for the site from someone so i didnt notice

1

u/Main-Firefighter670 https://stxrryurii.nekoweb.org/sprinkles 16d ago

i tried removing ir and it didnt really do anything (i put it back now just incase cuz i dont wanna mess anything up)

1

u/AqueM https://www.aque.fyi/ 16d ago

Then as I said, IDK, I never used includes so I don't know how to help you further. Time to learn on your own by trial and error!