views:

38

answers:

0

I have a portfolio section that is set up as a main image is displayed with tiny images below it. When you click on the tiny images the main image is changed (rotator). They are changed by javascript that is run for test.html#slider1, test.html#slider2, etc.

When the main image is clicked, a lightbox, or more specifically a jQuery ColorBox opens up.

What I am trying to accomplish is when you cipher through the images in ColorBox by $next, I'd like to change the Main Image as referenced previously to correspond with the images.

I am also using ditto within MODx for these images to display.

Can I import the [+ditto_iterator+] to the jquery.colorbox.js file to recognize?

Please advise, Thanks.