Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: formatting spoilers (not perfect)

by tye (Sage)
on Mar 21, 2004 at 20:18 UTC ( [id://338535]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: formatting spoilers
in thread formatting spoilers

Yep, nothing is perfect. Readmore has several problems: You get 'spoiled' without warning if you select the node from Newest Nodes, it is slow and painful to reveal multiple spoilers in a thread full of them, some people have 'readmore' disabled, ...

Note that putting CODE tags inside of an HTML comment will cause the 'download code' link to appear automatically, so you don't *have to* put in your own link. But that solution for spoilers isn't perfect either.

I recently discussed this and realized that the black-on-black or white-on-white method doesn't work for everyone. So I think we should just support <spoiler> and </spoiler> that would just get replaced with the *viewer's* choice of spoiler method. In user settings you could pick between a few methods including at least HTML comments, 'readmore' tags, black-on-black, or act like readmore but provide a link to the node with ;spoil=1 or such added to the URL.

- tye        

  • Comment on Re^2: formatting spoilers (not perfect)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://338535]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.