views:

88

answers:

3

Hi, I have integrate jQuery thick box in Codeignitor, when i am using this thick box for the singe image then it will work,but when i am using the same thickbox for image gallery by applying the "rel" attributes to anchor tag then it wont work it shows only loading bar. can anyone help me out?

A: 

The code please?

Asinox
A: 

Here is my code, i have also use route functionality,

<div class="inner_page_content">  
<?php for($i=0;$i<count($imagesArr);$i++) { ?>  
<a href="<?php echo site_url();?>uploads/<?php echo $imagesArr[$i]['fileName'];?>" class="thickbox myimggallery" rel="gallery-plants">
<img src="<?php echo base_url();?>uploads/thumb1_<?php echo $imagesArr[$i]['fileName'];?>"/>
</a>  
<?php }?> 
 </div>  
Chirag
A: 

Dear please remove the @ reference from thickbox.js file in rel attributes

Chirag
its working chirag, thanks
Chirag