javascript - JScrollPane issue when using % widths -


I'm just starting to use JScrollPane, which works in a defective manner with 1 exception. I'm trying to use it where% width is required, and in spite of everything looks fine at the beginning, the DIVA browser does not dynamically expand with the window. It only occurs when I display JScrollPane Have implemented.

Does anyone know how to fix this? As is the case, as soon as the page loads, the divis is also stretched, but if the browser window is expanded, then the div is not stretched as it should.

Thanks

After a little bit of tinkering, The job was getting. Just refresh the call to .jScrollPane (); An attraction seems to work on .resize (). Chrome, Firefox, IE & amp; Win7 on Safari

  $ (window) Resize (function () {$ ('. Scroll-pane'). JScrollPane ();});    

Comments