Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing my header logo


Guest

Recommended Posts

I changed my header logo in the /includes/header.php with a flash logo (.swf) and it appears blank on the screen. Does the template support flash ?

 

Before

 

<!-- top logo header -->

<table width="100%" border="0" cellpadding="0" cellspacing="0">

<TR>

<TD class="topbanner_td1" width="439" valign="top"><IMG SRC="<?php echo DIR_WS_TEMPLATE_IMAGES; ?>az_top_left.gif"></TD>

<TD class="topbanner_td2" valign="top"><table width="100%" class="expender_tb"><tr><td></td></tr></table></TD>

<TD class="topbanner_td3" width="176" valign="top"><IMG SRC="<?php echo DIR_WS_TEMPLATE_IMAGES; ?>az_top_right.gif"></TD>

<TD class="topbanner_td4" width="161" valign="top"><IMG SRC="<?php echo DIR_WS_TEMPLATE_IMAGES; ?>az_top_right2.gif">

<br><table border="0" cellspacing="0" cellpadding="0" width="100%">

<?php $column_location = 'Search'; ?>

<?php require(DIR_WS_BOXES_AZ . 'search.php'); ?>

<?php $column_location = ''; ?>

</table>

</TD>

</TR>

</TABLE>

 

 

 

AFTER

 

 

<!-- top logo header -->

<table width="100%" border="0" cellpadding="0" cellspacing="0">

<TR>

<TD class="topbanner_td1" width="439" valign="top"><IMG SRC="<?php echo DIR_WS_TEMPLATE_IMAGES; ?>speed_az_top_left.swf"></TD>

<TD class="topbanner_td2" valign="top"><table width="100%" class="expender_tb"><tr><td></td></tr></table></TD>

<br><table border="0" cellspacing="0" cellpadding="0" width="100%">

<?php $column_location = 'Search'; ?>

<?php require(DIR_WS_BOXES_AZ . 'search.php'); ?>

<?php $column_location = ''; ?>

</table>

</TD>

</TR>

</TABLE>

 

Can somebody help me...

 

Thank you

Kurt

Link to comment
Share on other sites

Can somebody help me

 

Yes, you certainly are able to put .SWF files in there. The problems could be:

 

1. the filepath for your .SWF file might not be correct.

 

2. you don't have any of the Flash classid info listed in your header.php file. In one of my osC sites, www.foxvalleyfirearms.com, the header image is a SWF. This is what I had to code into my header.php file to get it to show up:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="700" height="139">

<param name="movie" value="images/flash_menu.swf">

<param name=quality value=high>

<embed src="images/flash_menu.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="700" height="139"></embed>

</object></td>

 

Hope that helps :thumbsup:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...