This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
unknown (author)
Tue Oct 21 20:41:15 -0700 2008
commit f89a2b01856146058ae6947c065615c9e766893c
tree a66d07729411f1dd4093d07e7e586e840bf1d5c4
parent 453cfaad79183f77b0633e6a8b4c8b01d69efc05
tree a66d07729411f1dd4093d07e7e586e840bf1d5c4
parent 453cfaad79183f77b0633e6a8b4c8b01d69efc05
jquery / clickable
| name | age | message | |
|---|---|---|---|
| .. | |||
| |
README | ||
| |
demo.html | ||
| |
jquery.clickable.js |
clickable/README
/* * jQuery Clickable Plugin * Copyright (c) 2008 Matt Curry * www.PseudoCoder.com * http://github.com/mcurry/jquery/tree/master/clickable * http://www.pseudocoder.com/archives/2008/10/21/clickable-box-with-jquery-part-2-the-plugin/ * * @author Matt Curry <matt@pseudocoder.com> * @license MIT * */ /* Description */ This is a small jQuery plugin that makes an entire element clickable based one of the links inside. /* Instructions */ Involk by calling the clickable function: $(".section").clickable(); With options: $(".section").clickable({ link: "a:last", hover: function() { $(this).addClass("hover"); $(this).append('<div class="learn-more">Learn More</div>'); }, unhover: function() { $(this).removeClass("hover"); $(".learn-more").remove(); } }); /* Options */ Available options are: * link - the link inside the element that will be used when the element is clicked on. Defaults to "a:first" * hover - callback function when the element is hovered * unhover - callback function when the element is unhoverd








