Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
Autumn in Year 5 - @148.81
Two Stars Random | Recent Posts | Guild Recents
News: ozwomp is requesting your location :ozwomp: [Agree] Guild Events: Prepare for Halloween Reminder!

+  MelonLand Forum
|-+  Materials & Info
| |-+  ♺ ∙ Web Crafting Materials
| | |-+  A fun little widget that adds every month of the year to your website


« previous next »
Pages: [1] Print Embed
Author Topic: A fun little widget that adds every month of the year to your website  (Read 236 times)
Rubbereon
Sr. Member ⚓︎
****
View Profile WWWArt


⛺︎ My Room
SpaceHey: Friend Me!
Matrix: Chat!
XMPP: Chat!

Guild Memberships:
Artifacts:
Caught by Rubbereon!Caught by Rubbereon!Caught by Rubbereon!Caught by Rubbereon!Caught by Rubbereon!Caught by Rubbereon!
« on: Summer in Year 5 @928 » Embed

Pure HTML with inline CSS styling table of every month of the year, color-coded by season. I also treat the months of February, May, August and November as the "transitional" months of the 4 seasons, so they have a gradient instead. Genuinely August, despite being still apart of Summer technically until September really just feels like Fall has already arrived, it's getting fairly cold again which I'll happily welcome after this hell of a Summer.

Here's the code:
Code
<div style="float: right;">
<table style="height: 60px;" border="1" width="485"><caption>Months &amp; Seasons</caption>
<tbody>
<tr>
<td style="width: 33.0833px; background-color: #7777ff;">Jan</td>
<td style="width: 33.8333px; background-image: linear-gradient(to right, #7777ff, #00ff00);">Feb</td>
<td style="width: 34.7833px; background-color: #00ff00;">Mar</td>
<td style="width: 33.5px; background-color: #00ff00;">Apr</td>
<td style="width: 36.25px; background-image: linear-gradient(to right, #00ff00, #ffff00);">May</td>
<td style="width: 33.4px; background-color: #ffff00;">Jun</td>
<td style="width: 30.0667px; background-color: #ffff00;">Jul</td>
<td style="width: 35.4px; background-image: linear-gradient(to right, #ffff00, #ff7700);">Aug</td>
<td style="width: 35.0833px; background-color: #ff7700;">Sep</td>
<td style="width: 33.2167px; background-color: #ff7700;">Oct</td>
<td style="width: 35.4333px; background-image: linear-gradient(to right, #ff7700, #7777ff);">Nov</td>
<td style="width: 34.95px; background-color: #7777ff;">Dec</td>
</tr>
</tbody>
</table>
<progress style="width:100%" value="32" max="365"> 32% </progress>
</div>

I suck at javascript, so I have yet to figure a way to make the progress bar follow along the months, so you'll quickly notice it does nothing.

If you wanna take a peek at what it looks like you can paste the code into https://html.onlineviewer.net/, https://html5-editor.net/ or https://jsfiddle.net/

« Last Edit: Summer in Year 5 @470 by Rubbereon » Logged

https://bettysgraphics.neocities.org/images/animals/cat%20695.gifFuzzy fwiendhttps://bettysgraphics.neocities.org/images/animals/cat%20696.gifhttps://bettysgraphics.neocities.org/images/animals/cat%20697.gif
https://rubbereon.nekoweb.org/img/penguin.gifLinux userhttps://rubbereon.nekoweb.org/img/penguin.gif
↓ All my web profiles are available on this website ↓
https://fursona.directory/@rubbereon :eyes:

Artifact Swap: <html>pearl yappin kittayGreen SpiffoJust CheeseTomato SliceCreampuff
Pages: [1] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ Forum Guide | Rules | 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
Editor Recent Edits Tenement Arcade Random Link Land → Forum Art Hub Chat Webring Want to Login or Join ? Web Craft Guide Graphic Catalogue Wiki Newsletters Image Stream
Passport Sites Asatte Add your site?
Zap!
Minecraft: Online
Join: craft.melonking.net