diff options
Diffstat (limited to 'application/modules/user/views/scripts/role/linkright.phtml')
| -rw-r--r-- | application/modules/user/views/scripts/role/linkright.phtml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/application/modules/user/views/scripts/role/linkright.phtml b/application/modules/user/views/scripts/role/linkright.phtml index 38c0d45..f7c1133 100644 --- a/application/modules/user/views/scripts/role/linkright.phtml +++ b/application/modules/user/views/scripts/role/linkright.phtml @@ -1,5 +1,17 @@ <h1>Add Right</h1> +<div>Click to expand the boxes</div> <?php $this->linkForm->setAction($this->url()); echo $this->linkForm; -?>
\ No newline at end of file +?> +<script> +$(document).ready(function(){ + $('fieldset').children('dl:gt(0)').hide(); + $('fieldset fieldset>legend').css('cursor','pointer'); + $('fieldset fieldset').click( + function(){ + $(this).children('dl').slideToggle(); + }); + +}); +</script> |
