Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cascading category box???


Guest

Recommended Posts

Posted

search the contribs for a "dynamic menu" or somn like tat

Checkout my osc contrib here!

You can also checkout the site im working on by clicking the card button!

Posted

thanks for the advice but none relating to their type of category box.

Posted

thank you...

 

you are a life saver.

i loaded the file and followed the readme.txt

and this is what happen to my shopping cart:

 

http://newmexicanconnection.com/shop

 

i don't know what is wrong...

any further assistance is greatly appreciated :)

 

thank you,

macie

Posted

In /includes/coolmenu.php find:

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

 //Menu properties
 oCMenu.pxBetween=0
 oCMenu.fromLeft=10
 oCMenu.fromTop=166
 oCMenu.rows=0
 oCMenu.menuPlacement="left"

change the numbers in these two lines to position the menu into your categories box. :

oCMenu.fromLeft=10
 oCMenu.fromTop=166

All Trial & Error.

Backup...Backup...Backup

Posted

To late to edit.

Also do the following:

Find this line:

oCMenu.level[0].width=121

to change the width of the menu.

Then find:

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

to change the height of the menu. Anytime you add a new category you will have to alter this line of code.

To change the width of the subcategories alter this line:

oCMenu.level[' . $i . '].width=125

Hope this helps somewhat.

Posted

dang,

 

you know it all!!!! it helped me a great deal and now my site looks like this:

 

http://newmexicanconnection/shop

 

thank you soo much for taking the time to explain it step by step for me.

Posted

Glad you have it settled. Change this line:

oCMenu.level[0].width=121

to make the menu fill the width of the categories box. Probably 125.

 

Change this line:

oCMenu.level[1].width=250

to alter the width of the subcategories

Archived

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

×
×
  • Create New...