Courtney (
prospitian) wrote in
photosynthesis2018-11-23 05:50 pm
Entry tags:
info table/navigation: say what you wanna say

An information table designed for a tall, narrow image; it'll adapt to the image size!
Some quick notes about using this code!
Ideally, you're going to want to put this under a cut, and have custom comment pages turned off—I can't guarantee that it won't do funky things otherwise, but you're more than welcome to try things out otherwise and see how it goes.
This code reacts and responds to the size of the image you're using! The informational right side shouldn't be longer than the image (except the header at the top and the links at the bottom). If you're having issues with the vital stats at the top misaligning or taking up more than one line, try a narrower image; if the scroll boxes are too small for your liking, try a taller image. It's okay to just add a bunch of transparent space on either end of the image to make it taller!
Check out the example code live here!
I've marked instructions and things to change throughout the code, but be on the lookout for:
CHARACTER NAME, for the header at the top
HEADER COLOR, a hex code (add the # at the beginning!) for the header at the top.
CATEGORY COLOR, a hex code (add the # at the beginning!) for each scroll box category.
LINK COLOR, a hex code (add the # at the beginning!) for the links at the bottom.
IMAGE URL, the URL of your image.
IMAGE WIDTH, the width in pixels of your image.
IMAGE HEIGHT, the height in pixels of your image.
Feel free to change the fonts, headings, and so on as you please. The fonts used are MS Gothic for the major headers, Georgia for the minor headers and personal links, and Arial for the text and the credit links.
As always, let me know if you need a hand with anything, and do not move or remove my credit!

no subject
no subject
That div is for the whole top strip with the vitals.
This table is just, the whole thing, including the image (if you're using a transparent one).
This is the whole thing except for the header with the name and the credits.
That's the whole right column, vitals and boxes and all.
I thiiiink the rest of them should be fairly self-explanatory (it's just, the div style=" immediately before the piece of labelled information), just keep in mind the headers are outside of the actual informational boxes! If you're having trouble finding the particular part of the code you want to apply a background to, just lemme know and I'll pick it out for you!
no subject
EDIT: wow ok that image link wasn’t working so here it is again without the hyperlink! https://imgur.com/a/v6dw5ie Thank you!
no subject
no subject
no subject
no subject
I noticed on the live preview there's another scrollbar encompassing the whole table? I don't seem to have that, so I wonder if it's important at all.
Sorry for the bother, but also thank you for taking the time!
no subject
no subject
1) IMAGE HEIGHT and IMAGE WIDTH weren't replaced
and 2) the boxes ended up at
height: 10%instead of their usual 20% somehow (probably in attempts to get the heights to work)?here's the fixed version!
no subject
no subject
I'd like to use this for an app for a game but it needs to have Personality, Abilities, History, Modern History.