Don't Spoil the Surprise for Your Readers
Blogging covers many topics including Movies, Books or other mediums where readers may not be ready for all of the details just yet. In times like those it's handy to provide a safe browsing experience so a visitor can choose whether to read a certain detail or not. That's where this handy script and CSS come in.
Easily Add Spoiler Blocks and Inline Text
Spoiler blocks are simple, until a reader takes an action the information is hidden. It's up to them what they do and do not see. I've written a short script using JQuery with the basic styles necessary to make things work. Once these components are added to a blog it's a simple process to include hidden spoilers within posts. Include the below script includes and CSS in your template <head> block to make it work.
Showing posts with label Useful Scripts. Show all posts
Showing posts with label Useful Scripts. Show all posts
Saturday, April 16, 2011
Subscribe to:
Posts
(
Atom
)