Add carousel block type to nhnewsstory
This commit is contained in:
@@ -2735,6 +2735,9 @@ li.detail.category
|
|||||||
{
|
{
|
||||||
width: 240px;
|
width: 240px;
|
||||||
}
|
}
|
||||||
|
.horizontal_carousel_container a.slider_control {
|
||||||
|
top: 50% !important;
|
||||||
|
}
|
||||||
.column_2_3 .horizontal_carousel_container.thin .horizontal_carousel.visible-5>li,
|
.column_2_3 .horizontal_carousel_container.thin .horizontal_carousel.visible-5>li,
|
||||||
.gallery_popup .horizontal_carousel_container.thin .horizontal_carousel.visible-8 > li
|
.gallery_popup .horizontal_carousel_container.thin .horizontal_carousel.visible-8 > li
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -39,6 +39,18 @@
|
|||||||
@endforeach
|
@endforeach
|
||||||
</video>
|
</video>
|
||||||
<span class="author">{{$block->video->author}}</span>
|
<span class="author">{{$block->video->author}}</span>
|
||||||
@endif
|
@elseif($block->type == "carousel")
|
||||||
|
<div class="horizontal_carousel_container gallery">
|
||||||
|
<ul class="horizontal_carousel visible-5 autoplay-1 scroll-1 navigation-1 easing-easeInOutQuint duration-750">
|
||||||
|
@foreach($block->items as $image)
|
||||||
|
<li>
|
||||||
|
<a href="{{$image->image->imageWide}}" class="post_image prettyPhoto" rel="prettyPhoto[gallery]" title="{{$image->image->title}} © {{$image->image->author}}">
|
||||||
|
<img src="{{$image->image->imageWide}}" alt="{{$image->image->title}}" title="{{$image->image->title}}">
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
@endforeach
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user