Fancybox The requested content cannot be loaded. Please try again later

Posted by user964836 on Stack Overflow See other posts from Stack Overflow or by user964836
Published on 2012-06-01T21:56:38Z Indexed on 2012/06/01 22:40 UTC
Read the original article Hit count: 196

Filed under:
|
|
<link rel="stylesheet" href="<?php echo $this->getSkinUrl(''); ?>js/fancybox/source/jquery.fancybox.css?v=2.0.6" type="text/css" media="screen" />
<script type="text/javascript" src="<?php echo $this->getSkinUrl(''); ?>js/fancybox/source/jquery.fancybox.pack.js?v=2.0.6"></script>

<script type="text/javascript">

$(document).ready(function() {
  $("a#image").fancybox();
  $("a#image").trigger('click');
  $("a#image").hide();
});

<a id="image" href="banner-about-cart.png"><img src="<?php echo $this->getSkinUrl() ?>images/banner-about-cart.png" alt=""/></a>

any idea? the image loding i test whitout fancy plugin i can see image in site, i usind magento as well

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about magento