Open fancybox automatically on page load
Posted on 2013-01-18
I have code below to open Fancybox For Wordpress on page load and it's loading but the div cannot display content - just says "The requested content cannot be loaded.
Please try again later." My code (which I'm putting all in the page template) is:
var $j = jQuery.noConflict();
I know the quirk of FB for WP is you have to surround the targeted div in a wrapper (in this case newsregwrapper) but not sure you need it for this method (only from a link?).
So do I need the wrapper and what is the correct code please...thanks.