1

It perfectly works on HTML ...

$("html").niceScroll({zindex: 10002, autohidemode:true, cursorcolor:"#FF9933", horizrailenabled:false});

... but if I try to show it on a div like this (where aviso_float_content is the hidden div that must be displayed with the nicescroll scrollbar within it) ...

$("#aviso_float_content").niceScroll({zindex: 11002, autohidemode:false, cursorcolor:"#FF9933", horizrailenabled:false}); 

... there is no way. Div's content is scrollable, but no scrollbar is shown. Without this code the windows standard scrollbar shows and works fine, but I wanted the nice scroll one instead. I've already tried, unsuccessfuly, appending the following script ...

$("#aviso_float_content").mouseover(function() {
    $("#aviso_float_content").getNiceScroll().resize();
});

Any help would be appreciated.

Shadow The GPT Wizard
  • 66,030
  • 26
  • 140
  • 208
Jorgeska
  • 458
  • 1
  • 6
  • 21
  • I don't get it, aviso_float_content is hidden? – Tony Jan 02 '14 at 09:20
  • Yes. At the first time aviso_float_content is hidden. There is `display: none;` in the CSS, but by the time a _'Legal Notice'_ button is clicked this jquery ... `$("#aviso_float_content").css("display", "block");` ... turns aviso_float_content to visible. – Jorgeska Jan 11 '14 at 17:21

0 Answers0