JavaScript jQuery.reclick Plugin

The jQuery.reclick plugin provides two actions:

  1. jQuery(elements).storeclick(aCookieName) – this binds a handler to the click event. When the element is clicked, its ID is stored in a cookie `aCookieName `
  2. jQuery.reclick(aCookieName) – if this is called, the element of the stored ID is clicked.

This may be useful e.g. to keep selected tabs or other clickable settings between pages.

Note: jquery.cookie.js plugin is required!

See plugin source code or the example and its source code for more details.

Download: version 1.0 (02/01/2009)

Published on 2 února, 2009 by pixy • Category: JavaScript

No Comments to “jQuery.reclick Plugin”

Something serious to tell?

To comment, you have to login.