red_squared: A red square (Default)
Esinde Nayrall ([personal profile] red_squared) wrote in [site community profile] dw_suggestions2009-07-22 06:47 pm

Spoiler short-cut

Title:
Spoiler short-cut

Area:
Entries

Summary:
Coding a html short-cut for having the same colour for background and text.

Description:
Requesting a html short-cut for spoiler text. That is, being able to mark up [spoiler] SPOILER GOES HERE [/spoiler] (or something similar) and having it post with the same colour background as text so that the spoiler must be highlighted to be read.

A nifty version of the code exists, which I understand makes hiding spoilers in this way effective for people who use screen-reading software as well. The link for the code is: http://amadi.dreamwidth.org/40143.html

Thanks!

- E

Open to: Registered Users, detailed results viewable to: All, participants: 50


This suggestion:

View Answers

Should be implemented as-is.
16 (32.0%)

Should be implemented with changes.
9 (18.0%)

Shouldn't be implemented.
24 (48.0%)

(Other: please comment)
1 (2.0%)

[personal profile] eos_rose 2009-07-31 09:52 pm (UTC)(link)
This is possible using customized css. I do something similar in one of my journals. I just identify the spoiler using a "class" or "id" and make sure to specify that class or id in any css layout I implement.