Jump to content

huyimin

Members
  • Content count

    7
  • Joined

  • Last visited

Profile Information

  • Real Name
    huyimin
  1. huyimin

    [Contribution] STS v4

    Everything goes well except one confused me for days, How could I simply get a column off/hide from the table(Buy Now column for example) that $content generated, cause i don't need this functionality from a merely presentation site, from which file and where I can modify the code, please help me!!
  2. huyimin

    Click to enlarge pic does work

    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>
  3. 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!!
×