You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

multiple scrollable galleries and navigations - IEFF ok, Chrome not working Created Sep 5, 2010

This thread is solved

Views: 832     Replies: 1     Last reply Sep 5, 2010  
You must login first before you can use this feature

buzibuzi

Posts: 1

Registered:
Sep 5, 2010

multiple scrollable galleries and navigations - IEFF ok, Chrome not working

Posted: Sep 5, 2010

Hi,
thanks for this great tool.
im using scrollable 1.2 in Joomla + Virtuemart products browsing by loading the products dynamically into separate scrollable div's.

each div has its own next/prev button.

it works as expected in IE and FF but for some reason it wont work in chrome.
you can see it here:

http://www.heidi-design.com/index.php?option=com_virtuemart&Itemid=27&lang=he&vmcchk=1

any ideas anyone ?
thanks
Boaz

heikki

Posts: 291

Registered:
Sep 5, 2010

» multiple scrollable galleries and navigations - IEFF ok, Chrome not working

Posted: Sep 5, 2010

Reply to: multiple scrollable galleries and navigations - IEFF ok, Chrome not working, from buzibuzi
First guess:

$(function() {
	// initialize scrollable
	$(".scrollable").scrollable({  mousewheel: true, speed: 2000,circular: true });
	$(".scrollable").scrollable({ next: '.next', prev: '.prev' });
});
You have the above initialization code three times on the page. So you are doing the initialization six times in total. One is enough because you are targeting all three instances with the ".scrollable" selector.

Second trick might be a validator check:

http://validator.w3.org/check?uri=http%3A%2F%2Fwww.heidi-design.com%2Findex.php%3Foption%3Dcom_virtuemart%26Itemid%3D27%26lang%3Dhe%26vmcchk%3D1&charset=%28detect+automatically%29&doctype=Inline&group=0

:)