I have pictures that are inside the tag <a> </ a>. I can see it is in the input tag that is hidden. When I click on an image I have an event 'onclick' which activates and supports setting the image (but not all, than that are not hidden). Is it possible to take into account the hidden images? I use 'highslide' to a kind of image galleries.
HTML Code:
<a href="<?php echo $server.$image ?>" class="highslide" title="" onclick="return hs.expand(this, config1)">
<?php if ($compt_image == 1) {?>
<!--<img src="images/figures/one.jpg" />-->
<input type="hidden" name="one" value="<img src='images/figures/one.jpg'>">
<?php }else if ($compt_image == 2){?>
<!--<img src="images/figures/two.jpg" border="none" />-->
<input type="hidden" name="two" value="<img src='images/figures/two.jpg'>">
<?php }else if ($compt_image == 3){?>
<!--<img src="images/figures/three.jpg" border="none" />-->
<input type="hidden" name="three" value="<img src='images/figures/three.jpg'>">
<?php }else if ($compt_image == 4){?>
<!--<img src="images/figures/four.jpg" border="none" />-->
<input type="hidden" name="four" value="<img src='images/figures/four.jpg'>">
<?php }else if ($compt_image == 5){?>
<img src="images/figures/five.jpg" border="none" />
<?php }else if ($compt_image == 6){?>
<img src="images/figures/six.jpg" border="none" />
<?php }else if ($compt_image == 7){?>
<img src="images/figures/seven.jpg" border="none" />
<?php }else if ($compt_image == 8){?>
<img src="images/figures/eight.jpg" border="none" />
<?php }else if ($compt_image == 9){?>
<img src="images/figures/nine.jpg" border="none" />
<?php } ?>
</a>
Bookmarks