Jump to content

fancybox with product description

Rich Walker

Recommended Posts

I'm trying to add fancybox to the product description. The code below makes the fancybox popup but for the life of me i can't work out why it won't show the text.




<a href="#inline1?content_only=1&TB_iframe=true&width=700&height=470&thickbox=true" class="iframe">INGREDIENTS | ORIGIN</a>

<script type="text/javascript">/* <![CDATA[ */$('a.iframe').fancybox();/* ]]> */</script>


<div id="#inline1" style="width:400px;display: none;">




Any one got any ideas?

Link to comment
Share on other sites

  • 1 year later...

Hi again, i test code below, and it works:


<a href="#inline1" class="show-fancybox">INGREDIENTS | ORIGIN</a>
<div style="display:none">
    <div id="inline1" style="width:400px;">
<script type="text/javascript">/* <![CDATA[ */$('a.show-fancybox').fancybox();/* ]]> */</script>


Hello, this code where I need to add? in which file exactly?
I would need to put in fancybox also the product data sheet (page-product-box) how should I do? Are in big trouble!
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...