Jquery Inner div click not working while using color box plug in
<p>I'm using colorbox on a div. I have nested div's. When i click the inner div,it is popping up the image in the light box but instead on click the inner div it has to take to next page.</p>

<p>Is there any way to do this?</p>

<pre><code>$(".x").colorbox({html:"&lt;img src='test.jpg' /&gt;"});

&lt;div class="x"&gt;
&lt;div class="y" &gt;
&lt;a href="test.html" &gt;link&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>When i click on the link i have to redirect user to test.html. How do i prevent the popup?</p>

<p>Any help would be appreciated!!</p>
