javascript - How do I open a second Fancybox inside a first one? -


i using fancybox load ajax content in overlay window. this:

<a class="fancybox.ajax" href="first url">link 1</a> 

this open content:

<div>   <a class="fancybox.ajax" href="second url">link 2</a> </div> 

when click link2 inside first fancybox second fancybox opens while first 1 closes.

how can open link 2 such first fancybox stays open , second fancybox opens inside first one?


Comments