Replies

Mar 11, 2018 8 years ago
Esther
is Melody's Little Helper
User Avatar
Mr Saturn

Hi, im looking to create a section in my pet profile with a menu bar and a box for the pages (which will display my pet overlay, then TC etc). I'm familiar with basic css but idk how to start this one. does anyone know where i can find a reference? is there a term for this type of code im trying to do?

<( )

Mar 12, 2018 8 years ago
Hongske
is lost in space
User Avatar

To create the things you mentioned, you'll need HTML. To learn more about that, check out w3schools.

Also, have you checked out the threads mentioned in Useful Profiles and Graphics Threads ? They're also a good reference for getting started on this type of stuff.

Mar 12, 2018 8 years ago
Esther
is Melody's Little Helper
User Avatar
Mr Saturn

thank you ill check it out

<( )

Mar 13, 2018 8 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

sounds like you want to do something with anchor links. basically you would use css and html to create a new div where you will have your menu bar, then you would use css to place everything you want to appear where you want it to, and set them to visibility: hidden. THEN you use the :target pseudo-class to set them to visibility: visible when you click on their corresponding link. so the basic structure might look something like this:

<style> {use css to make this look however you want it to, it will basically just be a box with text in it} { position: absolute; left: 100px; top: 100px; width: 300px; height: 300px; background: white; border: 1px solid black; visiblity: hidden} { position: absolute; left: 100px; top: 100px; width: 300px; height: 300px; background: white; border: 1px solid black; visiblity: hidden} { position: absolute; left: 100px; top: 100px; width: 300px; height: 300px; background: white; border: 1px solid black; visiblity: hidden} :target, :target, :target {visibility: visible} </style>
story / description goes here
orrrr something like that, i'm not the best at explaining anchor links because i don't have a lot of practice with them and i've probably gotten something wrong there, but there are plenty of resources and tutorials out there dealing with anchor links. once you've gotten the basic structure worked out, you can do whatever you want with the styling and whatnot.

Mar 13, 2018 8 years ago
Esther
is Melody's Little Helper
User Avatar
Mr Saturn

thank you! this is very helpful, at least i know what to look at specifically. ive been playing around with the anchor links and ill try the :target class as well

<( )

Mar 13, 2018 8 years ago
Frenchi
is hopelessly romantic
User Avatar
Vivisect

you're very welcome! there are other ways of doing it but at least that's a starting point since you know what to search for.

Mar 13, 2018 8 years ago
Hongske
is lost in space
User Avatar

Aha, apparently explained all you need to know about it (thanks for that!). Sorry I couldn't help more, but I haven't used anchor links in profiles in a while (I even forgot what they're called lol).

Mar 14, 2018 8 years ago
Esther
is Melody's Little Helper
User Avatar
Mr Saturn

its alright! thank you anyway :)

<( )

Please log in to reply to this topic.