huyimin Posted May 25, 2009 Share Posted May 25, 2009 I am a newbie to Oscommerce, I think there might be a thread about this problem but I can't find it, When click to enlarge is clicked in the product info page the image does not pop out.... please help me i want to fix this asap also I found that at the Categories/Products admin edit page, there's no an OK/submit button to post the info, you can only go with the preview button then update the page, is this a normal thing? thanks!! Quote Link to comment Share on other sites More sharing options...
Guest Posted May 25, 2009 Share Posted May 25, 2009 I am a newbie to Oscommerce, I think there might be a thread about this problem but I can't find it,When click to enlarge is clicked in the product info page the image does not pop out.... please help me i want to fix this asap Do you have a link so we can see? also I found that at the Categories/Products admin edit page, there's no an OK/submit buttonto post the info, you can only go with the preview button then update the page, is this a normal thing? thanks!! Yes. Just click update to ad/edit your product. Quote Link to comment Share on other sites More sharing options...
huyimin Posted May 25, 2009 Author Share Posted May 25, 2009 Do you have a link so we can see? Yes. Just click update to ad/edit your product. No, I don't, I am just testing locally before upload to web server. Thanks for answering, Ive found what caused this problem but don't know how to do with it: I used STS as the page template, the default template pages have no problem with clickable popup images, this is likely done because of the popup_image.php.html with its Javascript function resize(). What I have is a very simple template page with only one variables $content, for experimental only,I styled the page so the hierarchic menu is at the left and Categorized products on the right, so how could I simply and simplest add this function to enable the clickable image functionality? full popup_image.php.html code is like this: <?php define ('STS_END_CHAR', '}'); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html $htmlparams}> <head> <!--$headcontent--> <script language="javascript"><!-- function resize() { var i=0; var MarginW = 60; var MarginH = 140; if (document.layers) i=40; if (document.prodimage.width>document.bannerimage.width) {Width=document.prodimage.width +MarginW} else Width = document.bannerimage.width+MarginW; Height = document.prodimage.height+document.bannerimage.height+MarginH; window.resizeTo(Width,Height); self.focus(); } //--></script> <?php // BOF: More Pics 6 ?> <meta http-equiv="Page-Enter" content="blendTrans(Duration=0.5)"> <meta http-equiv="Page-Exit" content="blendTrans(Duration=0.5)"> <?php // EOF: More Pics 6 ?> </head> <body onLoad="resize();"> <table width="100" border="5" align="center" cellpadding="5" bgcolor="#FFFFFF" id="table1"> <tr> <td> <table border="0" cellpadding="0" cellspacing="0" style="width: 100%; border-collapse:collapse" bordercolor="#111111"> <tbody> <tr> <td> <img border="0" src="images/store_logo.png" name="bannerimage"></td> </tr> </tbody> </table> <p align="center"><font face="Arial">$productname}</font><font color="#808080" size="2">[$productmodel}]<br> </font>$popupimage}</td> </tr> </table> </body> </html> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.