Answer the question
In order to leave comments, you need to log in
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
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>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question