Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

embedding a shockwave file in the column_left.php


mysqlmaster

Recommended Posts

I am using a shockwave animated menu in the left column. When you click on a link, Internet Explorer 6.0 opens the link in two NEW windows. I have used flash (shockwave) a lot and I have never seen this before. I am using the latest snapshot of OS commerce. You can see this phenomenon at: www.outbackpaintball.com. Please help! I am trying to go live soon. I pasted the contents of my column_left.php below.

 

 

<!-- URL's used in the movie-->

<A HREF=rental.php></A>

<A HREF=team.php></A>

<A HREF=about.php></A>

<A HREF=contact.php></A>

<A HREF=indcx.php></A>

<A HREF=contact_us.php></A>

<A HREF=default.php></A>

<!-- text used in the movie-->

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"

WIDTH=126 HEIGHT=200>

<PARAM NAME=movie VALUE="images/layout/menu/menu.swf">

< PARAM NAME=quality VALUE=best>

<PARAM NAME=bgcolor VALUE=#666666>

<EMBED src="images/layout/menu/menu.swf" quality=best bgcolor=#666666 WIDTH=126 HEIGHT=200 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>

</OBJECT>

 

 

 

 

<?php

/*

$Id: column_left.php,v 1.14 2003/02/10 22:30:50 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

if ( (USE_CACHE == 'true') && !defined('SID')) {

echo tep_cache_categories_box();

} else {

include(DIR_WS_BOXES . 'categories.php');

}

 

if ( (USE_CACHE == 'true') && !defined('SID')) {

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

}

 

require(DIR_WS_BOXES . 'whats_new.php');

require(DIR_WS_BOXES . 'search.php');

require(DIR_WS_BOXES . 'information.php');

?>

Link to comment
Share on other sites

I'm relatively new to Flash, but I think your Actionscript for your links should be:

getURL ("rental.php", "_self");

And maybe if the cart contents don't get passed along:

getURL ("rental.php", "_self" "GET");

 

That is done in the Actions Panel when you have selected your link the 2 drop down menus (in Flash MX)

Hope this helps :) and let us know :P

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...