sirjohn Posted February 19, 2004 Posted February 19, 2004 Help please. None of the pictures in the shop will enlarge when clicked on, nothing happens. I have checked the code with the picture and the script in the header, all are correct. Thanks John
♥ecartz Posted February 19, 2004 Posted February 19, 2004 Link? Are you using a pop-up blocker? The enlarged picture shows up in a pop-up. Check out this page. I confirmed that the pop-up works there. Note: the image shows at its natural size in the pop-up. If you use an image that is already small, it will still be small in the pop-up. Hth, Matt Always back up before making changes.
sirjohn Posted February 20, 2004 Author Posted February 20, 2004 I have not got a pop up blocker installed. My client has done some thing to his shop because they were working fine and another shop on the same server is working fine. Taken from the header. <script language="javascript"><!-- function popupWindow(url) { window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res izable=yes,copyhistory=no,width=500,height=500,screenX=150,screenY=150,top=150,le ft=150') } //--></script> From the picture <script language="javascript"><!-- document.write('<a href="java script:popupWindow(\'http://www.*********.com/osc/eshop/popup_image.php?pID=366\')"><img src="images/410035m.jpg" border="0" alt="Clove Balls (Handmade)" title=" Clove Balls (Handmade) " width="200" height="160" hspace="5" vspace="5"><br>Click to see close-up photo</a>'); //--></script> So as far as I can see they should work. Thanks John
Guest Posted February 20, 2004 Posted February 20, 2004 is javascript disabled? could be his and or your system. post the url and we can see if java works with our browsers
sirjohn Posted February 21, 2004 Author Posted February 21, 2004 No javascript is not disabled, I set up another shop on the same server and the popups work fine. He said he did some thing to the code and broke it. I am trying to fix it but can not find what he did. Can javascript be disabled in admin for the shop? Thanks John
Recommended Posts
Archived
This topic is now archived and is closed to further replies.