ポップアップはデータベースから情報を取得し、ネストされたグリッドビュー内の画像にカーソルを合わせると表示されるパネルに動的に追加します。ポップアップの位置も画像の左側にある必要があります。画像にカーソルを合わせると、マウスアウトするとすぐに消えます。私も初心者であるjqueryを使用してこれを達成しようとしてきたので、誰かが助けることができる場合は支援が必要です。
$('img.imagepopupcontext').mouseover(function () {
var cvalue = $(this).parent().parent().attr('id'); //tr.innerGridRow parent
count++;
$('#ctl00_ContentPlaceHolder1_txtkey').val(cvalue);
$('#ctl00_ContentPlaceHolder1_btnpopupclick').click();
var pos = $(this).offset();
$('#ctl00_ContentPlaceHolder1_panelshow').css({
position: "absolute",
top: (pos.top - 100) + "px",
left: (pos.left - 310) + "px"
});
$('#ctl00_ContentPlaceHolder1_panelshow').css('display', 'block');
//alert('image test over' + pos.left + "," + pos.top);
});
$('img.imagepopupcontext').mouseout(function () {
//alert(count);
count = 0;
//$('#ctl00_ContentPlaceHolder1_btnpopupclick').html('');
$('#ctl00_ContentPlaceHolder1_panelshow').hide();
//alert('image test mouse out');
});