kdjoergensen
Newbie
Posts: 1
Registered: 11/30/2005
Member Is Offline
|
| posted on 11/30/2005 at 11:10 PM |
|
|
setting x,y point on page for menu
I am trying to position the tigra menu (free version) on the page by changing the values in the "edit menu setting" box in the lower right hand
corner of the page.
The default values are 50,20 (hor. / ver.)
Once I try to change them, the default values change to 20,20 and it is not possible to enter any other values after that (it keeps the 20,20).
Does this mean that the free version can only be positioned at 50,20 (or 20,20) on the page ? or is there a problem with the online builder ?
What I am trying to do is to set the x,y value of the menu on the webpage itself.
Thanks.
|
|
|
ttoll
Newbie
Posts: 1
Registered: 12/7/2005
Location: Corning
Member Is Offline
|
| posted on 12/7/2005 at 10:49 PM |
|
|
menu positioning
Once the files are downloaded, go to the menu_tpl file. Change the extension from .js to .txt so you can edit it. Find the code like this...
// menu block offset from the origin:
// for root level origin is upper left corner of the page
// for other levels origin is upper left corner of parent item
MENU_POS['block_top'] = [130, 10];
MENU_POS['block_left'] = [15, 100];
...now you can change the menu location by changing the values for ['block_top']. It's currently set to 130 down, and 10 over. If you want it to be
closer to the top of the page, decrease the 130.
Then save the file. Change it back from a .txt to a .js file. It's a trial and error method, but it's an easy way to do it.
Hope that helps.
~Bpn
|
|
|
|