To clarify, I made the following diagram:

Basically I have a bordered div, which is clickable. After clicking it, I want to (through javascript) create a new div which has a protruding arrow shaped border into the clicked div.
Any ideas as to how I would create such a border? I’m not worried about the javascript. Just how to actually create such a border.
I tried to make it as close to your
drawingbeautiful diagram as possible, but I wasn’t quite able to get the arrow’s hrm… unique angle.http://jsfiddle.net/WJtnM/
HTML
CSS
jQuery