L
L
lavezzi12015-10-27 08:14:15
css
lavezzi1, 2015-10-27 08:14:15

Is there a tutorial on creating a popup image viewer?

Hello. Please provide a simple tutorial on creating a popup or open source, that is, you click on the picture, and it enlarges and you can scroll through it like a gallery. Preferably in jquery. Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
Pavel Torbeev, 2015-10-27
@glizer

Choose any

W
wol_fi, 2015-10-27
@wol_fi

fancyapps.com/fancybox the
markup is simple:

<h2>Галерея 1</h2>
<a href="big_image_url" class="gallery" rel="group1"><img src="small_image_url"></a>
<a href="big_image_url" class="gallery" rel="group1"><img src="small_image_url"></a>
<h2>Галерея 2</h2>
<a href="big_image_url" class="gallery" rel="group2"><img src="small_image_url"></a>
<a href="big_image_url" class="gallery" rel="group2"><img src="small_image_url"></a>
<script>
jQuery(document).ready(function($){
   $('.gallery').fancybox();
});
</script>

G
GoldenYear, 2015-10-29
@GoldenYear

highslide.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question