rpk4dotcom
rpk4dotcom

Reputation: 1

Highslide - close expanded image when different thumbnail is clicked

I would like to create an event on thumbnails that would close an open expander before opening the new expander without using dimming. Thinking the expanded images require the same id that each thumbnail would check to see if that id was open before opening a new one, closing the image before opening the new one.

http://www.rpk4.com/product/2013-2014-bogner-karea-d-jacket-womens-blue.html

Thanks in advance

Upvotes: 0

Views: 364

Answers (1)

MisterNeutron
MisterNeutron

Reputation: 3359

No need for any fancy scripting. That functionality is already built into Highslide JS. Just use:

hs.allowMultipleInstances = false;

You can add it to your highslide.config.js file.

See: http://highslide.com/ref/hs.allowMultipleInstances

Upvotes: 1

Related Questions