Files
phpmyadmin/js/mootools_common.js
Marc Delisle c4f0c32c9f correct Id
2009-08-30 16:56:38 +00:00

16 lines
323 B
JavaScript

/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
* Used for replication support
*
* @version $Id: $
*/
function divShowHideFunc(ahref, id) {
$(ahref).addEvent('click', function() {
if ($(id).getStyle('display')=="none")
$(id).tween('display', 'block');
else
$(id).tween('display', 'none');
});
}