This commit is contained in:
rulingcom 2023-07-08 15:48:25 +08:00
parent dcf57b4aef
commit 923df6f9dc
2 changed files with 14 additions and 1 deletions

View File

@ -35,4 +35,17 @@
</div> </div>
</div> </div>
</div> </div>
<script>
$(document).ready(function(){
$('[data-subpart-id="{{subpart-id}}"] .card-body a').on('focusin', function(){
var _this = $(this);
var card_flip = _this.parents('.card-flip');
card_flip.addClass('hover-class');
var off_hover = function(){
card_flip.removeClass('hover-class');
}
_this.one('focusout', off_hover);
})
})
</script>
</div> </div>

View File

@ -7,7 +7,7 @@
<div class="show-content col-xs-6 col-sm-2"> <div class="show-content col-xs-6 col-sm-2">
<div class="show-content-inner"> <div class="show-content-inner">
<div class="show-pic"> <div class="show-pic">
<a href="{{link_to_show}}" onclick="window.location.hash = '{{link_to_show}}';GalleryTheater();return false;"> <a href="{{link_to_show}}" onclick="window.location.hash = '{{link_to_show}}';gt.createTheater('/xhr/galleries/theater/{{link_to_show}}');return false;">
<img class="img" src="{{thumb-src}}" alt="{{alt_title}}"> <img class="img" src="{{thumb-src}}" alt="{{alt_title}}">
</a> </a>
<p class="show-description">{{image-description}}</p> <p class="show-description">{{image-description}}</p>