Can we have a new BBCode button for marking selected text as "spoiler" (click once to reveal)
As described here...
Dear anyone,
Your duolingo forum registration isn't automaticaly transferred to duome forum so in order to join duome forums you need to register with your existing or any other username and email; in any case it's advised that you choose a new password for the forum.
~ Duome Team
Spoiler Text
- Basler Biker
-
Basler BikerMOD
- MOD
- Posts: 2735
- Joined: Thu Feb 10, 2022 9:43 pm
- Location: Switzerland
- Has thanked: 380 times
- Been thanked: 1765 times
Spoiler Text
BB - Basler Biker - Positivity and constructiveness will prevail
Native / fluent / learning / fan of (bs/bl)
- HeyMarlana
-
HeyMarlanaMOD
- MOD
- Posts: 371
- Joined: Wed Feb 09, 2022 8:40 pm
- Location: Canada
- Duolingo: HeyMarlana
- Has thanked: 22 times
- Been thanked: 396 times
Re: Spoiler Text
I'm curious for what reason? This is a language-learning forum. What could someone say that is potentially spoiling for the readers? Necessary on sites that particularly are used as book reviewing forums, TV show forums, movie forums...but here??
Remember...do something nice for yourself today.
Re: Spoiler Text
Maybe for exercises and the solution is hidden, or for a given text and the translation in hidden.
native: , B2 - C1: , A1:
- Basler Biker
-
Basler BikerMOD
- MOD
- Posts: 2735
- Joined: Thu Feb 10, 2022 9:43 pm
- Location: Switzerland
- Has thanked: 380 times
- Been thanked: 1765 times
Re: Spoiler Text
HeyMarlana wrote: ↑Mon Mar 07, 2022 7:27 pmI'm curious for what reason? This is a language-learning forum. What could someone say that is potentially spoiling for the readers? Necessary on sites that particularly are used as book reviewing forums, TV show forums, movie forums...but here??
for this viewtopic.php?t=1924
BB - Basler Biker - Positivity and constructiveness will prevail
Native / fluent / learning / fan of (bs/bl)
- HeyMarlana
-
HeyMarlanaMOD
- MOD
- Posts: 371
- Joined: Wed Feb 09, 2022 8:40 pm
- Location: Canada
- Duolingo: HeyMarlana
- Has thanked: 22 times
- Been thanked: 396 times
Re: Spoiler Text
I think it is not a good idea in a public area to refer to something which has an restricted access. Most user, inlcuding myself, can't see what is behind the link and will only see:
You are not authorised to read this forum.
Indeed, not a good idea: but here is some spoiler text based example of multiple choice
*** 3 *** Lena Ja, …….. * (which asnwer fits best)
KO A) sedan två månader.
KO B) från en månad.
OK C) sedan en månad
native: , B2 - C1: , A1:
Re: Spoiler Text
Ooh that's pretty handy.
||spoiler||
spoiler
Pensando en la inmortalidad del cangrejo • Flags Are Not Languages
- Basler Biker
-
Basler BikerMOD
- MOD
- Posts: 2735
- Joined: Thu Feb 10, 2022 9:43 pm
- Location: Switzerland
- Has thanked: 380 times
- Been thanked: 1765 times
Re: Spoiler Text
I wonder what html is generated to achieve this
BB - Basler Biker - Positivity and constructiveness will prevail
Native / fluent / learning / fan of (bs/bl)
Re: Spoiler Text
Well, you're in luck!
Code: Select all
<span class="spoiler markdown" onclick="removeAttribute('style')" style="background:#444;color:transparent">spoiler</span>
You can try Ctrl
+Shift
+C
, then click an element on the page to find out how the sausage is made
Pensando en la inmortalidad del cangrejo • Flags Are Not Languages
- Basler Biker
-
Basler BikerMOD
- MOD
- Posts: 2735
- Joined: Thu Feb 10, 2022 9:43 pm
- Location: Switzerland
- Has thanked: 380 times
- Been thanked: 1765 times
Re: Spoiler Text
luo-ning wrote: ↑Mon Mar 07, 2022 9:49 pmWell, you're in luck!
Code: Select all
<span class="spoiler markdown" onclick="removeAttribute('style')" style="background:#444;color:transparent">spoiler</span>
You can try
Ctrl
+Shift
+C
, then click an element on the page to find out how the sausage is made
would you know how to apply this to hide the answer cell in a "pipe"-generated table such as this one
question... | ...answer |
BB - Basler Biker - Positivity and constructiveness will prevail
Native / fluent / learning / fan of (bs/bl)
- Basler Biker
-
Basler BikerMOD
- MOD
- Posts: 2735
- Joined: Thu Feb 10, 2022 9:43 pm
- Location: Switzerland
- Has thanked: 380 times
- Been thanked: 1765 times
Re: Spoiler Text
Basler Biker wrote: ↑Mon Mar 07, 2022 9:42 pmI wonder what html is generated to achieve this
This is the generated HTML
Code: Select all
<span style="color:#FF8000"><span class="spoiler markdown" onclick="removeAttribute('style')" style="background:#444;color:transparent">KO</span></span> A) sedan två månader.<br>
BB - Basler Biker - Positivity and constructiveness will prevail
Native / fluent / learning / fan of (bs/bl)