Jump to content

Fancybox Content Not Working


Recommended Posts

Hi,

 

I'm trying to add a fancybox on content in product page, i tried with this code:

<a id="inline" class="various1" href="#inlinedata" title="Lorem ipsum dolor sit amet">Inline</a>

<div style="display: none;">
  <div id="inlinedata">
     This content is supposed to be displayed in my fancybox
  </div>
</div> 

And in product.js under document.ready

 $("a#inline").fancybox({
                        'hideOnContentClick': true,
                        
                    });

This is the page, the link is displayed under not in stock

 

Any help will be appreciated.

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...