oldworldcharms Posted December 18, 2004 Posted December 18, 2004 I finally manage to get the popup window to fit to image and now I am trying to get the item name at the top of the popup window. Can someone please take a look at the code below and tell me what I am doing wrong? Thanks </head> <body onload="resize();" onContextmenu="alert('Not allowed!'); return false"> <table width="100%" height="100%" cellpadding="0" cellspacing="0"> <body onload="resize();" onclick="java script:top.window.close();" onblur="self.close()"> <TABLE border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1"> <TR> <TD width="100%"><td class="pageHeading" align="center"><?php echo $products['products_name']; ?></td> </tr> <tr align="center"> <td><?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name']); ?></td> </tr> <tr> <td class="main" align="left" valign="top"><b>Price:</b><?php echo $products_price; ?></td></TD> </TR> </TABLE> <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> <title><?php echo $products['products_name']; ?></title> <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> <script language="javascript"><!-- var i=0; function resize() { if (navigator.appName == 'Netscape') i=10; if (document.images[0]) window.resizeTo(document.images[0].width +30, document.images[0].height+100-i); self.focus(); } //--></script>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.