![]() |
|
|
#1 |
|
"Mike"
Aug 2002
25·257 Posts |
We are trying to figure out how this web page implements their spoiler tag.
https://www.reddit.com/r/dailyprogra...ts_and_vowels/ For mobile users it is better because you can click on it to reveal the text.
|
|
|
|
|
|
#2 |
|
Account Deleted
"Tim Sorbera"
Aug 2006
San Antonio, TX USA
17×251 Posts |
I think they just use a different style on hover. StackExchange has a similar setup, but clicking on it toggles the spoiler class. The clicking approach works even better on mobile: the hovering one only works because the invisible cursor happens to be left there if you click on it. Scrolling could undo the spoiler-revealing.
Last fiddled with by Mini-Geek on 2015-10-28 at 02:49 |
|
|
|
|
|
#3 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
22·1,549 Posts |
I am not so sure it is better. It is easy to accidentally show the text when I only wanted to reposition the cursor. And being required to keep the cursor over the text is annoying because when I want to use the scrollbar to move the display the text disappears again.
|
|
|
|
|
|
#4 |
|
"Mike"
Aug 2002
25×257 Posts |
That "Fiddle" thing is very cool!
|
|
|
|
|
|
#5 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
619610 Posts |
|
|
|
|
|
|
#6 |
|
"Mike"
Aug 2002
100000001000002 Posts |
Please test the new spoiler tag out.
Hello! We will try to figure out the clicky part next.
|
|
|
|
|
|
#7 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
22×1,549 Posts |
|
|
|
|
|
|
#8 |
|
"Mike"
Aug 2002
25×257 Posts |
|
|
|
|
|
|
#9 |
|
Undefined
"The unspeakable one"
Jun 2006
My evil lair
22×1,549 Posts |
|
|
|
|
|
|
#10 |
|
"Kieren"
Jul 2011
In My Own Galaxy!
2×3×1,693 Posts |
Works well in FF 35.0.
|
|
|
|
|
|
#11 |
|
Romulan Interpreter
Jun 2011
Thailand
100101100011002 Posts |
Works well in FF 41 too.
The time could be a bit longer, just to avoid revealing by mistake. |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| GQQ: a "deterministic" "primality" test in O(ln n)^2 | Chair Zhuang | Miscellaneous Math | 21 | 2018-03-26 22:33 |
| Stockfish game: "Move 8 poll", not "move 3.14159 discussion" | MooMoo2 | Other Chess Games | 5 | 2016-10-22 01:55 |
| Aouessare-El Haddouchi-Essaaidi "test": "if Mp has no factor, it is prime!" | wildrabbitt | Miscellaneous Math | 11 | 2015-03-06 08:17 |
| Would Minimizing "iterations between results file" may reveal "is not prime" earlier? | nitai1999 | Software | 7 | 2004-08-26 18:12 |