Board Logo

Individual geometry help, please
Terry - 4/4/2003 at 04:49 AM

I've read all the docs and the FAQ, and still can't figure this out. I need to individually size the 0 level boxes, and make the text centered at 0 level.

I'd be so grateful for a concrete example of what I need to do. I'm using TigraPro.


nik - 4/4/2003 at 07:50 AM

To individually size the 0 level boxes just change the third parameter for these level items in menu_items.js file. To make the text centered at 0 level you should write wrapper that inserts item caption in the table where you can center your text.


Terry - 4/4/2003 at 06:01 PM

Is this the section you mean? How do split this for the individual 0 level boxes? I have 7 0 level items, and a total of 5 levels. Do I make changes within this section, or replace it with something different with a section labeled var menu _items?

I'm sorry to be so slow understanding this.

---

var MENU_POS = new Array();

// item sizes for different levels of menu
MENU_POS['height'] = [22, 22, 22, 22, 22];
MENU_POS['width'] = [150, 200, 150, 310, 150];
MENU_POS['left'] = [101, 0, 0, 0, 0];


nik - 4/7/2003 at 01:38 PM

If you are using Tigra Menu PRO you must have received standard distribution package. You can find the example of how different items are sized individually in menu_items.js of independent geometry demo.


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/