Miguel Peixe
Miguel Peixe
You should not include the class file inside a shortcode function, instead include it in the root of your `functions.php` file. The class implements several hooks that are not available...
Is it working if you perform this query outside of the shortcode?
I must admit that I'm not completely sure that the class is working properly with the latest WP version, since it's been 2 years since my last commit. I'll have...
that would be awesome... my div has relative height and i'm trying to redo the function on resize event, but nothing
eg: $(window).resize() { ``` var srollableHeight = $(window).height() / 2; $(".scrollable").height(scrollableHeight); $(".scrollable").scrollable(); ``` } each time the window is resized the function is recalled to readjust to the new height,...
in the example above i could fix defining 50% height on the css, but in my case I have other variables working to define the height (just to state that...