Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

[Solved] Thumbs don't work with jscrollpane

More
12 years 7 months ago - 12 years 7 months ago #48345 by jarco
Hello,

I am trying to implement your plugin. It works fine and looks great also.
We have a customer who needs to show a horizontal scrollbar and I implemented jscrollpane (jquery for that).
I tried some things to avoid disturbing the gallery script but still I have one problem:

When I enable the scrollbar the thumbs stop showing in the larger box (galleria).

example page: toralko.info/lvj/index.php/projecten/hidden/item/141-item-tag-test

How can I solve this issue?

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #48346 by Katia
Replied by Katia on topic Re: Thumbs don't work with jscrollpane
Sorry but I cannot help you in customization. I really don't know what you have changed in the plugin code but definitely this doesn't look like Galleria template. 

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #48347 by jarco
Replied by jarco on topic Re: Thumbs don't work with jscrollpane
I just got rid of the css and added css to position the thumbs at the bottom with position:absolute .
I didn't change the actual code.
The only thing that is actually changed (without the cosmetic changes in css) is the jscrollpane jquery plugin.

I guess the problem is due to the extra divs that jscrollpane adds as a child  to the thumb ul but I am not sure how to fix that problem.

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #48348 by jarco
Replied by jarco on topic Re: Thumbs don't work with jscrollpane
Just to clarify: I did not change ANYTHING in the plugin code. Only in the templates css and javascript.

Please Log in or Create an account to join the conversation.

More
12 years 7 months ago #48349 by jarco
Replied by jarco on topic Re: Thumbs don't work with jscrollpane
Ok. This is now solved. The solution was that jscrollpane added some divs to place the scrollbar and the parent div was wrong.

The solution is to change this line:
var outerContainer = el.parent().parent().parent().parent().parent();

to this line:
var outerContainer = el.parent().parent().parent().parent().parent().parent().parent();
in behaviour.js

More details can be found here:

stackoverflow.com/questions/10618394/jscrollpane-breaks-image-gallery-simple-image-gallery-pro

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum