lauriemustafic / jquery-nicescroll

Automatically exported from code.google.com/p/jquery-nicescroll
0 stars 0 forks source link

Add options about the position #36

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
the option only right left position。
bug, if i wanna the  position is  "left: xxx - val "
just like:

the line 601

if ( self.opt.marLeft ) {
  var pos = {top:wpos.top,left: wpos.left - self.opt.marLeft };
} else {
  var pos = {top:wpos.top,left:wpos.left};
}

and add option:

  var _globaloptions = {
         xxxxx,
         xxxxxx,
         ....
      marLeft:"",
  }

Original issue reported on code.google.com by JayChens...@gmail.com on 18 Jun 2013 at 10:34