Did I understand you correctly. Your html code is like this:

<img/> <a href="">link</a>

And you want to show tree content if user clicks on an image, but
follows the link on anchor click?

If so you should give you img's an "id" (or class, but id's are
faster) and do this:

$(document).ready(function(){
  // Assume you wrapped your code to some <div id="myTree">
  $('#myTree img').click(function(){
    // code to display your content
  });
});

-------------
Read jQuery HowTo Resource  -  http://jquery-howto.blogspot.com



On Mon, Jan 12, 2009 at 4:58 PM, cv <adgoo...@cwi.fr> wrote:
>
> Hello,
>
> I would like to know how to:
>
> - Permetre the conduct of a tree by clicking on the image (or file
> folder with a +) but when and clicking on the hyperlink (<a
> href="index.php"> blabla </ a> ) the tree does not take place.
>
> Thank you for your help.
>

Reply via email to