Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PRODUCT DESCRIPTION HELP


kylebassett

Recommended Posts

Posted

http://theonestore.hn.org/estoredev/catalo...?products_id=77

 

Can someone have a look at this? I am using some jacascript to display details on my product!

 

Weird thing is - when you go to the product and click on logo to change product picture in the middle, it doesn't show... now if you hit back on browser and then forward it works fine...

 

Any ideas - Herre is the code I am using...

 

 

<script TYPE="text/javascript">

<!--

 

function newImage(arg) {

if (document.images) {

rslt = new Image();

rslt.src = arg;

return rslt;

}

}

 

function changeImages() {

if (document.images && (preloadFlag == true)) {

for (var i=0; i<changeImages.arguments.length; i+=2) {

document[changeImages.arguments].src = changeImages.arguments[i+1];

}

}

}

 

var preloadFlag = false;

function preloadImages() {

if (document.images) {

tayl01 = newImage("images/taylor01.gif");

tayl02 = newImage("images/taylor02.gif");

tayl03 = newImage("images/taylor03.gif");

preloadFlag = true;

}

}

 

// -->

</SCRIPT>

</head>

<BODY STYLE="MARGIN:0" ONLOAD="preloadImages();">

<table border="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="16%" id="AutoNumber1" height="210">

<tr>

<td width="15%" height="208">

<p style="margin-top: 0; margin-bottom: 0" align="center">

<A HREF="java script:void(0)" onClick="changeImages('preview', 'images/taylor01.gif'); return true;">

<img src="images/whiteyl01.gif" alt="" width="50" height="47" border="0"></A></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<font size="1" face="Tahoma">RED/WHITE</font></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<A HREF="java script:void(0)" onClick="changeImages('preview', 'images/taylor03.gif'); return true;"><img src="images/tayl03.gif" alt="" width="50" height="47" border="0"></A></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<font size="1" face="Tahoma">GREEN/WHITE</font></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<A HREF="java script:void(0)" onClick="changeImages('preview', 'images/taylor05.gif'); return true;"><img src="images/tayl05.gif" alt="" width="50" height="47" border="0"></A></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<font size="1" face="Tahoma">PURPLE/RED</font></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<A HREF="java script:void(0)" onClick="changeImages('preview', 'images/taylor07.gif'); return true;"><img src="images/tayl07.gif" alt="" width="50" height="47" border="0"></A></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<font size="1" face="Tahoma">BABYBLUE/BLUE</font></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<A HREF="java script:void(0)" onClick="changeImages('preview', 'images/taylor09.gif'); return true;"><img src="images/tayl09.gif" alt="" width="50" height="47" border="0"></A></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<font size="1" face="Tahoma">BLACK/BLACK</font></td>

<td width="58%" height="208">

<p style="margin-top: 0; margin-bottom: 0" align="center">

 

<A HREF="java script:void(0)" ONCLICK="self.close(); java script:opener.location.href=''; opener.shut=false"><img src="images/taylor01.gif" alt="" name="preview" height="234" width="175" border="0"></A></td>

<td width="79%" height="208">

 

<p style="margin-top: 0; margin-bottom: 0" align="center"> <A HREF="java script:void(0)" onClick="changeImages('preview', 'images/taylor02.gif'); return true;"><img src="images/tayl02.gif" alt="" width="50" height="47" border="0"></A></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<font face="Tahoma" size="1">YELLOW/WHITE</font></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<A HREF="java script:void(0)" onClick="changeImages('preview', 'images/taylor04.gif'); return true;">

<img src="images/whiteyl04.gif" alt="" width="50" height="47" border="0"></A></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<font size="1" face="Tahoma">PINK/WHITE</font></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<A HREF="java script:void(0)" onClick="changeImages('preview', 'images/taylor06.gif'); return true;">

<img src="images/whiteyl06.gif" alt="" width="50" height="47" border="0"></A></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<font size="1" face="Tahoma">BLUE/WHITE</font></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<A HREF="java script:void(0)" onClick="changeImages('preview', 'images/taylor08.gif'); return true;">

<img src="images/whiteyl08.gif" alt="" width="50" height="47" border="0"></A></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<font size="1" face="Tahoma">MAROON/YELLOW</font></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<A HREF="java script:void(1)" onClick="changeImages('preview', 'images/taylor10.gif'); return true;">

<img src="images/whiteyl010.gif" alt="" width="50" height="47" border="0"></A></p>

<p style="margin-top: 0; margin-bottom: 0" align="center">

<font size="1" face="Tahoma">BLACK/WHITE</font></td>

</tr>

</table>

</body>

 

</html>

Archived

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

×
×
  • Create New...