hi all,
i am using the following code in a php script to show/hide multiple
divs.

<a href="#" class="showhide<?php echo $property_id; ?>">(x)</a>


<script type="text/javascript">
$(document).ready(function(){
  $('a.showhide<?php echo $property_id; ?>').click(function() {
        $('#cat_<?php echo $property_id; ?>').toggle('slow');
  });
});
</script>



what i'd like to do is change the (x) link to an image which changes
when that div is hidden.
you can see it in action here: http://propertyireland.net
any ideas?

Reply via email to