Help Forum How To | General Corvetteforum Questions | Feedback

Spoiler Tag Needs Reformatting

Thread Tools
 
Search this Thread
 
Old Mar 28, 2018 | 11:55 AM
  #1  
Judgment Day's Avatar
Judgment Day
Thread Starter
Burning Brakes
All Eyes On Me
Liked
Loved
Community Favorite
 
Joined: Jan 2017
Posts: 771
Likes: 220
From: Saint Clair Shores Michigan
Default Spoiler Tag Needs Reformatting

So I just made a post here regarding some information on the new ZR1, enveloped with a spoiler tag. Needless to say the end result has some pretty unusual formatting. It's not so much the highlighting, because that's the goal of the tag itself, but there's some visual adverse effects; primarily:

The spoiler box has a fixed width with no overflow. This combined with the ignored line breaks within the element creates a horizontal scroll bar. This requires more work than needed to see and read the message in its entirety. It doesn't take much text for this to occur.

For ease of use, it's probably best to have a show/hide interface. This way, it keeps all of the formatting but hides it from view until the user hits a button to interact with the text. No highlighting, dragging, or scrolling involved.

I don't know what version of BBCode is being used, but I'd imagine that an alteration or update of the spoiler tag is possible. Example:
https://www.phpbb.com/customise/db/bbcode/new_spoiler/

Goal is to basically get everything on screen without the extra work outside of toggling hidden content. Thanks!

Test:
Spoiler
 

Last edited by Judgment Day; Mar 28, 2018 at 11:58 AM. Reason: Removed one of the issues.




All times are GMT -4. The time now is 07:56 PM.

story-0
5 Best & 5 Most Overrated Corvette Track Packages of All Time!

Slideshow: The 5 best and 5 most overrated Corvette track packages ever.

By Joe Kucinski | 2026-06-09 12:46:45


VIEW MORE
story-1
Every 2027 Corvette Engine Explained

Slideshow: Every 2027 Corvette engine explained

By Joe Kucinski | 2026-06-09 12:16:31


VIEW MORE
story-2
Designer Imagines A Corvette That Looks More Like a Corvette Than the Corvette

Slideshow: A Jaguar designer's personal project imagines what a modern front-engined Corvette might look like if Chevrolet revisited the golden age of the Stingray.

By Verdad Gallardo | 2026-06-08 19:53:43


VIEW MORE
story-3
10 Ugly Corvettes That We Still Kinda Love

Slideshow: 10 ugly Corvettes that we still kinda love.

By Joe Kucinski | 2026-06-03 10:34:17


VIEW MORE
story-4
Top 10 Most Expensive Corvettes Ever Sold on Bring A Trailer

A lot of money has changed hands at the online auction house over the years.

By Brett Foote | 2026-06-03 10:21:50


VIEW MORE
story-5
10 Things Every Corvette Owner Needs (2026 Edition)

Slideshow: 10 great gifts Corvette enthusiasts actually want for Father's Day!

By Michael S. Palmer | 2026-06-03 15:43:40


VIEW MORE
story-6
8 Most "Only Corvette Owners Understand" Quirks and Problems

Slideshow: These are the quirks, annoyances, and oddly lovable problems that every Corvette owner eventually learns to live with.

By Pouria Savadkouei | 2026-05-28 09:31:39


VIEW MORE
story-7
10 Reasons the C6 Z06 is Still A Performance Benchmark After 20 Years

Slideshow: 10 reasons why the C6 Z06 is still a performance benchmark after 20 years.

By Joe Kucinski | 2026-05-27 17:20:09


VIEW MORE
story-8
How Much Horsepower Every Corvette Engine "LOST" in 1972

Slideshow: How much horsepower every Corvette engine lost in 1972.

By Joe Kucinski | 2026-05-27 16:54:53


VIEW MORE
story-9
Top 10 DOs and DON'Ts for Protecting Your Convertible Top!

Slideshow: How to Protect A Convertible Top: 10 DOs & DON'Ts

By Michael S. Palmer | 2026-04-03 00:00:00


VIEW MORE