diff --git a/view/common/block-layout/simple-carousel.phtml b/view/common/block-layout/simple-carousel.phtml
index d8c0194..ae2b21f 100644
--- a/view/common/block-layout/simple-carousel.phtml
+++ b/view/common/block-layout/simple-carousel.phtml
@@ -1,73 +1,81 @@
-
- headLink()->appendStylesheet($this->assetUrl('css/carousel.css', 'SimpleCarousel'));
- $this->headScript()->appendFile($this->assetUrl('js/siema.min.js', 'SimpleCarousel'));
- $title = false;
+headLink()->appendStylesheet($this->assetUrl('css/carousel.css', 'SimpleCarousel'));
+ $this->headScript()->appendFile($this->assetUrl('js/siema.min.js', 'SimpleCarousel'));
+ $title = false;
- $caret = sprintf('
', $this->assetUrl('caret.png', 'SimpleCarousel'));
- $caret_r = sprintf('
', $this->assetUrl('caret.png', 'SimpleCarousel'));
- ?>
+ $caret = sprintf('
', $this->assetUrl('caret.png', 'SimpleCarousel'));
+ $caret_r = sprintf('
', $this->assetUrl('caret.png', 'SimpleCarousel'));
+?>
+
+
+
-
-
', $wrapStyle, $imgStyle, $url);
- echo $html;
- }
- ?>
+
+
+
+
+
+
+
+
+
-
+
+
+ = $subTitle ?>
+
+
-
-
- = $subTitle ?>
-
-
-
-
-
+
+ let caret = '';
+ let caret_r = '';
+
+ $('#siema-ui').append(caret);
+
+ $('#siema-ui').append('');
+
+ $('#siema-ui').append(caret_r);
+
+ $('.caret#left').click(function () {siema.prev()});
+ $('.caret#right').click(function () {siema.next()});
+
+
+ window.setInterval(() => {
+ siema.next();
+ }, );
+
+});
+