I have a fancybox to load every time that I load a page. But when the fancybox open give me this error:
The requested content cannot be loaded. Please try again later.
This is my code:
<script type="text/javascript">
$(document).ready(function() {
$("#inline1").fancybox().trigger('click');
});
</script>
<div id="inline1" style="display:none;">
<p>
Some text
</p>
</div>