diff options
author | Simon | 2011-04-20 11:52:13 +0200 |
---|---|---|
committer | Simon | 2011-04-20 11:52:13 +0200 |
commit | 23f07cc0d8b7713b7997846c14926e1e7f4f68d0 (patch) | |
tree | 87625b1566d8baf210e6c9bf122493e9ba8464b9 /public | |
parent | Suche in BootMenu wird für normlen Benutzer ausgeblendet (diff) | |
download | pbs2-23f07cc0d8b7713b7997846c14926e1e7f4f68d0.tar.gz pbs2-23f07cc0d8b7713b7997846c14926e1e7f4f68d0.tar.xz pbs2-23f07cc0d8b7713b7997846c14926e1e7f4f68d0.zip |
Ticket #229 - Hilfetexte wurde bei den Bereichen, zu denen Benutzer zugriff haben hinzugefügt
Diffstat (limited to 'public')
-rw-r--r-- | public/media/css/style.css | 7 | ||||
-rw-r--r-- | public/media/img/bulb_off.png | bin | 0 -> 554 bytes | |||
-rw-r--r-- | public/media/img/bulb_on.png | bin | 0 -> 525 bytes | |||
-rw-r--r-- | public/media/js/user.js | 9 |
4 files changed, 15 insertions, 1 deletions
diff --git a/public/media/css/style.css b/public/media/css/style.css index 80b504c..0c076ab 100644 --- a/public/media/css/style.css +++ b/public/media/css/style.css @@ -508,4 +508,11 @@ table.json td { background-color: yellow; } +.helpericon { + vertical-align:text-top; +} + +.helper { + display: none; +} diff --git a/public/media/img/bulb_off.png b/public/media/img/bulb_off.png Binary files differnew file mode 100644 index 0000000..fdfed3b --- /dev/null +++ b/public/media/img/bulb_off.png diff --git a/public/media/img/bulb_on.png b/public/media/img/bulb_on.png Binary files differnew file mode 100644 index 0000000..283c938 --- /dev/null +++ b/public/media/img/bulb_on.png diff --git a/public/media/js/user.js b/public/media/js/user.js index 26f4e80..50cfb80 100644 --- a/public/media/js/user.js +++ b/public/media/js/user.js @@ -1,6 +1,5 @@ $(document).ready(function(){ if($('.listelement .element').find('.dispnone').length >= 1){ - console.log($(this)); $('.listelement .element').find('.dispnone').parent().find('.title') .css('cursor','pointer') .prepend("<span class='toggler'><img src='/media/img/right.png'></span> ") @@ -18,6 +17,14 @@ $(document).ready(function(){ } }); } + $('.helpericon').click(function(){ + $('.infobox').slideToggle('fast'); + if($(this).data('info') == '1'){ + $(this).data('info','0').attr('src','/media/img/bulb_off.png'); + } else{ + $(this).data('info','1').attr('src','/media/img/bulb_on.png'); + } + }); }); function checkAllCheckBoxes(exceptions) { |