Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Slideshow in new box


Guest

Recommended Posts

Posted

Trying to make slideshow, nothing to do with products. Will be photos of our winners. Have new box done on site I just can not get the slideshow to work. Have the slideshow.swf and the data.xml located in the catalog/includes/boxes/ also since will be just a few images put them in the same location. When someone clicks on the photo will take them to the winners.php page. Any help greatly appreciated.

Posted

Oops >_< You have repeat html that shouldn't be in the box file.

 

jon

 

 

<!-- showcase.php //-->
         <tr>
           <td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
   <td height="14" class="infoBoxHeading"><img src="images/infobox/corner_left.gif" border="0" alt="" width="11" height="14"></td>
   <td width="100%" height="14" class="infoBoxHeading">Winners Showcase</td>
   <td height="14" class="infoBoxHeading" nowrap><img src="images/infobox/corner_right.gif" border="0" alt="" width="11" height="14"></td>
 </tr>

</table>
<table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
 <tr>
   <td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
 <tr>
   <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
 <tr>
   <td class="boxText">Photos Coming[color="#FF0000"]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Laser Lites East Showcase</title>
<style type="text/css">
<!--
.bodytext {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: normal;
color: #000000;
}
.heading {
font-size: 24px;
font-weight:bold;
}
-->
</style>
</head>[/color]

<body class="bodytext" bgcolor="#999999">
<center>
<table width="135px" style="border:1px solid #666666" cellpadding="0"><tr>
 <td width="113" align="center" bgcolor="#FFFFFF"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="135" height="113" align="middle" id="calendar">
   <param name="allowScriptAccess" value="sameDomain" />
   <param name="movie" value="slideshow.swf?sourceFile=data.xml&owner=phpjabbers.com" />

   <param name="quality" value="high" />
   <param name="bgcolor" value="#FFFFFF" />
   <embed src="slideshow.swf?sourceFile=data.xml&owner=phpjabbers.com" quality="high" bgcolor="#FFFFFF" width="135" height="113" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>
 </object></td>
 <td width="135" align="center" valign="top" bgcolor="#FFFFFF"></td>
</tr></table>
</center>
[color="#FF0000"]</body>
</html>[/color]</td>
 </tr>
 <tr>

   <td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
 </tr>
</table>
</td>
 </tr>
</table>
           </td>
         </tr>
<!-- showcase_eof //-->

It's all just ones and zeros....

Posted

Thanks Jon, changed this but still can not get images to work. Any other suggestions would be appreciated.

Posted

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="135" height="113" align="middle" id="calendar">

<param name="allowScriptAccess" value="sameDomain" />

<param name="movie" value="slideshow.swf?sourceFile=data.xml&owner=phpjabbers.com" />

 

<param name="quality" value="high" />

<param name="bgcolor" value="#FFFFFF" />

<embed src="slideshow.swf?sourceFile=data.xml&owner=phpjabbers.com" quality="high" bgcolor="#FFFFFF" width="135" height="113" align="middle" allowscriptaccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></embed>

</object>

 

Not your site :)

 

Did the destructions mention anything about a .js file that should be referenced in the code and resident on the server?

 

jon

It's all just ones and zeros....

Posted

I have embedded a slideshow in the bottom left column on an OSC site - http://designerdogz.com/shop

I used slideshowpro and just hard coded the SWFObject code into a fake box.

SolarFrenzy

Solar powered gadgets at down to earth prices.

 

CheekyNaughty

Promoting British Design

Posted

Jon in the instructions there was no js file. Again thanks for the help.

  • 2 years later...
Posted

Use wondershare flash slide show builder for making slides.

 

and put swf file with new version of dreamveawer.

 

You need swfobject.

Archived

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

×
×
  • Create New...