You like developing plugins don't you? ;)

How about an option to show the spoilers when you click on a link
'show spoilers'. I've seen a few forums (can't think of the exact
URL's off the top of my head though) that have this. e.g. $
('.jqSpoiler').initSpoilers("click") or $
('.jqSpoiler').initSpoilers("hover")

On Aug 8, 4:29 pm, Stephan Beal <[EMAIL PROTECTED]> wrote:
> Hi, all!
>
> Yet another plugin:
>
> http://jquery.com/plugins/project/Spoilers
>
> Demo:
>
> http://wanderinghorse.net/computing/javascript/jquery/spoilers/demo.html
>
> It is used to hide "spoiler" text from casual readers, who can reveal
> the text by mousing over it. See the web site for an example of how
> this can be useful.
>
> The code is based upon this jQuery forum thread:
>
> http://groups.google.com/group/jquery-en/browse_thread/thread/9d34cad...
>
> Many thanks to Michael Geary and Jay Salvat for doing the
> detective work in figuring out how this feature works on the imdb.com
> site.
>
> The code is trivial (a couple of lines) and it "should" work in any jQ-
> supported browser, though it is untested aside from Firefox 2.x,
> Konqueror 3.5.x, and Galeon 2.0.x.
>
> :)

Reply via email to