I’m working on a project and i’m using light box on my portfolio page.when portfolio page opens first time light box works fine
But when i click any of category that is on right side it does not work and when i click it just show me the image.
Basically i am displaying images dynamically.Even i have given the same relation on both page. Kindly help me out about this problem.thanks
sorry brother i’m new to stackoverflow. here is my code for main portfolio page.
enter code here
<td width="210"><a href="padmin/files/images/<?php echo $row['image'] ?>" class="zoom" rel="lightbox" target="_new" title="<?php echo $row['title'] ?>" rev="<?php echo $row['link'] ?>" style=" border: 2px solid #CCCCCC; height: 182px;width: 294px; display:block;
-moz-border-radius: 5px 5px 5px 5px; padding:4px;"><img src="padmin/files/images/<?php echo $row['image'] ?>" class="pimage" /></a>
</td>
and this is a code for categories that I’m using on left side
enter code here
<td width="210"><a href="padmin/files/images/<?php echo $row['image'] ?>" class="zoom" rel="lightbox" target="_new" title="<?php echo $row['title'] ?>" rev="<?php echo $row['link'] ?>" style=" border: 2px solid #CCCCCC; height: 182px;width: 294px; display:block;
-moz-border-radius: 5px 5px 5px 5px; padding:4px;"><img src="padmin/files/images/<?php echo $row['image'] ?>" class="pimage" /></a>
</td>
both are same but still problem.
here is something you can try because you have posted any sort of code so its all based on assumptions, use
.on()to bind the click handler to the dynamic content