Site registration now fixed. Oops! |
||||||
Views:
434,659 |
Sections: Documents
| Utilities
| ROM Hacks
| Games
| Translations
| Homebrew
| Fonts
Site: Main | Rules/FAQ | Discord | Memberlist | Latest posts | Stats | Ranks | Online users |
09-20-24 12:51 AM |
||||
Guest: Register | Login |
0 users currently in Meta | 12 bots |
Main - Meta - Is there a way to collapse text? (1) |
voliol |
| ||
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 |
| ||
Red Goomba Level: 8 Posts: 11/41 EXP: 1531 Next: 656 Since: 08-16-24 Last post: 2 days Last view: 15 hours |
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 |
| ||
Tektite Level: 9 Posts: 40/58 EXP: 2682 Next: 480 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 |
| ||
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 thisNone whatsoever. :3c |
Yuri Bacon |
| ||
Red Goomba Level: 8 Posts: 12/41 EXP: 1531 Next: 656 Since: 08-16-24 Last post: 2 days Last view: 15 hours |
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)
Hidden
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean tincidunt blandit felis. Pellentesque imperdiet finibus augue in malesuada. Morbi finibus, justo gravida consectetur suscipit, orci sem eleifend neque, vitae accumsan ligula est vel magna. Donec accumsan sollicitudin diam, sit amet aliquam odio ultrices a. Fusce dictum elit et mauris bibendum hendrerit. Morbi lacinia leo id lorem laoreet cursus. Ut libero nibh, consequat posuere laoreet a, interdum vel arcu. Mauris a lacus quis lorem cursus congue ac vel augue. Suspendisse eu nibh et nunc feugiat convallis. In faucibus enim venenatis lacus accumsan, vel lacinia velit molestie. Fusce quis ante non massa aliquam varius a ac nulla. Nunc blandit metus bibendum, fringilla neque tristique, condimentum tellus. Donec non est metus. Donec ultricies tortor id risus sagittis, eget euismod felis mollis. Quisque augue massa, semper at ultrices vel, tincidunt a arcu. In id felis congue, rhoncus nunc vitae, dictum est. Maecenas id pulvinar dui. Etiam id malesuada arcu. Vivamus vitae pellentesque massa, quis vulputate eros. Maecenas eleifend tincidunt sem eu mattis. Morbi eget nulla leo. Nunc tempor eros at risus malesuada imperdiet. Nullam vitae ex non diam vulputate posuere nec nec enim. Fusce ut interdum est. Quisque velit augue, tristique a felis a, tristique maximus quam. Aenean pretium ullamcorper pharetra. Aenean fermentum fermentum ipsum quis volutpat. Fusce nec diam ultrices, semper dolor non, luctus quam. Aenean non vehicula justo, ac fringilla purus. Nullam ut ipsum neque. Mauris luctus nibh odio. Nam vitae orci vitae est consectetur aliquet. In condimentum mattis pharetra. Sed sed hendrerit eros, eget feugiat nisl. Morbi aliquam sollicitudin erat, a dictum erat pulvinar vel. Nunc nec quam scelerisque, lobortis quam eget, convallis leo. Maecenas suscipit tempus egestas. Nam at ultricies sem. Integer eu cursus lectus. Fusce nibh dolor, sollicitudin ac ultricies sit amet, blandit ac leo. Mauris ultrices dignissim turpis, sed accumsan dolor gravida quis. Maecenas molestie eleifend massa ut rutrum. Maecenas elit est, consectetur nec metus vel, aliquam tincidunt lorem. Aliquam purus ipsum, tincidunt vitae enim vel, malesuada iaculis nibh. Vivamus sed nunc id magna consectetur porta. Curabitur ut nunc bibendum, venenatis tellus eu, venenatis lacus. Pellentesque at ornare neque. Pellentesque sodales ante non massa sodales, nec vestibulum sapien pellentesque. Curabitur vulputate pellentesque felis, vel condimentum tortor aliquam ut. Fusce ac venenatis ligula, quis cursus enim. Proin rhoncus orci sed facilisis euismod. In ornare felis nec dapibus porttitor. Duis nibh massa, commodo at commodo vel, fermentum eget justo. Suspendisse laoreet lectus sed iaculis consectetur. Sed interdum malesuada odio, eget efficitur velit bibendum euismod. Etiam et velit et nunc euismod scelerisque a sodales lacus. Integer lacus lorem, maximus vel facilisis sit amet, tempus nec libero. Sed vel erat et nibh viverra gravida. Suspendisse quis rutrum nisl. Praesent ante quam, porttitor at magna eu, pellentesque gravida tortor. Interdum et malesuada fames ac ante ipsum primis in faucibus. Aliquam in suscipit arcu. Maecenas suscipit ligula dui, hendrerit consectetur orci pretium non. Nulla non posuere velit. Quisque sed felis nec ex vehicula faucibus. Vivamus sed tincidunt ante. 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
EDIT: Just saw RT-55J's neat little trick after I made my post, but damn that is simple and clever!
____________________ 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 |
| ||
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 |
| ||
Paragoomba Level: 9 Posts: 27/65 EXP: 2827 Next: 335 Since: 08-21-24 Last post: 8 hours Last view: 2 hours |
i just started to learn how to html
____________________ 8-bit is enough. |
NinCollin |
| ||
Root Administrator
Koopa Level: 12 Posts: 56/105 EXP: 6709 Next: 1212 Since: 08-12-24 Last post: 1 day Last view: 1 day |
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. |
MySQL - queries: 75, rows: 447/455, time: 0.024 seconds. |