Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
Winter, 06 Dec 2026 - @911.55
Forum Activity: Four Stars ~ Boop! The forum will close in 89.beats! Random | Recent Posts | Guild Recents
News: :seal: Thank you for today! :seal: Guild Events: 23: cozy
Super News: ++ MelonJam 2026 ~ 1st Dec to 1st Jan! ++
+  MelonLand Forum
|-+  Communities & Online Life
| |-+  ☮︎ ∙ Jams, Communities & Webrings
| | |-+  Flood Script - Leaky Homepage Ring


« previous next »
Pages: 1 2 [3] Print Embed
Author Topic: Flood Script - Leaky Homepage Ring  (Read 12163 times)
candycanearter07
Hero Member ⚓︎
*****
View Profile WWWArt


i like slimes
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: candycanearter
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
Visited on Melon's 10th Anniversary!it's tbhchansey!Goomy, I Choose You!uh oh! a pigeon got in!Artsy Candy Cane
« Reply #30 on: Summer, 30 Aug 2024 @782 » Toggle Font Embed

It's fun, but can get a bit annoying if a page hasn't been un-flooded in a while. I think it would be neat to be able to remove it all at once (flush it?), especially since it prevents you from clicking on links and stuff.

I think this is the ideal setup. Putting it on the homepage can make navigation hard, so a dedicated page for it is a genius idea!



I put my flood on a layer below all the actual content, but I'm not sure if that's just taking the fun out of it ^^"

Logged

new to oldnet be nice
https://status.cafe/users/candycanearter/badge.png https://abslimeware.neocities.org/assets/images/blinkers/penguins.gif

https://abslimeware.neocities.org/assets/images/blinkers/slimebounce.gif https://card.exophase.com/2/0/268504.png?1727352149

https://i.imgur.com/S1cx8ZZ.pnghttps://i.imgur.com/7ntZZGM.pnghttps://i.imgur.com/xKIpW2A.pnghttps://i.imgur.com/YMPbu9R.png

Artifact Swap: buzzystickerSootBlob Creature
serenefork
Full Member ⚓︎
***
View Profile WWWArt


a Beanie Buddy!
⛺︎ My Room
StatusCafe: serenefork
iMood: serenefork
Itch.io: My Games

Guild Memberships:
Artifacts:
PolyamorousA WizardReply MailFirst 1000 Members!Joined 2023!
« Reply #31 on: Winter, 19 Dec 2024 @005 » Toggle Font Embed

I put my flood on a layer below all the actual content, but I'm not sure if that's just taking the fun out of it ^^"

Ooh, I think that is actually quite clever! I really like the flood for the aquarium theme my homepage currently has but I shoved my flood into an iframe since my site was frequently unusable otherwise, putting it on a lower layer let’s the flood still occur without making lesser seen sites be unusable to new explorers.  :seal:

Logged

Septimus - he/they/fae - my website
https://img.flowergame.net/1157505.pnghttps://img.flowergame.net/1155807.pnghttps://img.flowergame.net/1155043.pnghttps://img.flowergame.net/1154924.pnghttps://img.flowergame.net/1156055.png


Artifact Swap: ChaosBubble Mail
Mel
Newbie
*
View Profile WWW

⛺︎ My Room

Artifacts:
Joined 2026!
« Reply #32 on: Today at @743 » Embed

hii, I put the 2 lines of flood code into my main page when I started coding my first site, but since its so new and under construction right now, the flood just intrudes whenever I'm making edits to my page and need to check, so I wanted to tweak the code a little, and put it at the very back or move it around a little, but since I can't access the css and html, idk how?? When I go to inspect, it shows the html and css (which is rlly strange and beyond me) and yet not in my files(ofc because I just put the two lines of code listed on the main page of the webring). And also it can downloaded (written in the FAQ) but I have no idea how. Tweaking the code is not an issue but I don't know where the code is in the first place, soo... anyone have any idea what I should do to get it?

Logged
Melooon
Hero Member ⚓︎
*****
View Profile WWWArt


So many stars!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
Caught by RubbereonYou're a Star!Flinstone VitaminWavy Shoulder-Length Hair with BangsBug!Top Hat
« Reply #33 on: Today at @800 » Toggle Font Embed

anyone have any idea what I should do to get it?
The two lines you added are the code links:
Code
<link href="https://melonking.net/styles/flood.css" rel="stylesheet" type="text/css" media="all" />
<script src="https://melonking.net/scripts/flood.js"></script>

So you get the raw JavaScript and CSS from those two lines:
https://melonking.net/styles/flood.css
https://melonking.net/scripts/flood.js

When I go to inspect, it shows the html and css (which is rlly strange and beyond me)
JavaScript can create HTML on whatever page it runs on. The flood.js is the file that creates the HTML that you see in the inspector.

so I wanted to tweak the code a little, and put it at the very back or move it around a little, but since I can't access the css and html, idk how??
You don't need to touch the code at all to do that you can just add this after the two lines you added:
Code
<style>
#flood {
    z-index: -1;
}
</style>
The only issue it if you do this it will be impossible to bilge your site because your container div is really wide :ziped: I did try to find a quick fix, but I could not find one off the top of my head!


« Last Edit: Today at @807 by Melooon » Logged


everything lost will be recovered, when you drift into the arms of the undiscovered

Artifact Swap: Red Tulip
Pages: 1 2 [3] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ Guide | Rules | Whos a Mod? | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi
@000 Melon
Land
Forum Art Hub Chat Webring Explore Random Recent Tenement Arcade Want to Login or Join ? Web Craft Guide Graphic Catalogue Wiki Help I'm Lost! Link Land Newsletters Image Stream Minecraft: Online
Zap!
Passport Sites tamaNOTchi Asatte Add your site?
Aero Archive Onio Cafe 32 Bit Cafe Status Cafe