1 /* upon document completion, we locate all the hide and show areas,
2 * and configure their behaviour
4 /* xxx missing - see plugin.php
5 * if (typeof jQuery('#$uuid').$title != 'undefined') {
6 * jQuery('#$uuid').$title('show');
10 $(document).ready(function() {
11 $('.plugin-hide').each(function() {
12 $(this).click(function () {
13 var plugin='#'+$(this).attr('id').replace('hide-','plugin-');
14 var show='#'+$(this).attr('id').replace('hide-','show-');
15 jQuery(plugin).hide(); jQuery(show).show(); $(this).hide();});
17 $('.plugin-show').each(function() {
18 $(this).click(function () {
19 var plugin='#'+$(this).attr('id').replace('show-','plugin-');
20 var hide='#'+$(this).attr('id').replace('show-','hide-');
21 jQuery(plugin).show(); jQuery(hide).show(); $(this).hide();});