Skip to content

Commit

Permalink
B1、B2、B3 alt加入圖片說明示意文字
Browse files Browse the repository at this point in the history
  • Loading branch information
mingshuyashuya committed Nov 27, 2023
1 parent 140cfdb commit 994101e
Show file tree
Hide file tree
Showing 7 changed files with 632 additions and 632 deletions.
622 changes: 311 additions & 311 deletions B_1/cp.htm

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions B_1/vendor/slick/slick-lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@
var $items, createItem, links;
if (this.options.images) {
links = $.map(this.options.images, function(img) {
return '<div class="slick-lightbox-slick-item"><div class="slick-lightbox-slick-item-inner"><img class="slick-lightbox-slick-img" src=" ' + img + '" alt=""/></div></div>';
return '<div class="slick-lightbox-slick-item"><div class="slick-lightbox-slick-item-inner"><img class="slick-lightbox-slick-img" src=" ' + img + '" alt="圖片說明"/></div></div>';
});
} else {
createItem = function(_this) {
return function(el) {
var caption, src;
caption = _this.getElementCaption(el);
src = _this.getElementSrc(el);
return '<div class="slick-lightbox-slick-item"><div class="slick-lightbox-slick-item-inner"><img class="slick-lightbox-slick-img" src="' + src + '" alt="" />' + caption + '</div></div>';
return '<div class="slick-lightbox-slick-item"><div class="slick-lightbox-slick-item-inner"><img class="slick-lightbox-slick-img" src="' + src + '" alt="圖片說明" />' + caption + '</div></div>';
};
}(this);
$items = this.filterOutSlickClones(this.$element.find(this.options.itemSelector));
Expand Down
622 changes: 311 additions & 311 deletions B_2/cp.htm

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions B_2/vendor/slick/slick-lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@
var $items, createItem, links;
if (this.options.images) {
links = $.map(this.options.images, function(img) {
return '<div class="slick-lightbox-slick-item"><div class="slick-lightbox-slick-item-inner"><img class="slick-lightbox-slick-img" src="' + img + '" alt="" /></div></div>';
return '<div class="slick-lightbox-slick-item"><div class="slick-lightbox-slick-item-inner"><img class="slick-lightbox-slick-img" src="' + img + '" alt="圖片說明" /></div></div>';
});
} else {
createItem = function(_this) {
return function(el) {
var caption, src;
caption = _this.getElementCaption(el);
src = _this.getElementSrc(el);
return '<div class="slick-lightbox-slick-item"><div class="slick-lightbox-slick-item-inner"><img class="slick-lightbox-slick-img" src="' + src + '" alt="" />' + caption + '</div></div>';
return '<div class="slick-lightbox-slick-item"><div class="slick-lightbox-slick-item-inner"><img class="slick-lightbox-slick-img" src="' + src + '" alt="圖片說明" />' + caption + '</div></div>';
};
}(this);
$items = this.filterOutSlickClones(this.$element.find(this.options.itemSelector));
Expand Down
8 changes: 4 additions & 4 deletions B_3/cp.htm
Original file line number Diff line number Diff line change
Expand Up @@ -292,24 +292,24 @@ <h3>燈箱照片</h3>
<div class="cp_slider">
<div class="imgOuter">
<a href="https://assets.imgix.net/examples/kingfisher.jpg?w=800&h=480&fit=crop&auto=format%2Cenhance&usm=20" data-caption="第一張圖說">
<img src="https://assets.imgix.net/examples/kingfisher.jpg?w=800&h=480&fit=crop&auto=format%2Cenhance&usm=20" alt="">
<img src="https://assets.imgix.net/examples/kingfisher.jpg?w=800&h=480&fit=crop&auto=format%2Cenhance&usm=20" alt="圖片說明">
</a>
<p class="infotxt">第一張圖說</p>
</div>
<div class="imgOuter">
<a href="https://assets.imgix.net/examples/puffins.jpg?w=800&h=480&fit=crop&auto=format%2Cenhance&usm=20" data-caption="第二張圖說">
<img src="https://assets.imgix.net/examples/puffins.jpg?w=800&h=480&fit=crop&auto=format%2Cenhance&usm=20" alt=""> </a>
<img src="https://assets.imgix.net/examples/puffins.jpg?w=800&h=480&fit=crop&auto=format%2Cenhance&usm=20" alt="圖片說明"> </a>
<p class="infotxt">第二張圖說</p>
</div>
<div class="imgOuter">
<a href="https://assets.imgix.net/unsplash/transport.jpg?w=800&h=480&fit=crop&auto=format%2Cenhance&usm=20" data-caption="第三張圖說">
<img src="https://assets.imgix.net/unsplash/transport.jpg?w=800&h=480&fit=crop&auto=format%2Cenhance&usm=20" alt="">
<img src="https://assets.imgix.net/unsplash/transport.jpg?w=800&h=480&fit=crop&auto=format%2Cenhance&usm=20" alt="圖片說明">
</a>
<p class="infotxt">第三張圖說</p>
</div>
<div class="imgOuter">
<a href="https://assets.imgix.net/unsplash/bridge.jpg?w=800&h=480&fit=crop&auto=format%2Cenhance&usm=20" data-caption="第四張圖說">
<img src="https://assets.imgix.net/unsplash/bridge.jpg?w=800&h=480&fit=crop&auto=format%2Cenhance&usm=20" alt="">
<img src="https://assets.imgix.net/unsplash/bridge.jpg?w=800&h=480&fit=crop&auto=format%2Cenhance&usm=20" alt="圖片說明">
</a>
<p class="infotxt">第四張圖說</p>
</div>
Expand Down
Binary file modified B_3/vendor/.DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions B_3/vendor/slick/slick-lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@
var $items, createItem, links;
if (this.options.images) {
links = $.map(this.options.images, function(img) {
return '<div class="slick-lightbox-slick-item"><div class="slick-lightbox-slick-item-inner"><img class="slick-lightbox-slick-img" src="' + img + '" alt="" /></div></div>';
return '<div class="slick-lightbox-slick-item"><div class="slick-lightbox-slick-item-inner"><img class="slick-lightbox-slick-img" src="' + img + '" alt="圖片說明" /></div></div>';
});
} else {
createItem = function(_this) {
return function(el) {
var caption, src;
caption = _this.getElementCaption(el);
src = _this.getElementSrc(el);
return '<div class="slick-lightbox-slick-item"><div class="slick-lightbox-slick-item-inner"><img class="slick-lightbox-slick-img" src="' + src + '" alt="" />' + caption + '</div></div>';
return '<div class="slick-lightbox-slick-item"><div class="slick-lightbox-slick-item-inner"><img class="slick-lightbox-slick-img" src="' + src + '" alt="圖片說明" />' + caption + '</div></div>';
};
}(this);
$items = this.filterOutSlickClones(this.$element.find(this.options.itemSelector));
Expand Down

0 comments on commit 994101e

Please sign in to comment.