If someone could look at my source code and tell me why fancybox is not working I would be very grateful. I have commented out all other js or jquery needs of the page in development so the site menu may not work but I can not figure out why the default fancybox will still not run:
http://www.ascent-sation.co.uk.gridhosted.co.uk/wedding-flowers.php
Thank you.
$(".fancybox")isn’t selecting anything. This should do the trick:Generally a good idea to diagnose an issue like this is to play on JSFiddle and try and get it working. If you can get it working on a fresh start and not on your site then it’s either a typo or an interaction problem. Also stepping through line by line and playing in the console is effective. Running
$(".fancybox")returned[].