@Yammaski, ohh yeah, for sure. If you only want to target that one image just give it an ID and when you target it with the jQuery just use that id as the selector rather then $('img'). I will update that pen to show you exactly what i mean.
I understand it, but I can’t write it … thanks anyway. ;-)
Now another point … sorry … but I need already the “img id” for another script (to change background color).
Can the code be applied to a div ?
I tried to change “.toggleClass” to “.toggleDiv”, but it seems that it isn’t so easy !?
Well, you can change the color of the div by adding a class or by using the css method in jQuery
I guess it would be easier trying to understand the overall scope of what you need to do because there could probably be an easier, and less complex way to do this all that the same time rather in little chunks.