jeffreyhi1 / jscrollpane

Automatically exported from code.google.com/p/jscrollpane
0 stars 0 forks source link

is it possible to have a jScrollpane inside a "lighbox" or "fancybox"? #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have been trying to create a scrollbar inside a fancybox (calls an ajax
page)... but no success so far.. anyone?

Original issue reported on code.google.com by gimperda...@gmail.com on 31 Mar 2009 at 12:17

GoogleCodeExporter commented 9 years ago
This should work. You will need to reinitialise the scroll pane once you 
receive the
ajax data as in this example: 

http://www.kelvinluck.com/assets/jquery/jScrollPane/ajax_example.html

Hope that helps,

Kelvin :)

Original comment by kelvin.l...@gmail.com on 31 Mar 2009 at 3:14

GoogleCodeExporter commented 9 years ago
Thank you so much. It wasn't as easy as I thought it would be, but it worked! I
didn't use "load" event but I used a fancybox function to pass the variable. 
Thanks!

Original comment by gimperda...@gmail.com on 31 Mar 2009 at 6:42

GoogleCodeExporter commented 9 years ago
Awesome - glad it helped :)

Original comment by kelvin.l...@gmail.com on 1 Apr 2009 at 12:08