Jump to content
Sign in to follow this  
Keyser Soze

coolMenu

Recommended Posts

I was having problems using cache with coolMenu and I have looked over the thread trying to find a solution. It could be due to my lack of searching skills, but I was unable to find a solution. So I loosened up the 'ol fingers and thought I would try to hack it myself (Though I am a super PHP n00b :thumbsup: )

 

The Problem:

When using cache and navigating to a category that has many subcategories, like "Hardware" the categories would expand and stick out below my coolMenu. alike so:

withcache.jpg

 

The Solution:

The solution I came up with was simple... but I hope it doesn't cause any problems. So if a keen PHP'er out there thinks this solution would cause problems, please let me know.

In *catalog*/includes/column_left.php comment out two lines:

  if ((USE_CACHE == 'true') && empty($SID)) {
//	echo tep_cache_categories_box();
//  } else {
include(DIR_WS_BOXES . 'coolmenu.php');
 }
?>

That did the trick. I can run with my cache and still have coolMenu! YAY!

 

BTW, if you were already running cache, you can clear out the old category box, I don't know if it will cause problems... but who wants an old cache file just sitting around?

 

ok... one more thing. If you're having problems with the spacing after your coolMenu just add these lines after the 'coolmenu.php' line in column_left.php:

	include(DIR_WS_BOXES . 'coolmenu.php');
 }
?>
<tr>
<td>
<img src="images/pixel_trans.gif" width="100%" height="15">
</td>
</tr>
<?php

This is to get the spacing between coolMenu and my next infobox correct. I just stuck it in there and adjusted the height until is looked right.

 

Well I hope this helps someone.

 

joey

Share this post


Link to post
Share on other sites

Does Coolmenu work with STS, I have both installed, first STS which was all fine then coolmenus, which doesn't work. There is no change to my catalogue box at all. I have checked and re-checked my insallation.

 

can any body help.

 

thanks

Share this post


Link to post
Share on other sites
Does Coolmenu work with STS, I have both installed, first STS which was all fine then coolmenus, which doesn't work. There is no change to my catalogue box at all. I have checked and re-checked my insallation.

 

can any body help.

 

thanks

 

Wish i could help but i know next to nothing about STS. good luck. I think a few posts back there were people who said they got it to work

Share this post


Link to post
Share on other sites
in /includes/coolmenu.php

find

$height.= 2.65*count($categories);

and mess with the number until you get something that fits. You might also want to move your menu up and to the left a little to make it fit in the box nicely. Change these two values little by little until it looks good:

 

 oCMenu.fromLeft=10
oCMenu.fromTop=100

 

hope that helps

 

I seem to have the problem that there ISN'T a box. The menu just hovers over the first box in column left, which is no longer categories since that was commented out and replaced with coolmenu, as shown here:

 

temppic.jpg

Share this post


Link to post
Share on other sites

I don't often give up on a contribution but i think this one has got me beaten

 

it seems i'm not the only one who has this problem so if anyone has a solution please post it on here

 

many thanks

 

Scott

Share this post


Link to post
Share on other sites

Ok I have a new one,

 

I have another shop that is centered, i am trying to install Coolmenus, the following happens:

 

1) I get a categories box appear in the far left of the page, not where the old categories box used to be.

 

2) it doesn't have the heading - Categories -

 

3) none of the mouseover events work, i have products within my categories, i thought that they would just work, am i missing something obvious.

 

how can i solve all these problems

 

cheers

 

Scott

Share this post


Link to post
Share on other sites
I seem to have the problem that there ISN'T a box. The menu just hovers over the first box in column left, which is no longer categories since that was commented out and replaced with coolmenu, as shown here:

 

temppic.jpg

 

Can't quite tell from the image, Is the category box behind the menu? You might have to post your code and i could try and take a look at it. A link would help too.

Share this post


Link to post
Share on other sites
Can't quite tell from the image, Is the category box behind the menu? You might have to post your code and i could try and take a look at it. A link would help too.

 

Thanks! I don't think there is a category box here. Here's the code, but I can't post a link becasuse this is the offline test site, thank goodness.

 

 

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

<html dir="LTR" lang="en">

<head>

<script

language="JavaScript"

type="text/javascript">

//<![CDATA[

function MM_swapImgRestore() { //v3.0

var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;

}

 

function MM_preloadImages() { //v3.0

var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();

var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)

if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}

}

 

function MM_swapImage() { //v3.0

var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)

if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}

}

 

function MM_findObj(n, d) { //v4.01

var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {

d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}

if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];

for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);

if(!x && d.getElementById) x=d.getElementById(n); return x;

}

 

function MM_reloadPage(init) { //reloads the window if Nav4 resized

if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {

document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}

else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) history.go(0);

}

 

MM_reloadPage(true);

//]]>

</script>

 

<script

language="JavaScript"

type="text/javascript">

//<![CDATA[

 

function popupWindow(url) {

window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res

izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le

ft=150')

}

 

function popupStdWindow(url) {

window.open(url,'popupWindow','resizable=yes,copyhistory=no,width=640,height=480')

}

 

//]]>

</script>

 

<title>Store Home Page - Cebu</title>

<meta name="Description" content=" Furniture, Home Decors, Fashion Accessories and Apparel from the World's Craftsmen"/>

<meta name="Keywords" content="furniture wrought rattan wicker chest dresser mirror table chair bookcase pottery vase ceramic sculpture filigree silver rug alpaca pillow tapestries jewelry tablecloth blanket bedspread ring necklace gold bracelet leather,handbag,hat,pendant,purse,wallet furniture wrought rattan wicker chest dresser mirror table chair bookcase pottery vase ceramic sculpture filigree silver rug alpaca pillow tapestries jewelry tablecloth blanket bedspread ring necklace gold bracelet leather,handbag,hat,pendant,purse,wallet"/>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

<!-- EOF: Generated Meta Tags -->

<base href="http://localhost/testbed.cebu.us.com/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,res

izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le

ft=150')

}

//--></script>

<script LANGUAGE="JavaScript1.2" SRC="includes/menu_animation.js"></SCRIPT>

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<!-- coolMenu //-->

 

 

 

<!-- Copyright 2002 www.dhtmlcentral.com -- modified for PHP and osCommerce by Andreas Kothe - www.oddbyte.de -->

 

<script>

 

oCMenu=new makeCM("oCMenu") //Making the menu object. Argument: menuname

 

//Menu properties

oCMenu.pxBetween=0

oCMenu.fromLeft=10

oCMenu.fromTop=100

oCMenu.rows=0

oCMenu.menuPlacement="left"

 

oCMenu.offlineRoot=""

oCMenu.onlineRoot=""

oCMenu.resizeCheck=1

oCMenu.wait=500

oCMenu.fillImg="cm_fill.gif"

oCMenu.zIndex=0

 

//Background bar properties

oCMenu.useBar=1

oCMenu.barWidth="menu"

oCMenu.barHeight="menu"

oCMenu.barClass="clBar"

oCMenu.barX="menu"

oCMenu.barY="menu"

oCMenu.barBorderX=0

oCMenu.barBorderY=0

oCMenu.barBorderClass=""

 

oCMenu.level[0]=new cm_makeLevel()

oCMenu.level[0].width=150

oCMenu.level[0].height=28

oCMenu.level[0].regClass="clLevel0"

oCMenu.level[0].overClass="clLevel0over"

oCMenu.level[0].borderX=1

oCMenu.level[0].borderY=1

oCMenu.level[0].borderClass="clLevel0border"

oCMenu.level[0].offsetX=0

oCMenu.level[0].offsetY=0

oCMenu.level[0].rows=0

oCMenu.level[0].arrow="images/arrow.gif"

oCMenu.level[0].arrowWidth=11

oCMenu.level[0].arrowHeight=11

oCMenu.level[0].align="right"

oCMenu.level[0].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.8)"

 

oCMenu.level[1]=new cm_makeLevel()

oCMenu.level[1].width=250

oCMenu.level[1].height=14

oCMenu.level[1].regClass="clLevel1"

oCMenu.level[1].overClass="clLevel1over"

oCMenu.level[1].borderX=1

oCMenu.level[1].borderY=1

oCMenu.level[1].align="right"

oCMenu.level[1].offsetX=0

oCMenu.level[1].offsetY=0

oCMenu.level[1].borderClass="clLevel1border"

oCMenu.level[1].align="right"

oCMenu.level[1].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.6)"

 

 

 

oCMenu.level[2]=new cm_makeLevel()

oCMenu.level[2].width=250

oCMenu.level[2].height=14

oCMenu.level[2].regClass="clLevel1"

oCMenu.level[2].overClass="clLevel1over"

oCMenu.level[2].borderX=1

oCMenu.level[2].borderY=1

oCMenu.level[2].align="right"

oCMenu.level[2].offsetX=0

oCMenu.level[2].offsetY=0

oCMenu.level[2].borderClass="clLevel1border"

oCMenu.level[2].align="right"

oCMenu.level[2].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.6)"

 

 

 

oCMenu.level[3]=new cm_makeLevel()

oCMenu.level[3].width=250

oCMenu.level[3].height=14

oCMenu.level[3].regClass="clLevel1"

oCMenu.level[3].overClass="clLevel1over"

oCMenu.level[3].borderX=1

oCMenu.level[3].borderY=1

oCMenu.level[3].align="right"

oCMenu.level[3].offsetX=0

oCMenu.level[3].offsetY=0

oCMenu.level[3].borderClass="clLevel1border"

oCMenu.level[3].align="right"

oCMenu.level[3].filter="progid:DXImageTransform.Microsoft.Fade(duration=0.6)"

 

 

oCMenu.makeMenu('top_1','','Apparel','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_1','top_1','Cloaks/Ponchos','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_32&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_1_1','sub_1_1','Ponchos','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_32_74&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_2','top_1','Hats','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_35&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_2_1','sub_1_2','Berets','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_35_37&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_2_2','sub_1_2','Caps','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_35_36&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_2_3','sub_1_2','Chullos','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_35_80&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_2_4','sub_1_2','Men's Hats','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_35_51&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_2_5','sub_1_2','Winter Hats','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_35_38&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_3','top_1','Scarfs','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_33&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_4','top_1','Sets','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_39&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_4_1','sub_1_4','Hat & Gloves','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_39_40&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_4_2','sub_1_4','Scarf & Hat','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_39_44&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_4_3','sub_1_4','Scarf Gloves & Hat','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_39_41&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_5','top_1','Shawls','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_34&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_6','top_1','Shoes','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_42&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_1_6_1','sub_1_6','Slippers','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31_42_81&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('top_2','','Fashion Accessories','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_1','top_2','Bags','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_22&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_1_1','sub_2_1','Backpacks','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_22_23&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_1_2','sub_2_1','Bracelets','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_22_54&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_1_3','sub_2_1','Carrier Bags','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_22_30&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_1_4','sub_2_1','Handbags','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_22_24&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_1_5','sub_2_1','Purses','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_22_25&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_2','top_2','Jewelry','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_4&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_2_1','sub_2_2','Bracelets','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_4_53&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_2_2','sub_2_2','Earrings','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_4_7&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_2_3','sub_2_2','Jewelry Sets','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_4_5&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_2_4','sub_2_2','Necklaces','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_4_6&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_2_5','sub_2_2','Pendants','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_4_59&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_2_5_1','sub_2_2_5','Jewish','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_4_59_75&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_2_5_2','sub_2_2_5','Christian','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_4_59_76&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_2_6','sub_2_2','Rings','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_4_60&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_3','top_2','Other Fashion Accessories','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_52&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_4','top_2','Shoes','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_55&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_4_1','sub_2_4','Sandals','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_55_56&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_5','top_2','Slippers','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_43&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_2_6','top_2','Wallets','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3_57&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('top_3','','Furniture','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=48&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_3_1','top_3','Other Furniture','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=48_65&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_3_2','top_3','Tables','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=48_79&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_3_3','top_3','Chests/ Dressers','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=48_63&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_3_4','top_3','Chairs','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=48_49&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_3_5','top_3','Bookcases','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=48_64&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_3_6','top_3','Other Furniture','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=48_50&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('top_4','','Home Decors','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_1','top_4','Baskets','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_69&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_2','top_4','Bedroom','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_45&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_2_1','sub_4_2','Blankets','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_45_46&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_3','top_4','Boxes','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_26&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_4','top_4','Candlesticks','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_68&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_5','top_4','Filigree','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_13&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_6','top_4','Fireplace Accessories','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_67&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_7','top_4','Home Office','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_29&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_8','top_4','Mirrors','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_47&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_9','top_4','Miscellaneous Home Decors','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_2&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_10','top_4','Pottery','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_8&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_10_1','sub_4_10','Figurines','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_8_10&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_10_2','sub_4_10','Pots','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_8_11&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_10_3','sub_4_10','Vases','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_8_9&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_11','top_4','Rugs','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_21&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_12','top_4','Sculpture','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_12&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_13','top_4','Tableware','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_27&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_13_1','sub_4_13','Coasters','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_27_28&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_13_2','sub_4_13','Place Mats','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_27_73&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_13_3','sub_4_13','Tablecloths','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_27_72&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_14','top_4','Throw Pillows','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_70&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_15','top_4','Wall Art','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_19&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_15_1','sub_4_15','Masks','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_19_66&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_15_2','sub_4_15','Plates','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_19_20&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_15_3','sub_4_15','Tapestries','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_19_71&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_16','top_4','Judaica','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_77&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_4_17','top_4','Christian Items','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1_78&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('top_5','','Toys and Games','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=14&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_5_1','top_5','Board Games','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=14_15&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_5_1_1','sub_5_1','Backgammon','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=14_15_17&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_5_1_2','sub_5_1','Chess sets','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=14_15_16&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_5_1_3','sub_5_1','Tic-tack-toe','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=14_15_18&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_5_2','top_5','Dolls','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=14_58&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_5_2_1','sub_5_2','Doll Clothing','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=14_58_62&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

oCMenu.makeMenu('sub_5_3','top_5','Stuffed Animals','http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=14_61&osCsid=04534d99bed9a3f0cb86c6d9182df8bf')

 

 

// create menu

oCMenu.construct()

 

<!-- Copyright 2002 www.dhtmlcentral.com -- modified for PHP and osCommerce by Andreas Kothe - www.oddbyte.de -->

 

</SCRIPT><!-- coolMenu_eof //-->

<!-- header //-->

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

<tr class="header">

<td valign="bottom">

<a href="http://localhost/testbed.cebu.us.com/catalog/index.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><img'>http://localhost/testbed.cebu.us.com/catalog/index.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><img src="images/cebutradingcorp/logotrans.gif" border="0" alt="Cebu" title="Cebu"></a><!--***** begin tabs-->

</td>

<td valign="bottom">

<TABLE cellSpacing=0 cellPadding=0 border=0 vspace="0" height="76">

<TR valign="bottom">

<TD valign="bottom" width="74"><a href="index.php"><img border="0" src="includes/languages/english/images/tabs/home.gif" width="74" height="76"></a>

</TD>

<TD valign="bottom" width="74"><a href="index.php?cPath=0"><img border="0" src="includes/languages/english/images/tabs/furniture.gif" width="74" height="76"></a>

</TD>

<TD valign="bottom" width="74"><a href="index.php?cPath=1"><img border="0" src="includes/languages/english/images/tabs/decors.gif" width="74" height="76"></a>

</TD>

<TD valign="bottom" width="74"><a href="index.php?cPath=2"><img border="0" src="includes/languages/english/images/tabs/apparel.gif" width="74" height="76"></a>

</TD>

<TD valign="bottom" width="74"><a href="index.php?cPath=3"><img border="0" src="includes/languages/english/images/tabs/fashion.gif" width="74" height="76"></a>

</TD>

<TD valign="bottom" width="74"><a href="index.php?cPath=4"><img border="0" src="includes/languages/english/images/tabs/toys&games.gif" width="74" height="76"></a>

</TD>

</TR>

</TABLE>

<!--***** end tabs-->

</td><td><a href="http://AllCommunity.com/all.members/baalwww/" target="_top"><img src="http://www.allcommunity.com/images/buttonlogo.gif" border="1"></a></td></tr>

<!--

<tr class=header" valign="top">

<td align="right" valign="bottom"><a href="http://localhost/testbed.cebu.us.com/catalog/account.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><img'>http://localhost/testbed.cebu.us.com/catalog/account.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><img src="images/header_account.gif" border="0" alt="My Account" title="My Account"></a>??<a href="http://localhost/testbed.cebu.us.com/catalog/shopping_cart.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><img'>http://localhost/testbed.cebu.us.com/catalog/shopping_cart.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><img src="images/header_cart.gif" border="0" alt="Cart Contents" title="Cart Contents"></a>??<a href="http://localhost/testbed.cebu.us.com/catalog/checkout_shipping.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><img'>http://localhost/testbed.cebu.us.com/catalog/checkout_shipping.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><img src="images/header_checkout.gif" border="0" alt="Checkout" title="Checkout"></a>??</td>

</tr>

-->

</table>

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

<tr class="headerNavigation">

<td class="headerNavigation">??<a href="http://localhost/testbed.cebu.us.com" class="headerNavigation">Top</a> ? <a href="http://localhost/testbed.cebu.us.com/catalog/index.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf" class="headerNavigation">Catalog</a></td>

<!--BEGIN sitemap

<td align="right" class="headerNavigation" width="300">

<form name="site_map" action="http://localhost/testbed.cebu.us.com/catalog/site_map_12.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf" method="post"><input type="hidden" name="action" value="process"> <table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td align="right"><input type="image" src="includes/languages/english/images/buttons/button_site_map.gif" border="0" alt="View All Products" title=" View All Products "></td>

<td align="left" class="headerNavigation"><font color="#FFFFFF"><b>???</b></font><font color="#000000"><b>:Direct Link??</b></font></td>

</tr>

</table></form>

end sitemap-->

<td align="right" class="headerNavigation"><a href="http://localhost/testbed.cebu.us.com/catalog/account.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf" class="headerNavigation">My Account</a> ?|? <a href="http://localhost/testbed.cebu.us.com/catalog/shopping_cart.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf" class="headerNavigation">Cart Contents</a> <br> <a href="http://localhost/testbed.cebu.us.com/catalog/checkout_shipping.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf" class="headerNavigation">Checkout</a> ?|?<a href="http://localhost/testbed.cebu.us.com/catalog/wishlist.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf" class="headerNavigation">My Wishlist</a></td>

</tr>

</table>

<!-- header_eof //-->

 

<!-- body //-->

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

<tr>

<td width="125" valign="top"><table border="0" width="125" cellspacing="0" cellpadding="2">

<!-- left_navigation //-->

<script type="text/javascript">

<!--

document.write(" <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=""></td>

<td width="100%" height="14" class="infoBoxHeading">Categories</td>

<td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" width="11" height="14" border="0" alt=""></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" width="100%" height="1" border="0" alt=""></td>

</tr>

<tr>

<td class="TextBox">

<img src="images/trans.gif" width="150" height="214.65"></td>

</tr>

<tr>

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

</tr>

</table>

</td>

</tr>

</table>

document.write("");

document.write(" <\/TD> <\/TR> ");

//--> </script>

<noscript>

<!-- categories //-->

<tr>

<td>

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

<tr>

<td height="14" class="CategoriesBoxHeading"><img src="images/CategoriesBox/corner_left.gif" border="0" alt=""></td>

<td width="100%" height="14" class="CategoriesBoxHeading">Categories</td>

<td height="14" class="CategoriesBoxHeading" nowrap><img src="images/pixel_trans.gif" width="11" height="14" border="0" alt=""></td>

</tr>

</table>

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

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="CategoriesBoxContents">

<tr>

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

</tr>

<tr>

<td align="left" class="CategoriesBoxContents"><div id="thecategories"><div id="topcat"><a href="http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=31&osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><span class="catwithsubs"><img src="images/categories/arrow_right.gif" width="9" height="9" border="0" alt=""></span>Apparel</a></div><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="2"><br><img src="images/pixel_ltgray.gif" border="0" alt="" width="100%" height="1"><br><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="2"><div id="topcat"><a href="http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=3&osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><span class="catwithsubs"><img src="images/categories/arrow_right.gif" width="9" height="9" border="0" alt=""></span>Fashion Accessories</a></div><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="2"><br><img src="images/pixel_ltgray.gif" border="0" alt="" width="100%" height="1"><br><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="2"><div id="topcat"><a href="http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=48&osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><span class="catwithsubs"><img src="images/categories/arrow_right.gif" width="9" height="9" border="0" alt=""></span>Furniture</a></div><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="2"><br><img src="images/pixel_ltgray.gif" border="0" alt="" width="100%" height="1"><br><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="2"><div id="topcat"><a href="http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=1&osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><span class="catwithsubs"><img src="images/categories/arrow_right.gif" width="9" height="9" border="0" alt=""></span>Home Decors</a></div><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="2"><br><img src="images/pixel_ltgray.gif" border="0" alt="" width="100%" height="1"><br><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="2"><div id="topcat"><a href="http://localhost/testbed.cebu.us.com/catalog/index.php?cPath=14&osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><span class="catwithsubs"><img src="images/categories/arrow_right.gif" width="9" height="9" border="0" alt=""></span>Toys and Games</a></div></div></td>

</tr>

<tr>

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

</tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

<!-- categories_eof //-->

</noscript>

<!-- loginbox //-->

 

 

<tr>

<td>

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

<tr>

<td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt=""></td>

<td width="100%" height="14" class="infoBoxHeading">Login Here</td>

<td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" width="11" height="14" border="0" alt=""></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" width="100%" height="1" border="0" alt=""></td>

</tr>

<tr>

<td align="center" class="TextBox">

<form name="login" method="post" action="http://localhost/testbed.cebu.us.com/catalog/login.php?action=process&osCsid=04534d99bed9a3f0cb86c6d9182df8bf">

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

<tr>

<td align="center" class="infoBoxContents">

Welcome <span class="greetUser">Guest!</span><br><br>

</td>

</tr>

<tr>

<td align="center" class="infoBoxContents">

E-Mail address:

</td>

</tr>

<tr>

<td align="center" class="infoBoxContents">

<input type="text" name="email_address" maxlength="96" size="20" value="">

</td>

</tr>

<tr>

<td align="center" class="infoBoxContents">

Password: <A HREF="http://localhost/testbed.cebu.us.com/catalog/password_forgotten.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><a href="password_forgotten.php"><i>(forgotten?)</i></a></A>

</td>

</tr>

<tr>

<td align="center" class="infoBoxContents">

<input type="password" name="password" maxlength="40" size="20" value="">

</td>

</tr>

<tr>

<td class="infoBoxContents" align="center"> <input type="image" src=" includes/languages/english/images/buttons/button_login.gif"

 

</td>

</tr>

<tr>

<td align="center" class="infoBoxContents">

<span class="greetUser">Not registered yet?</span><br><a href="create_account.php"><span class="smallText">Click here to<br>create an account</span></a>

</td>

</tr>

</table>

</form>

</td>

</tr>

<tr>

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

</tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

<!-- loginbox_eof //-->

<!-- whats_new //-->

<tr>

<td>

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

<tr>

<td height="14" class="WhatsNewBoxHeading"><img src="images/WhatsNewBox/corner_right_left.gif" border="0" alt=""></td>

<td width="100%" height="14" class="WhatsNewBoxHeading">What's New?</td>

<td height="14" class="WhatsNewBoxHeading" nowrap><a href="http://localhost/testbed.cebu.us.com/catalog/products_new.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><img src="images/WhatsNewBox/arrow_right.gif" border="0" alt="more" title="more"></a><img src="images/pixel_trans.gif" width="11" height="14" border="0" alt=""></td>

</tr>

</table>

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

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="WhatsNewBoxContents">

<tr>

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

</tr>

<tr>

<td align="center" class="WhatsNewBoxContents"><a href="http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=267&osCsid=04534d99bed9a3f0cb86c6d9182df8bf34;><img'>http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=267&osCsid=04534d99bed9a3f0cb86c6d9182df8bf34;><img src="imagemagic.php?img=images/40100101.gif&w=80&h=60&page=" width="80" height="60" border="0" alt="Girl from Lima" title="Girl from Lima"></a><br><a href="http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=267&osCsid=04534d99bed9a3f0cb86c6d9182df8bf34;>Girl'>http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=267&osCsid=04534d99bed9a3f0cb86c6d9182df8bf34;>Girl from Lima</a><br>$35.99</td>

</tr>

<tr>

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

</tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

<!-- whats_new_eof //-->

<!-- search //-->

<tr>

<td>

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

<tr>

<td height="14" class="SearchBoxHeading"><img src="images/SearchBox/corner_right_left.gif" border="0" alt=""></td>

<td width="100%" height="14" class="SearchBoxHeading">Quick Find</td>

<td height="14" class="SearchBoxHeading" nowrap><img src="images/pixel_trans.gif" width="11" height="14" border="0" alt=""></td>

</tr>

</table>

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

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="SearchBoxContents">

<tr>

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

</tr>

<tr>

<td align="center" class="SearchBoxContents"><form name="quick_find" action="http://localhost/testbed.cebu.us.com/catalog/advanced_search_result.php" method="get"><input type="text" name="keywords" size="10" maxlength="30" style="width: 95px">?<input type="hidden" name="osCsid" value="04534d99bed9a3f0cb86c6d9182df8bf"><br><input type="image" src="includes/languages/english/images/buttons/button_quick_find.gif" border="0" alt="Quick Find" title=" Quick Find "><br>Use keywords to find the product you are looking for.<br><a href="http://localhost/testbed.cebu.us.com/catalog/advanced_search.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><b>Advanced Search</b></a></form></td>

</tr>

<tr>

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

</tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

<!-- search_eof //-->

<!-- information //-->

<tr>

<td>

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

<tr>

<td height="14" class="infoBoxHeading"><img src="images/infobox/corner_right_left.gif" border="0" alt=""></td>

<td width="100%" height="14" class="infoBoxHeading">Information</td>

<td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.gif" width="11" height="14" border="0" alt=""></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" width="100%" height="1" border="0" alt=""></td>

</tr>

<tr>

<td class="TextBox"><a href="http://localhost/testbed.cebu.us.com/catalog/shipping.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf">Shipping & Returns</a><br><a href="http://localhost/testbed.cebu.us.com/catalog/privacy.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf">Privacy Notice</a><br><a href="http://localhost/testbed.cebu.us.com/catalog/conditions.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf">Conditions of Use</a><br><a href="http://localhost/testbed.cebu.us.com/catalog/contact_us.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf">Contact Us</a><br><a href="http://localhost/testbed.cebu.us.com/catalog/wholesale.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf">Wholesale Inquiries</a><br><a href="http://localhost/testbed.cebu.us.com/catalog/about.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf">About us</a></td>

</tr>

<tr>

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

</tr>

</table>

</td>

</tr>

</table>

</td>

</tr>

<!-- information_eof //-->

<!-- left_navigation_eof //-->

</table></td>

<!-- body_text //-->

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

<tr>

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

<!-- Get rid of the greeting

<tr>

<td class="pageHeading">What's New Here?</td>

<td class="pageHeading" align="right"><img src="imagemagic.php?img=images/table_background_default.gif&w=40&h=40&page=" width="40" height="40" border="0" alt="What's New Here?" title="What's New Here?"></td>

</tr>

</table></td>

</tr>

<tr>

<td><img src="images/pixel_trans.gif" width="100%" height="10" border="0" alt=""></td>

</tr>

<tr>

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

<tr>

<td class="main">Welcome <span class="greetUser">Guest!</span> Would you like to <a href="http://localhost/testbed.cebu.us.com/catalog/login.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><u>log yourself in</u></a>? Or would you prefer to <a href="http://localhost/testbed.cebu.us.com/catalog/create_account.php?osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><u>create an account</u></a>?</td>

</tr>

<tr>

<td><img src="images/pixel_trans.gif" width="100%" height="10" border="0" alt=""></td>

</tr>

<tr>

-->

<!-- <td class="main"></td> -->

<!-- BEGIN define mainpage -->

<td class="main"><!-- Begin Free-Banners v2.1 HTML Tag. All Rights Reserved. Patent Pending. -->

<center><font size="-2" color="gray">Advertisement</font><br>

<iframe src="http://ads.free-banners.com/cgi-bin/adserver/banner?iid=431061&istatus=1&iogeography=53346304&iocategory=319292416&iolanguage=26&ifilter=1&type=2&page=1" hspace=0 vspace=0 width=468 height=60 marginwidth=0 marginheight=0 frameborder=0 scrolling=no>

<a href="http://ads.free-banners.com/cgi-bin/adserver/click?iid=431061&istatus=1&iogeography=53346304&iocategory=319292416&iolanguage=26&ifilter=1" target="_top"><img

src="http://ads.free-banners.com/cgi-bin/adserver/banner?iid=431061&istatus=1&iogeography=53346304&iocategory=319292416&iolanguage=26&ifilter=1&type=1&page=1" width=468 height=60 border=0 alt="Free-Banners"></a></iframe><br>

<table border=0 cellpadding=0 cellspacing=0 width=468><tr><td align=right><a href="http://www.friendsearch.com/dating/dating.love/124038/" target="_top"><img src="http://ads.free-banners.com/images/textbar_blue.gif"

border=0></a><a href="http://www.free-banners.com/" target="_top"><img src="http://ads.free-banners.com/images/fbbar.gif" border=0></a></td></tr></table>

</center>

<!-- End Free-Banners v2.1 HTML Tag. All Rights Reserved. Patent Pending. -->

<font color="red" size="+3"><em>Grand Opening!<em></font></td>

<!-- END define mainpage -->

</tr>

<tr>

<td><img src="images/pixel_trans.gif" width="100%" height="10" border="0" alt=""></td>

</tr>

<tr>

<td><!-- product_specials //-->

<!-- product_specials_eof //-->

</td>

</tr>

<tr>

<td><img src="images/pixel_trans.gif" width="100%" height="10" border="0" alt=""></td>

</tr>

<tr>

<td>

<!--BOC best seller-->

<!-- best_sellers //-->

<!-- best_sellers_eof //--> <!--EOC best seller->

<!-- new_products //-->

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

<tr>

<td height="14" class="contentBoxHeading"><img src="images/contentBox/corner_left.gif" border="0" alt=""></td>

<td height="14" class="contentBoxHeading" width="100%">New Products For April</td>

<td height="14" class="contentBoxHeading"><img src="images/contentBox/corner_right_left.gif" border="0" alt=""></td>

</tr>

</table>

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

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="4" class="contentBoxContents">

<tr>

<td align="center" class="smallText" width="33%" valign="top"><a href="http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=272&osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><img src="imagemagic.php?img=images/40100501.gif&w=80&h=60&page=" width="80" height="60" border="0" alt="Paca Pals" title="Paca Pals"></a><br><a href="http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=272&osCsid=04534d99bed9a3f0cb86c6d9182df8bf">Paca Pals</a><br>$6.50</td>

<td align="center" class="smallText" width="33%" valign="top"><a href="http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=266&osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><img src="imagemagic.php?img=images/40100100.gif&w=80&h=60&page=" width="80" height="60" border="0" alt="Girl from Lima" title="Girl from Lima"></a><br><a href="http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=266&osCsid=04534d99bed9a3f0cb86c6d9182df8bf">Girl from Lima</a><br>$35.99</td>

<td align="center" class="smallText" width="33%" valign="top"><a href="http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=76&osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><img src="imagemagic.php?img=images/40000101.jpg&w=80&h=60&page=" width="80" height="60" border="0" alt="Pizarro vs Atahualpa Chess Set" title="Pizarro vs Atahualpa Chess Set"></a><br><a href="http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=76&osCsid=04534d99bed9a3f0cb86c6d9182df8bf">Pizarro vs Atahualpa Chess Set</a><br>$31.99</td>

</tr>

<tr>

<td align="center" class="smallText" width="33%" valign="top"><a href="http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=269&osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><img src="imagemagic.php?img=images/40100301.gif&w=80&h=117&page=" width="80" height="117" border="0" alt="Girl from Palla" title="Girl from Palla"></a><br><a href="http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=269&osCsid=04534d99bed9a3f0cb86c6d9182df8bf">Girl from Palla</a><br>$35.99</td>

<td align="center" class="smallText" width="33%" valign="top"><a href="http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=79&osCsid=04534d99bed9a3f0cb86c6d9182df8bf"></a><br><a href="http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=79&osCsid=04534d99bed9a3f0cb86c6d9182df8bf">Inca-tack-toe</a><br>$31.99</td>

<td align="center" class="smallText" width="33%" valign="top"><a href="http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=264&osCsid=04534d99bed9a3f0cb86c6d9182df8bf"><img src="imagemagic.php?img=images/40100200.gif&w=80&h=114&page=" width="80" height="114" border="0" alt="Girl from Cusco" title="Girl from Cusco"></a><br><a href="http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=264&osCsid=04534d99bed9a3f0cb86c6d9182df8bf">Girl from Cusco</a><br>$35.99</td>

</tr>

<tr>

<td align="center" class="smallText" width="33%" valign="top"><a href="http://localhost/testbed.cebu.us.com/catalog/product_info.php?products_id=267&osCsid=04534d99bed9a3f0cb86c6d9182df8bf

Share this post


Link to post
Share on other sites
Thanks! I don't think there is a category box here. Here's the code, but I can't post a link becasuse this is the offline test site, thank goodness.

 

........

 

In column_left.php, you commented out the categories box include and replaced it with

 include(DIR_WS_BOXES . 'coolmenu.php');

 

Are you sure the categories heading is not behind the menu. I see it in the code. Try changing

oCMenu.fromLeft=10
oCMenu.fromTop=100

 

to something big so that the menu moves away from where it is. If the category box is still not there, post your includes/boxes/coolmenu.php and includes/coolmenu.php. If it is, we just need to work on positioning.

 

i really think the box is hidden behind the menu

Share this post


Link to post
Share on other sites
In column_left.php, you commented out the categories box include and replaced it with

 include(DIR_WS_BOXES . 'coolmenu.php');

 

Yes. That's because the instructions say...

REPLACE:

 

include(DIR_WS_BOXES . 'categories.php');

 

BY:

 

include(DIR_WS_BOXES . 'coolmenu.php');

 

should I not replace?

 

Are you sure the categories heading is not behind the menu. I see it in the code. Try changing

oCMenu.fromLeft=10
oCMenu.fromTop=100

 

to something big so that the menu moves away from where it is. If the category box is still not there, post your includes/boxes/coolmenu.php and includes/coolmenu.php. If it is, we just need to work on positioning.

 

i really think the box is hidden behind the menu

 

I changed it, and the menu in the photo moves, but still not box. I guess because it's commented out? Is the idea that the dhtml menu is supposed to ride inside and cover the standard categories box? If so, then I guess it should not be replaced in column_left. Seems it would be better and more efficient to let osc paint the box but comment out the code that causes the contents to be generated, rather than have that done then cover it, if that's what's happening.

Share this post


Link to post
Share on other sites
Yes. That's because the instructions say...

REPLACE:

 

include(DIR_WS_BOXES . 'categories.php');

 

BY:

 

include(DIR_WS_BOXES . 'coolmenu.php');

 

should I not replace?

I changed it, and the menu in the photo moves, but still not box. I guess because it's commented out? Is the idea that the dhtml menu is supposed to ride inside and cover the standard categories box? If so, then I guess it should not be replaced in column_left. Seems it would be better and more efficient to let osc paint the box but comment out the code that causes the contents to be generated, rather than have that done then cover it, if that's what's happening.

 

That was just double-checking, you are ok with replacing categories.php. coolmenu.php recreates the table with the heading then adds the content to it. You should still have the category table in the background but it should be empty. Can you post a pic of that area with the menu moved to the side. According to your source code, if i'm reading it right, the box should be there. Also post your includes/boxes/coolmenu.php. Did you make any changes to that?

Share this post


Link to post
Share on other sites

Is this contribution compatible with STS (Simple Template System)?

I tried installing it but "define.document...." appears instead of the menu itself

Share this post


Link to post
Share on other sites

First of all, I would like to thank everyone that has contributed to this site. I just started building a website for my wife and I have learned so much from this site in the past few days.

 

My site is almost done except for one small problem with coolmenu. The menu program works great except for when someone logs into their account. Then the menu disappears!

 

Could someone please give me a hand with this? I created a test account so you could see what it is doing.

 

My site is http://www.southerncharmsjewelry.com

Account name: test

Account pass: test1

 

 

Any help would be greatly appreciated!

 

 

Joey

 

p.s. I'm also getting an error at the bottom of my browser that says Done, but with errors on page. I'm thinking its a javascript error of some sort due to coolmenu but it seems to work fine. Any insight on this would be much appreciated!

Share this post


Link to post
Share on other sites
First of all, I would like to thank everyone that has contributed to this site. I just started building a website for my wife and I have learned so much from this site in the past few days.

 

My site is almost done except for one small problem with coolmenu. The menu program works great except for when someone logs into their account. Then the menu disappears!

 

Could someone please give me a hand with this? I created a test account so you could see what it is doing.

 

My site is http://www.southerncharmsjewelry.com

Account name: test

Account pass: test1

Any help would be greatly appreciated!

Joey

 

p.s. I'm also getting an error at the bottom of my browser that says Done, but with errors on page. I'm thinking its a javascript error of some sort due to coolmenu but it seems to work fine. Any insight on this would be much appreciated!

 

the account login does not work. It needs an email address

Share this post


Link to post
Share on other sites
the account login does not work. It needs an email address

 

Hey T_love, thanks for the reply! Sorry for leaving that piece of information out. The correct login information is:

 

Account login: test@southerncharmsjewelry.com

Account pass: test1

 

or you can make up an account.

 

I really appreciate any help you could offer!

 

 

Joey

Share this post


Link to post
Share on other sites
Hey T_love, thanks for the reply! Sorry for leaving that piece of information out. The correct login information is:

 

Account login: test@southerncharmsjewelry.com

Account pass: test1

 

or you can make up an account.

 

I really appreciate any help you could offer!

Joey

 

Hi Joey.

 

With regards to your current problems.

 

1) After loggin in the menu disapears.

 

This is an easy one by the looks of it and it actually only affects the account.php file.

 

If you look at the source code for this file, you have missed the inclusion of the javascript file.

 

<script LANGUAGE="JavaScript1.2" SRC="includes/menu_animation.js"></SCRIPT>

 

 

2) The javascipt error message that is appearing on all of the pages is due to some scripting errors.

 

If you look at the file coolmenu.php within the boxes folder. (Double check that this is the correct file) then you will see some lines which are producing html as follows:

 

<script type="text/javascript">

<!--

document.write(" <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="1" height="1"></td>

<td width="100%" height="14" class="infoBoxHeading">Categories</td>

<td height="14" class="infoBoxHeading" nowrap><img src="images/pixel_trans.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">

<img src="images/trans.gif" width="200" height="21.2"></td>

</tr>

<tr>

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

</tr>

</table>

</td>

</tr>

</table>

document.write("");

document.write(" <\/TD> <\/TR> ");

//--> </script>

 

 

There is errors within this scripting (see beside red text) because firstly, it is saying there is javascript which manually writes a row and column.

 

Then pure html is written, however, the javascript has not been closed off.

 

Then javascipt is written again.

 

Check the code within this file to make sure that everything has been copied correctly. if you are still having problems, post a copy of the file here so that I can have a look at it.

 

Hope this helps to resolve your problems.

 

Regards

 

Mark.


If at first you don't succeed. Find the answer on a Forum.

Share this post


Link to post
Share on other sites

Post your includes/boxes/coolmenu.php. Looks like something was changed in there.

 

As far as the menu disappearing when logged in, unless i did something differently, i was still able to see the menu after logging in. You do have the errors which should be in the file i mentioned above

Share this post


Link to post
Share on other sites

Hey T_love, here is the code from the includes/boxes/coolmenu.php file. Also, on my website after you log in and click on my account to view or update your account information, this is when the menu disappears.

 

<?php
/* ------------------------------------------------

 coolMenu for osCommerce

 author:	Andreas Kothe 
 url:		http://www.oddbyte.de
 copyright: 2003 Andreas Kothe
 modified: 2003-07-28 Marc Zacher

 extended to work for javascript enanbled and disabled
 with javascript disabled, the conventional categories box is shown
 this extension is provided by Marc Zacher

 The copyright notice of Andreas Kothe in the html output
 has been removed and put in this header
 since it would cause problems in javascript context.

 Released under the GNU General Public License

 ------------------------------------------------ 
*/

?>
<script type="text/javascript">
<!--
document.write(" <TR> <TD> ");
<?php
 $info_box_contents = array();
 $info_box_contents[] = array('align' => 'left',
			   'text'  => BOX_HEADING_CATEGORIES
			  );
 $coolmenuinfoboxheading = new infoBoxHeading($info_box_contents, true, false, false, false);
 $output_string = $coolmenuinfoboxheading->table_string;


 $info_box_contents = array();
 if (MAX_MANUFACTURERS_LIST < 2) {
$cat_choose = array(array('id' => '', 'text' => BOX_CATEGORIES_CHOOSE));
 } else {
$cat_choose = '';
 }



 $info_box_contents[] = array('text'  => '
<img src="images/trans.gif" width="200" height="' . $height . '">');

 $coolmenuinfobox = new infoBox($info_box_contents, false);
 $output_string .= $coolmenuinfobox->table_string;
 //remove all html commments
 $output_string = preg_replace("/<!--.*?-->/", "", $output_string);
 //escape all occurences of "
 $output_string = preg_replace('/"/', '\"', $output_string);
 //escape all occurences of /
 $output_string = preg_replace('/\//', '\/', $output_string);
 //remove trailing \n
 $output_string = preg_replace('/\\n+$/', '', $output_string);
 //replace all \n with ");\ndocument.write("
 $output_string = preg_replace('/\\n/', "\");\ndocument.write(\"", $output_string); 
 //prepend document.write at the beginning and append ");\n
 $output_string = "document.write(\"" . $output_string . "\");\n";
 echo $output_string;
?>
document.write(" <\/TD> <\/TR> ");
//--> </script>
<noscript>
<?php
 include(DIR_WS_BOXES . 'categories.php');
?>
</noscript>

Share this post


Link to post
Share on other sites

How this contribution is being installed? I followed the ReadMe -file and nothing happens:

 

If catalog/includes/classes/boxes.php hasnt changed you can just upload the

included file over the original =)

Share this post


Link to post
Share on other sites

I fixed it! At least part of the way. I was able to fix the issue with the menu not showing up when you log into your account. It was all due to one little bracket left out of the code! I still have the issue with the 'Done, but with errors on page' at the bottom of my browser but am currently working on it. If anyone has any ideas please let me know.

 

Thanks for all the support T-love and Mark!

 

 

Joey

Share this post


Link to post
Share on other sites
Hi Joey.

 

With regards to your current problems.

 

1) After loggin in the menu disapears.

 

This is an easy one by the looks of it and it actually only affects the account.php file.

 

If you look at the source code for this file, you have missed the inclusion of the javascript file.

2) The javascipt error message that is appearing on all of the pages is due to some scripting errors.

 

If you look at the file coolmenu.php within the boxes folder. (Double check that this is the correct file) then you will see some lines which are producing html as follows:

There is errors within this scripting (see beside red text) because firstly, it is saying there is javascript which manually writes a row and column.

 

Then pure html is written, however, the javascript has not been closed off.

 

Then javascipt is written again.

 

Check the code within this file to make sure that everything has been copied correctly. if you are still having problems, post a copy of the file here so that I can have a look at it.

 

Hope this helps to resolve your problems.

 

Regards

 

Mark.

Hey Mark,

 

Here is the code from includes/boxes/coolmenu.php file. I'm pretty new at this and couldn't quite grasp what you were saying. I was able to fix the menu not showing up but I still have the error at the bottom of the screen that says 'Done, but with errors on page'. I'd greatly appreciate any more input from you after you look at the code. Thanks!

<?php
/* ------------------------------------------------

 coolMenu for osCommerce

 author:	Andreas Kothe 
 url:		http://www.oddbyte.de
 copyright: 2003 Andreas Kothe
 modified: 2003-07-28 Marc Zacher

 extended to work for javascript enanbled and disabled
 with javascript disabled, the conventional categories box is shown
 this extension is provided by Marc Zacher

 The copyright notice of Andreas Kothe in the html output
 has been removed and put in this header
 since it would cause problems in javascript context.

 Released under the GNU General Public License

 ------------------------------------------------ 
*/

?>
<script type="text/javascript">
<!--
document.write(" <TR> <TD> ");
<?php
 $info_box_contents = array();
 $info_box_contents[] = array('align' => 'left',
			   'text'  => BOX_HEADING_CATEGORIES
			  );
 $coolmenuinfoboxheading = new infoBoxHeading($info_box_contents, true, false, false, false);
 $output_string = $coolmenuinfoboxheading->table_string;


 $info_box_contents = array();
 if (MAX_MANUFACTURERS_LIST < 2) {
$cat_choose = array(array('id' => '', 'text' => BOX_CATEGORIES_CHOOSE));
 } else {
$cat_choose = '';
 }



 $info_box_contents[] = array('text'  => '
<img src="images/trans.gif" width="200" height="' . $height . '">');

 $coolmenuinfobox = new infoBox($info_box_contents, false);
 $output_string .= $coolmenuinfobox->table_string;
 //remove all html commments
 $output_string = preg_replace("/<!--.*?-->/", "", $output_string);
 //escape all occurences of "
 $output_string = preg_replace('/"/', '\"', $output_string);
 //escape all occurences of /
 $output_string = preg_replace('/\//', '\/', $output_string);
 //remove trailing \n
 $output_string = preg_replace('/\\n+$/', '', $output_string);
 //replace all \n with ");\ndocument.write("
 $output_string = preg_replace('/\\n/', "\");\ndocument.write(\"", $output_string); 
 //prepend document.write at the beginning and append ");\n
 $output_string = "document.write(\"" . $output_string . "\");\n";
 echo $output_string;
?>
document.write(" <\/TD> <\/TR> ");
//--> </script>
<noscript>
<?php
 include(DIR_WS_BOXES . 'categories.php');
?>
</noscript>

Share this post


Link to post
Share on other sites

Looks like you are printing out all the infobox code before you wrap it in "document.write()". By the time it tries to wrap it, your code is already printed out and you end up with the empty "document.write("")" at the end of all that html. I'm not sure where that's occuring because this file seems to be fine. Have you made changes to any part of the contribution besides size adjustments?

Share this post


Link to post
Share on other sites
Looks like you are printing out all the infobox code before you wrap it in "document.write()". By the time it tries to wrap it, your code is already printed out and you end up with the empty "document.write("")" at the end of all that html. I'm not sure where that's occuring because this file seems to be fine. Have you made changes to any part of the contribution besides size adjustments?

 

The only file I have edited is the includes/coolmenu.php file. And the edits were just size and position adjustment. I have not edited the includes/boxes/coolmenu.php or the menu_animation.js file. Could the problem be coming from one of these files? Let me know if I should post the code for either of them. Thanks T_love!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×