i need something like that
if (click image) {...}
how can i do it?i want in my webpage to click an image and then appear the same image in an other frame!
Use the target attribute of the a element. E.g.
<a href="pageWithDesiredImage.html" target="frameName"><img src="thumbnail.png" /></a>
I think that's what you mean.