ForgottenMemory
New Member
After some simplifications, the problem is I don't know how to set an image over another one when user clicks over the first one. It's more easy to see this in this fiddle.What's the problem? I believe the problem is the "relative" div#problem element. If you remove the "position: relative" from the CSS everything works fine, BUT I need the relative here. Also, I've noted that if I change the "pin container" to the alternative one (directly pending from HTML tag) everything works fine, BUT I need the "pin container" inside the relative DIV.What's the real problem? I supposed that \[code\].offset()\[/code\] will give me the position relative to the document as stated in the documentation and \[code\].offset(coordinates)\[/code\] will do the same.