onMouseclick only works one way, is there anyway to code it to switch back to original image on second click or do you have to use java? and if so what would the code look like? It seems to be an easy problem
Directly code the image file at src may help alleviate the loadtime problem.
[tt]
<img src="[red]a.jpg[/red]" alt="picture avail on request" onclick="idx=(idx+1)%2;src=aimg[idx];" />
[/tt]
- tsuji
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.