I've been looking for what I would term as a spoiler tag. What I want it to see a link that says 'View Hidden Text' or something to that effect and when you click on it, then the hidden text appears (wether it be inline or in a popup windows doesn't matter too much to me).
All the searching just leads me to code that works in forums. I actually have a spoiler code setup in my forums at G4TV. Look at the example of what I mean See where it says: Spoiler Alert: click to view --> Show
I want this but just for a website.
Spoiler Html Codes
Spoiler tags allow you to write text that some users may not want to see and hide until the reader chooses to see it.
Spoiler tags are just like editing HTML in your comment. Just wrap the new <spoiler></spoiler> tag around any text in your comment, and that’s it!
Once the comment is posted, the spoiler text is hidden by a gray background overlay. Hover over the spoiler text to reveal the content. If you’re on mobile, tap the spoiler text to view it. Spoiler tags appear whether you’re viewing the comment in the thread or in a notification.
Html Code Spoiler Text
Spoiler Html Code
Spoiler Button Html Code
Spoiler Html Code
The Largest Collection of TV spoilers and show information for the most popular shows on TV. Code Black (386) Colony (245) Comic-Con (1175) Community (1237). Hey devs, Just wondering if we could use the spoiler/spoiler tag function for posts. It would be very helpful with a guide I'm working on, and also reduce 'picture clutter' on threads, if people used them. Spoiler HTML Code! Discussion in 'HTML & Website Design' started by SamuraiZero, Mar 25, 2008. SamuraiZero Peon. Messages: 596 Likes Received: 13 Best Answers: 0.