A
A
Alexander Reshetnyak2015-12-13 15:08:50
JavaScript
Alexander Reshetnyak, 2015-12-13 15:08:50

How to make the Fancybox plugin open two windows at the same time?

On the same page, I would like to open two fancybox windows at the same time,
or advise an option using dialog jquery ui that supports iframe through the html link attribute. Or maybe there is a perfect modal window plugin that combines draggable and iframe support out of the box.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Wolf, 2015-12-13
@mannaro

It is not entirely clear - how is it - to open 2 windows? Are they modal?

T
tigra, 2015-12-14
@tigroid3

just initialize 2 fancybox.

<div id="modal1"></div>
<div id="modal2"></div>

<script>
$('#modal1').fancybox();
$('#modal2').fancybox();
</script>

and on click call them both

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question