Single Page Application and Inline Fancybox not working properly
问题 I'm trying to make a SPA and use the Hot Towel template with durandal. So far I have succesfully added a Fancybox to my spa and it shows a image <a class="fancybox-thumb" rel="fancybox-thumb" href="http://farm9.staticflickr.com/8486/8225588056_d229e8fe57_b.jpg" title="Porth Nanven (MarcElliott)"> <img src="IMAGEPATH" alt="" /> </a> $(document).ready(function () { $(".fancybox-thumb").fancybox({ openEffect: 'elastic', closeEffect: 'elastic', helper: { title: { type: 'outside' }, thumbs: {