Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with Shadowbox


catalunian

Recommended Posts

Posted

Hi everybody,

 

It will be obvious I am not used to this stuff being a old newbie but I would like to put shadowbox on my products page in Os commerce2.2 so i can play flash video of my product. I have uploaded all the files

starting in my catalog directory where my swf player is situated. On my products_info page i have put the following codes <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

 

and

 

<head>

<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>">

<title><?php echo TITLE; ?></title>

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

<script language="javascript"><!--

function popupWindow(url) {

window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')

}

//--></script>

<link rel="stylesheet" type="text/css" href="style.css">

<link rel="stylesheet" type="text/css" href="src/css/shadowbox.css">

<script type="text/javascript" src="src/js/lib/yui-utilities.js"></script>

<script type="text/javascript" src="src/js/adapter/shadowbox-yui.js"></script>

<script type="text/javascript" src="src/js/shadowbox.js"></script>

<script type="text/javascript">

 

window.onload = function(){

 

Shadowbox.init();

};

</script>

</head>

 

and in my product descriptions I have included

 

< arel="shadowbox;width=305;height=250" class="option" title="Ring" href="/catalog/video/PD194W.swf">

<P ALIGN=Center><img src="/catalog/images/zoomflash.gif" />

</a>

 

My flash video opens in another page but I dont seem to be able to link with the shadowbox please check out

http://vestidos-de-novia-online.com/catalog/product_info.php?cPath=40_46_41_44&products_id=711 . I have reloaded everything twice but nothing seems to happen

Can you help??As you can see i have installed a carousel does this affect things

 

Many thanks in anticipation please help before I die of frustration.

 

catalunian

I live for today I might die tomorrow

Archived

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

×
×
  • Create New...