Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with popup window


frankND

Recommended Posts

Hi any help here would be very much appreciated.

 

I have found that when I click the picture or the text "click to enlarge" the popup window opens but their is only a blank screen.

 

I have checked through popup_image.php and product_info.php as these seem to be the files that the pop up refers to but I have no idea on what script I need to look for.

 

I would be most greatfull if anyone as any idea on what script I need to look foror exactly where the script for this popup link is?

 

apologies for being a bit dumb but i have no idea on php

 

Regards

Frank

Link to comment
Share on other sites

Might be worth viewing the html source of the popup window, see if there is any content (eg the path in the img tag might be wrong). If it's blank, it sounds like a PHP error, and your server logs should give more information (or you could set display_errors = on in php.ini)

Link to comment
Share on other sites

Might be worth viewing the html source of the popup window, see if there is any content (eg the path in the img tag might be wrong). If it's blank, it sounds like a PHP error, and your server logs should give more information (or you could set display_errors = on in php.ini)

Thank you for your reply.

 

I dont know why this is happening, I have viewed the sourcewhich is below

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html dir="ltr" lang="en">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

<title></title>

<base href="http://www.natalidreams.co.uk/"/>

<link rel="stylesheet" type="text/css" href="stylesheet.css"/>

 

<script language="javascript"><!--

var i=0;

function resize(){

if(navigator.appName == 'Netscape')

i=40;

if(document.images[0])

window.resizeTo(document.images[0].width +30, document.images[0].height+60);

self.focus();

}

//--></script>

</head>

 

<body onload="resize();">

 

</body>

</html>

 

can you see if anything is wrong!

 

Frank

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...