Applied patch by Marko Kastellic - refs #5563

1.9.x
Yannick Warnier 13 years ago
commit af3de2fbe0
  1. 5
      main/inc/lib/javascript/jquery.lp_minipanel.js

@ -41,6 +41,7 @@ function toogle_minipanel() {
}
var left_width = 292; // (relative) hide_bar position
var left_widht_mini = 20; // (relative) hide_bar position
$(document).ready(function() {
@ -54,12 +55,12 @@ $(document).ready(function() {
$('#hide_bar table').hover(function () {
if ($('#hide_bar').position().left >= left_width)
$(this).css('backgroundImage','url(../img/hide1.png)').css('backgroundColor','#888888');
else if($('#hide_bar').position().left == 0)
else if($('#hide_bar').position().left <= left_width_mini)
$(this).css('backgroundImage','url(../img/hide3.png)').css('backgroundColor','#888888');
},function (){
if($('#hide_bar').position().left >= left_width)
$(this).css('backgroundImage','url(../img/hide0.png)').css('backgroundColor','#EEEEEE');
else if($('#hide_bar').position().left == 0)
else if($('#hide_bar').position().left <= 20)
$(this).css('backgroundImage','url(../img/hide2.png)').css('backgroundColor','#EEEEEE');
}
);

Loading…
Cancel
Save