Your first clickable clickImage will work because it will return index:0.
This is the corresponding corresponding popup.
But for the second clickImage it will return an index: 2, which does not have a corresponding popup. There are only 0 and 1.
This is due to the fact that .textVertical also considered as the sibling of clickImage , so the 2nd click of Image, which you clikc will be the third student (index).
Edit
$('.popUp').eq($(this).index()).show();
For
$('.popUp').eq($(this).index('.clickImage')).show();
http://jsfiddle.net/rNSLE/
source share