Click to open network menu
Join or Log In
Mobafire logo

Join the leading League of Legends community. Create and share Champion Guides and Builds.

Create an MFN Account






Or

's Forum Avatar

"Spoiler" Coding Question

Creator: Swuft November 27, 2016 7:21pm
Swuft
<Fabulous>
Swuft's Forum Avatar
Show more awards
Posts:
222
Joined:
Oct 18th, 2015
Permalink | Quote | PM | +Rep November 27, 2016 7:21pm | Report
I have a question regarding nested spoilers, or whatever they're called.

If I do:

Hello


Why is the "Goodbye" Spoiler open inside the first by default? Is there a way to make it so that when I first open the "Hello" spoiler, the "Goodbye" spoiler is collapsed?

Thanks for the help.
utopus
<Veteran>
utopus's Forum Avatar
Show more awards
Posts:
3801
Joined:
Dec 6th, 2011
Permalink | Quote | PM | +Rep November 27, 2016 10:06pm | Report
IIRC it's always been that way
If I helped you out, be sure to throw me a +Rep!
-

My Soraka Guide | My Review Service


Thanks for the sig, MissMaw!
Elusive Ferret
<Crowd Favorite>
Elusive Ferret's Forum Avatar
Show more awards
Posts:
905
Joined:
Jan 16th, 2015
Permalink | Quote | PM | +Rep November 27, 2016 10:08pm | Report
Yeah pr sure there's no way around it. How come you want a spoiler box within a spoiler box anyhow?
I can't take back the words I never said
PsiGuard
<Retired Admin>
PsiGuard's Forum Avatar
Show more awards
Posts:
10290
Joined:
Jun 26th, 2011
Permalink | Quote | PM | +Rep November 27, 2016 10:48pm | Report
Yeah I don't believe this is possible at this time, sorry. :(
Thanks to Janitsu for the sig!
Swuft
<Fabulous>
Swuft's Forum Avatar
Show more awards
Posts:
222
Joined:
Oct 18th, 2015
Permalink | Quote | PM | +Rep November 28, 2016 6:13am | Report
PsiGuard wrote:
Yeah I don't believe this is possible at this time, sorry. :(


Yeah pr sure there's no way around it. How come you want a spoiler box within a spoiler box anyhow?




The idea was for a Matchups section. I wanted to sort a bunch of champions into Matchups A-G namewise in a spoiler to save space, but then each individual champ has a bunch of info specific to them so I wanted to hide that under another spoiler. i.e.

matchups a-g


It's more of a quality of life/aesthetic thing. Just looks better and is less confusing if all the nested spoilers are shut when you open the "Matchups A-G" spoiler.

Thanks for the helps guys.

You need to log in before commenting.

League of Legends Champions:

Teamfight Tactics Guide