+
+ {hcTaglib:contentPage2 cid="193" mainField="*" subField="*" name="hc_content" limit="30" item="vo" sort="id asc"}
+
+ {/hcTaglib:contentPage2}
+
@@ -338,14 +349,32 @@
})
+ // $('.abpg5 .swipjoin .swiper-slide').click(function () {
+ // $.getJSON("/default/article-detail-json", { id: $(this).data('id') }, function (result) {
+ // $("#article-title").html(result.data.title);
+ // $("#article-content").html(result.data.content);
+ // $('.zrys').show();
+ // $('.mask').show();
+ // });
+ // })
+
$('.abpg5 .swipjoin .swiper-slide').click(function () {
- $.getJSON("/default/article-detail-json", { id: $(this).data('id') }, function (result) {
- $("#article-title").html(result.data.title);
- $("#article-content").html(result.data.content);
- $('.zrys').show();
- $('.mask').show();
- });
+ let id = $(this).data('id');
+ let title = $(this).data('title');
+ let content = $(this).data('content');
+ $("#article-title").html(title);
+ $("#article-content").html(content);
+ $('.zrys').show();
+ $('.mask').show();
+
+ // $.getJSON("/default/article-detail-json", { id: $(this).data('id') }, function (result) {
+ // $("#article-title").html(result.data.title);
+ // $("#article-content").html(result.data.content);
+ // $('.zrys').show();
+ // $('.mask').show();
+ // });
})
+
$('.zrys .icon').click(function () {
$('.zrys').hide();
$('.mask').hide();