Jump to content

Help with ShadowBox/CloudZoom integration

Guest coolcopy

Recommended Posts

Guest coolcopy

I plan to set up a photo gallery using ShadowBox, but I also want to add a zoom feature within the gallery for individual elements. Preferably using the CloudZoom plugin.How it should (hopefully) work: Click on any thumbnail --> A resized large image opens up inside ShadowBox --> CloudZoom is activated on this image on mouseover.What I've obviously :) got so far is this:

Shadowbox.init({		skipSetup: true });window.onload = function() {	Shadowbox.setup("a.mygallery-elements", {	gallery: "mygallery"	});};

Is there a way to call CloudZoom after the gallery is invoked. I know I have to use ShadowBox's getCurrent() and onFinish... but don't know how exactly. Can anyone out there advise me on this?Thanks in advance.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...