News
Welcome to NeoRHDN! This place is still a work-in-progress, so pardon the construction...

Site registration now fixed. Oops!
Views: 435,022
Sections: Documents | Utilities | ROM Hacks | Games | Translations | Homebrew | Fonts
Site: Main | Rules/FAQ | Discord | Memberlist | Latest posts | Stats | Ranks | Online users
09-20-24 02:46 AM
Guest: Register | Login

0 users currently in Meta | 1 bot

Main - Meta - Is there a way to collapse text? (1)


voliol
Posted on 08-23-24 04:47 PM, in Link | ID: 413

Micro-Goomba

Level: 5

Posts: 12/19
EXP: 462
Next: 67

Since: 08-19-24

Last post: 13 days
Last view: 1 day
Hello, I am wondering if there is a way to collapse text/markup, so some of it is hidden until the reader clicks a button? I'm used to forums having this feature, to hide big images/code/blocks of text that most readers of a thread may not be interested in reading/scrolling by, so not having it feels impractical and off. The Bay 12 Forums (which I am most used to, a simple machines deal) uses spoiler tagging for it, but here spoiler tagging instead works like on any modern website, boxing out the text without decreasing its size. Is there some other way to collapse/hide text?

And if there isn't, and it also isn't a planned feature, I assume you couldn't on the RHDN forum either? If so, how did you deal with it (I know there are some veterans here)? Was the standard practice just including images/code etc. unformatted, or linking to external sites like pastebin? Or not including them at all?

____________________
Developer of the Universal Pokémon Randomizer FVX, dabbling Dragon Quest VI hacker

Yuri Bacon
Posted on 08-23-24 05:17 PM, in Link | ID: 414

Red Goomba

Level: 8

Posts: 11/41
EXP: 1533
Next: 654

Since: 08-16-24

Last post: 3 days
Last view: 29 min.
If there is any way to do it, I'm not aware of it.

But! This forum does allow you to embed HTML / CSS into your post (that's how post layouts like mine work), so maybe you could find a way to "fake it" like that (IDK much about HTML / CSS tho TBH, so IDK if that alone would make it possible, but it's worth a shot).

____________________
Build a man a fire, and he's warm for a night. Set a man on fire, and he's warm for the rest of his life.

Rexius55
Posted on 08-23-24 07:30 PM, in (rev. 2 of 08-23-24 07:32 PM by Rexius55) Link | ID: 420

Tektite

Level: 9

Posts: 40/58
EXP: 2685
Next: 477

Since: 08-14-24
From: Outset Island, The Great Sea

Last post: 4 days
Last view: 4 days
There is a decent way to do it, using the "resize" and "overflow" properties in CSS.

Resize Property
Overflow Property

I don't have an example of this at this time but we'll see if I can make some example code for you that would probably go in your post header or somethin'.

____________________
I do requests (reverse-engineering, programming, music, spritework, writing, etc.). I'm always learnin'.

Status: Hands are full.

I post wherever is on my Linktree. If you see my stuff anywhere else, it wasn't me.

RT-55J
Posted on 08-23-24 08:24 PM, in Link | ID: 421

Micro-Goomba

Level: 5

Posts: 15/16
EXP: 388
Next: 141

Since: 08-14-24

Last post: 16 days
Last view: 3 days
Sadly, there is no way to do this
None whatsoever. :3c



Yuri Bacon
Posted on 08-23-24 08:40 PM, in (rev. 2 of 08-23-24 08:44 PM by Yuri Bacon) Link | ID: 422

Red Goomba

Level: 8

Posts: 12/41
EXP: 1533
Next: 654

Since: 08-16-24

Last post: 3 days
Last view: 29 min.
So, I spent a while on w3schools tryna figure out a good way to make a div expand on hover, and I think this code came out pretty well.

Hidden Text (hover to view)

So, here's the HTML/CSS code I whipped up to make this work. Feel free to use it. I made very liberal use of the Preview button as I made this post :P

<style>
.hidden
{
height:1.2em;
width:3.6em;
overflow:hidden;
padding:5px;
background:#555555;
color:white;
}
.hidden:hover
{
width:99%;
height:auto;
overflow:visible;
}
</style>Hidden Text (hover to view)
<div class="hidden">Hidden

Your Text Here!</div>


EDIT: Just saw RT-55J's neat little trick after I made my post, but damn that is simple and clever!

<details><summary>Sadly, there is no way to do this</summary>
<br>None whatsoever. :3c
<br></details>


____________________
Build a man a fire, and he's warm for a night. Set a man on fire, and he's warm for the rest of his life.

voliol
Posted on 08-23-24 08:55 PM, in Link | ID: 423

Micro-Goomba

Level: 5

Posts: 13/19
EXP: 462
Next: 67

Since: 08-19-24

Last post: 13 days
Last view: 1 day
Huh, html/css in posts, funky stuff.
[Tries to play around with css/html before getting ninja'd by Yuri Bacon, who then points out RT-55J had it working and posted before the playing around even started]

Thanks a lot!

secret bidoof




____________________
Developer of the Universal Pokémon Randomizer FVX, dabbling Dragon Quest VI hacker

MacUser
Posted on 08-23-24 09:19 PM, in Link | ID: 424

Paragoomba

Level: 9

Posts: 27/65
EXP: 2831
Next: 331

Since: 08-21-24

Last post: 10 hours
Last view: 44 min.
i just started to learn how to html




____________________
8-bit is enough.

NinCollin
Posted on 08-25-24 06:41 AM, in Link | ID: 475
Root Administrator

Koopa

Level: 12

Posts: 56/105
EXP: 6716
Next: 1205

Since: 08-12-24

Last post: 1 day
Last view: 1 day
Yeah its one of those things that theres no easy BBCode tag for, but that you can do manually if you know how

Check out some of my websites!
imageimageimage

Main - Meta - Is there a way to collapse text? (1)


Acmlmboard v2.5.6+neo (2024-08-13)
© 2005-2024 Acmlm, Emuz, NinCollin, et al.

Page rendered in 0.069 seconds. (871KB of memory used)
MySQL - queries: 75, rows: 436/446, time: 0.058 seconds.