小编Kau*_*hta的帖子

如何在.galleria中添加替代文本?

如何使用jquery.galleria.js在缩略图和大图像中添加替代文本?

$(window).load(function() {
      Galleria.loadTheme('http://www.bulogjatim.com/wp-content/themes/duotive-fortune/js/jquery.galleria.template.js');
      $("#galleria").galleria({
        width: 880,
        height: 439,
        transition: 'fadeslide'
      });
    );
Run Code Online (Sandbox Code Playgroud)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<div id="galleria" class="galleria-wrapper">
  <a class="image-wrapper" href="http://veithen.github.io/images/icon-stackoverflow.svg">
    <img src="http://veithen.github.io/images/icon-stackoverflow.svg" />
  </a>
</div>
Run Code Online (Sandbox Code Playgroud)

jquery

7
推荐指数
1
解决办法
1204
查看次数

标签 统计

jquery ×1