lumos
lumos

Reputation: 753

jQuery fancyBox not working with caption script

Hello Everyone :)

I am using jQuery fancyBox for display image/video gallery and Capty script for display image title on image.

Now I have combine both script but stuck at one point. When title is display on image fancyBox is not working. May be it is covering fancyBox HTML elements.

My Sample: http://goo.gl/puFzeW

I will thankful If anyone can help me. :)

Thanks.

Upvotes: 2

Views: 221

Answers (1)

Manish
Manish

Reputation: 1447

Add this to your css

.capty-caption {
    pointer-events:none;
}

Fiddle:http://jsfiddle.net/zMQXt/8/

To make it work on IE use plugin

https://github.com/kmewhort/pointer_events_polyfill

Upvotes: 2

Related Questions