Demo: Entire Block Clickable Using MooTools 1.2
This example takes a set of elements and adds a click event to the element based upon the first anchor in the element.
- Clicking this block will take you to DavidWalsh.name
- Clicking this block will take you to Script&Style.com.
- Clicking this block will take you to BandWebsiteTemplate.com
- Clicking this block will take you to MooTools.net
...becomes....
- Clicking this block will take you to DavidWalsh.name
- Clicking this block will take you to Script&Style.com.
- Clicking this block will take you to BandWebsiteTemplate.com
- Clicking this block will take you to MooTools.net