Replies

May 9, 2016 9 years ago
Spotlight Champion
Melissa
User Avatar
Spangles

I'm trying to figure out how to make a pet profile with multiple subpages, like this one. I haven't made a pet profile like that before when I've been doing my own so I'm trying to understand the coding. I'm not entirely sure what to call what I'm looking to do, which makes it hard to find a guide.

[flower=Melissa] [tot=Melissa]

May 10, 2016 9 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

what you're looking for is called "anchor links," which basically means there are sections that are not visible until a link is clicked. they are surprisingly finicky and i'm not very good with them, but the basic idea is this:

<style>

{position:absolute; top:100px; left:100px; width:500px; height:300px; background-color:; border:10px solid; overflow:hidden}

{visibility:hidden} :target {visibility:visible; position:absolute; top:100px; left:100px; width:500px; height:300px; background-color:; overflow:auto}

{visibility:hidden} :target {visibility:visible; position:absolute; top:100px; left:100px; width:500px; height:300px; background-color:; overflow:auto}

</style>

LINK TO SECTION 1 LINK TO SECTION 2

TEXT FOR SECTION 1
TEXT FOR SECTION 2

uh, that's BASICALLY how it works, and of course you can mess around with positioning and styling, give the links their own div, etc. but. yeah, there's the basic idea. you can probably find better information via google now that you know what to look for.

May 12, 2016 9 years ago
Spotlight Champion
Melissa
User Avatar
Spangles

Thank you so much! That was very helpful. :D <3

[flower=Melissa] [tot=Melissa]

Please log in to reply to this topic.