Explanation of spoiler tag in the FAQ [message #31155] |
Wed, 05 April 2006 15:44 |
JanRei
Messages: 361 Registered: October 2005 Location: Germany
Karma:
|
Senior Member Contributing Core Developer Translator |
|
|
The sample of a spoiler tag in the FAQ doesn't work for me properly. When I open the FAQ page the spoiler is already opened but empty (the text "Hidden part of the message" is missing). Wouldn't it be better if the spoiler in FAQ worked as the spoiler in the forum?
I did an analysis of the source code:
normal message in the forum | <div class="dashed" style="padding: 3px;" align="center" width="100%"><a href="javascript://" OnClick="javascript: layerVis('535704201', 1);">Reveal Spoiler</a><div align="left" id="535704201" style="display: none;">Hidden part of the message</div></div>
|
FAQ | <div class="dashed" style="padding: 3px;" align="center" width="100%"><a href="javascript://" OnClick="javascript: layerVis('1482055279834293165', 1);">Reveal Spoiler</a><div align="left" id="1482055279834293165" style="visibility: hidden;">Hidden part of the message</div></div>
|
|
|
|