File: mootools_common.js

package info (click to toggle)
phpmyadmin 4%3A3.3.7-11
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 19,656 kB
  • ctags: 112,701
  • sloc: php: 196,369; sh: 617; sql: 208; perl: 142; python: 105; makefile: 42
file content (15 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* 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');
    });
}