Tweak

InsaneJournal

Tweak says, "They don't like it up 'em!!!"

Username: 
Password:    
Remember Me
  • Create Account
  • IJ Login
  • OpenID Login
Search by : 
  • View
    • Create Account
    • IJ Login
    • OpenID Login
  • Journal
    • Post
    • Edit Entries
    • Customize Journal
    • Comment Settings
    • Recent Comments
    • Manage Tags
  • Account
    • Manage Account
    • Viewing Options
    • Manage Profile
    • Manage Notifications
    • Manage Pictures
    • Manage Schools
    • Account Status
  • Friends
    • Edit Friends
    • Edit Custom Groups
    • Friends Filter
    • Nudge Friends
    • Invite
    • Create RSS Feed
  • Asylums
    • Post
    • Asylum Invitations
    • Manage Asylums
    • Create Asylum
  • Site
    • Support
    • Upgrade Account
    • FAQs
    • Search By Location
    • Search By Interest
    • Search Randomly

may the odds be ever in your favor. ([info]storybookending) wrote in [info]rp_tutorials,
@ 2011-02-21 20:07:00

Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:coding: other

HTML Calendars
There are quite a few games that I've stumbled across over the past couple of months or so that have had a calendar on the front page of their mod journal. Some use it to indicate adds/removals or possibly other game events. I created a pretty simple table code that shouldn't be too bad to edit/customize if you want to, and hopefully this will come in handy! I made two different sizes but had to link to them via a Scribbld page so I wouldn't wind up maxing out the characters allowed in a journal entry! The sample calendar is dated for February, but for the rest of the months you'll have to fix the dates according to how they fall. If I get some extra time on my hands sometime this week I might be inclined to make up one for the rest of the year. :)


Small & Large

There are borders around each box as well as around the table/calendar as a whole. You can modify all of these to "dotted, dashed, or solid." The ones in use are solid around the entire thing, and dotted around each individual box.

Here are the color codes I used in case you want to change those as well:
solid style/table border: #9F9F9F
dotted style/box border: #979797
table background: #EAEAEA
days of the week background: #C6C6C6
font color for days of the week: #FFFFFF
individual box background: #FFFFFF
font color for individual boxes: #C1C1C1

To change how much space is between each box, where it says cellspacing="2" change that number to how many pixels you want to be between them. You can also change the alignment code from "center" to "left" or "right" if you so desire!

Since it's just a table code that took me less than an hour to create, credit isn't necessary! I did create it on my own, and I hope that at least a few people will get some use out of it!

Edit: I fixed the date mishap on the large February calendar in the code! When I did the replace tool it redid the 25th as the 50th!


Credit for the idea goes to the handful of games that I've seen use it before, but this is my own HTML work!


(Post a new comment)


[info]hammertech
2011-02-25 05:19 am UTC (link)
These are extremely pretty and wonderful!

(Reply to this)



Home | Site Map | Manage Account | TOS | Privacy | Support | FAQs