0

有没有办法在页面加载时永久显示图像的标题,而不仅仅是当我将鼠标光标移到图像上时?

4

1 回答 1

1

有场动画:

$(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%'
    });
});

它可以是滑动、淡入淡出和永远在线。所以最后一个是正确的选择。

于 2010-08-04T17:05:30.527 回答