HELOVIA || The Way to the Sun
Profile friendly code? - Printable Version

+- HELOVIA || The Way to the Sun (http://helovia.com)
+-- Forum: Out of Character (http://helovia.com/forumdisplay.php?fid=1)
+--- Forum: Player Resources (http://helovia.com/forumdisplay.php?fid=99)
+---- Forum: Growth Center (http://helovia.com/forumdisplay.php?fid=82)
+---- Thread: Profile friendly code? (/showthread.php?tid=14348)



Profile friendly code? - Adelis - 06-04-2014

Okay, so I've been working on this profile for only a while now, but I am already disliking how long it takes to scroll all the day to the bottom! Usually I like to make profile tables smaller and with a scroll box so you're not scrolling like a fiend just to get to the bottom on their page, so that spurred the question that I will ask you now!

Is the code that is used in the Guidelines page that snaps you to a certain area of the text profile friendly? If so, how in the world do you even do that, and would it be do-able on Addie's profile?


RE: Profile friendly code? - Mauja - 06-04-2014

HTML aaanchoooors!

Lemme see if I can remember how to do it.

The anchor:
Code:
<a id="appearance"></a>

The link to the anchor:
Code:
<a href="#appearance">Link to Anchor</a>

Pulled this out of my ass so not 100% sure it's the accurate syntax. xD


RE: Profile friendly code? - Mauja - 06-04-2014

Or wait maybe it's a name="appearance".. idk try both xD


RE: Profile friendly code? - Adelis - 06-04-2014

Hahaha, okay, thankies Neo! <3


RE: Profile friendly code? - Adelis - 06-04-2014

I have no idea what I just did, but it just showed a lot of ugly codes. Likely my fault, lmao.
I think I worded it wrong too, because the Guidelines aren't the same as I was thinking, it's actually the FAQ's that I was thinking of! It's all in the same thread, but it all has different codes, how is that? :o


RE: Profile friendly code? - Mauja - 06-04-2014

It's what I tried to show you. xP

For where you want the link to leap to:
Code:
<a name="whatever"></a>

The link that will take you there:
Code:
<a href="#whatever">Click me!</a>



RE: Profile friendly code? - Mauja - 06-04-2014

essentially just name the anchors whatever xD you can have as many as you like as long as they have different names ^^


RE: Profile friendly code? - Adelis - 06-04-2014

Ohhhh, I see now, duh! Lmao. *Derps* Thank you Neo love! <3


RE: Profile friendly code? - Rostislav - 06-04-2014

Yeah, ID should be name... and it will link to lower down in the page.


RE: Profile friendly code? - Confutatis - 06-05-2014

@[Mauja] (Hope it's okay I tagged! D: )

Is it actually possible to re-create the same scrolling codes? (I.e. on companion page, it is collapsible and uses overflow)


RE: Profile friendly code? - Mauja - 06-05-2014

Same wha how?


RE: Profile friendly code? - Confutatis - 06-05-2014

Not recreate, necessarily (that a phone post ugh) but these codes: Account Creation, Filling out the Profile, Design and Appearance, etc, etc, where the you can collapse it and it does overflow. Is there a way to set this up on profiles?


RE: Profile friendly code? - Mauja - 06-06-2014

Code:
<div class="panelcollapsed"><h2>I'm a header, yo</h2>
<div class="panelcontent" id="wanda">The stuff here.
</div></div>

<style type="text/css">
#wanda { height: 400px; overflow: auto; }
</style>

This utilizes the built-in panel collapse thing, and you just style it using #wanda for the content *shrug* for a different header, just make a .wanda-header class in the style sheet and tack class="wanda-header" on the h2.

Not an optimal solution but the easiest for you ;) If you'd rather I make you a fancy code *shrug* I can do that but.