Y
Y
Yastr2014-05-11 20:45:39
css
Yastr, 2014-05-11 20:45:39

Is it possible to embed a gallery in a Yandex Maps label balloon?

Is it possible to attach a gallery to these images so that when they are clicked they enlarge in the current window?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yago, 2014-05-11
@Yastr

It is possible to assign a fancybox call within the content itself via the onclick parameter:
You can try linking photos into one gallery in the following way:

<li><a rel="gallery" href="/files/img/01.jpg" title="sometitle" class="fancybox"><img src="/files/img/prev_01.jpg" alt="" /></a></li>
<li><a rel="gallery" href="/files/img/02.jpg" title="sometitle1" class="fancybox"><img src="/files/img/prev_02.jpg" alt="" /></a></li>
<script type="text/javascript">$("a.fancybox").attr('rel', 'gallery').fancybox();</script>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question