$('img').attr({onclick: "Image_Click(src)"});
$('img').css("cursor", "pointer");

to

$('img').css("cursor", "pointer").click(function() { Image_Click
(this.src); });

And I may be mistaken, but i *think* that the modal <div> needs to be
added to the DOM *before* it can be called as a modal popup... i could
be mistaken though

Reply via email to