Hi,
i have a page with a simple report region where i am listing products with a small image. Images are from blob field of table photos. The source for the report is
select product_code, product_descr, '<img src="weborder.my_image_display?p_image_id='|| NVL (photo_id, 0)|| '" height="'|| 50|| '" />' photo
from photos
This works fine, but i want to be able to show a larger image (using the same blob) in a popup modal window when o product is selectexd.
So far the closest i have come to is using the following
$( function() {
$('#ModalForm').dialog(
{
modal : true ,
autoOpen : false ,
buttons : {Cancel : function() {closeForm(); } }
});
}
);
function openForm()
{
$('#ModalForm').dialog('open');
}
function closeForm()
{
$('#ModalForm input[type="text"]').val('');
$('#ModalForm').dialog('close');
}
which uses an html region with (id=ModalForm).
This region popups up nicely, but i want to change the "Display image" of the html region (or with some other way) depending on the the selected product of the report