Dramestic
10-28-2003, 01:22 PM
I have a problem. I want to get an info popup when I click on the info button of a product. This product list is made with php. How can i send data with java to open a window with a variable?
my codes that i use are:
<SCRIPT Language='JavaScript'>
function winopen()
{
msg=open("","NewWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=ye s,width=400,height=400");
msg.location = "info.php"
}
</SCRIPT>
<img src="<? echo($img_lay);?>inf.gif" border='0' onClick="winopen(); return true;"></TD>
my codes that i use are:
<SCRIPT Language='JavaScript'>
function winopen()
{
msg=open("","NewWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=ye s,width=400,height=400");
msg.location = "info.php"
}
</SCRIPT>
<img src="<? echo($img_lay);?>inf.gif" border='0' onClick="winopen(); return true;"></TD>