Till the end of what? As soon as you move the mouse out, it will go back to 30.
Also, I don't think onmouseclick does anything, it's 'onclick'.
If you were to do something like so:
Code:
<img border="0" src="images/thumbnails/1.jpg" width="30" height="30" style="filter:alpha(opacity=50); -moz-opacity:0.5"
onmouseover="lightup(this, 100)" onmouseout="if(!this.lit){lightup(this, 30)}" onclick="this.lit=1;lightup(this, 100)">
It would probably be closer to what you are looking for, but assigning a script property to the image is poor form. But, since I'm not sure what you are really going for yet, first see how you like the effect.
You might also want to look at this:
http://home.comcast.net/~jscheuer1/s...eset_write.htm
Bookmarks