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

Chat on Discord
Views: 2,058,569
Main | Rules/FAQ | Discord | Memberlist | Latest posts | Stats | Ranks | Online users
10-19-25 12:53 PM
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

Goomba

Level: 8

Posts: 12/20
EXP: 1845
Next: 342

Since: 08-19-24

Last post: 350 days
Last view: 333 days
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

Shyguy

Level: 16

Posts: 11/88
EXP: 17089
Next: 3167

Since: 08-16-24
From: MY MOM!

Last post: 211 days
Last view: 4 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: 13

Posts: 40/59
EXP: 9412
Next: 855

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

Last post: 284 days
Last view: 152 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 learning.

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: 7

Posts: 15/16
EXP: 1329
Next: 119

Since: 08-14-24

Last post: 411 days
Last view: 328 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

Shyguy

Level: 16

Posts: 12/88
EXP: 17089
Next: 3167

Since: 08-16-24
From: MY MOM!

Last post: 211 days
Last view: 4 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

Goomba

Level: 8

Posts: 13/20
EXP: 1845
Next: 342

Since: 08-19-24

Last post: 350 days
Last view: 333 days
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

Shyguy

Level: 16

Posts: 27/91
EXP: 17866
Next: 2390

Since: 08-21-24

Last post: 324 days
Last view: 155 days
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

Red Koopa

Level: 19

Posts: 56/129
EXP: 30501
Next: 5276

Since: 08-12-24

Last post: 167 days
Last view: 167 days
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)

Affiliates:


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

Page rendered in 0.083 seconds. (855KB of memory used)
MySQL - queries: 75, rows: 436/446, time: 0.070 seconds.