Sergei Basharov
Sergei Basharov

Reputation: 53850

Make jQuery Captify show images captions permanently

Is there a way to show captions for images permanently on page load, not only when I move mouse cursor over the image?

Upvotes: 0

Views: 561

Answers (1)

Sergei Basharov
Sergei Basharov

Reputation: 53850

There is a field animation:

$(document).ready(function(){
    $('img.captify').captify({
    speedOver: 'fast',
    speedOut: 'normal',
    hideDelay: 500,
    animation: 'always-on',
    prefix: '',
    opacity: '0.7',
    className: 'caption-bottom',
    position: 'bottom',
    spanWidth: '100%'
    });
});

It can be slide, fade and always-on. So the last one is the right choice.

Upvotes: 1

Related Questions