Commit b1307a3b by Semenenko Timofey

button

1 parent abf07309
Pipeline #2819 for b1307a3b skipped in 0 seconds
......@@ -6955,3 +6955,6 @@ cursor:pointer;
background-repeat: no-repeat;
background-size: 100% 100%;
}
.project-gallery-items.mobile{
display: show;
}
\ No newline at end of file
This diff could not be displayed because it is too large.
......@@ -93,7 +93,7 @@ $prevNum = 0; ?>
<span class="project-gallery-num-total js-total"><?= count($arImage['images']) ?></span>
</div>
<ul data-fancybox class="project_slider">
<ul class="project_slider">
<? foreach($arImage['images'] as $img) {
$ext = end(explode('.', $img->getUrl()));
......
......@@ -74,9 +74,7 @@ if($detect->isMobile() || $detect->isTablet()){?>
<script>if (screen.width<=768) {document.write('<link rel="stylesheet" href="/css/main.css?<?=filemtime(BASE_PATH . '/css/main.css')?>" id="pre_load">');document.body.style.display="block";}</script>
<link rel="stylesheet" type='text/css' href="/css/flaticon.css">
<link rel="stylesheet" type='text/css' href="/css/media.css" >
<!--<link rel="stylesheet" href="/css/fansy3.2.1.css" />-->
<!--<script src="//code.jquery.com/jquery-3.2.1.min.js"></script>-->
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.1.20/jquery.fancybox.min.js"></script>-->
<!-- Add mousewheel plugin (this is optional) -->
<script>
//Ставим Куки
......@@ -123,6 +121,14 @@ $(document).ready(function() {
});
});
</script> -->
<script>
$(document).ready(function() {
$(".project-gallery-items").fancybox({
openEffect : 'show',
closeEffect : 'show'
});
});
</script>
<script>
$(window).scroll(function() {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!