Freelancer:
docuong
Winner
Problem is lack of $( document ).ready()
Hi, the code for rendering fancybox is right and I dont want to optimize it. The problem is laking of $(document).ready() function. You need to add this code block to run properly, ... //your code echo '$( document ).ready(function() {'; //add this line upper the code below // jQuery snippet for fancybox echo '$("#fancybox-manual").click(function() {'; ... //your code echo '});'; //add this line upper the code below echo '';