Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Centering Generated Menu
johrik
Junior Member

Posts: 4
Registered: 1/15/2004
Member Is Offline
posted on 1/15/2004 at 09:21 AM Reply With Quote
Centering Generated Menu


Hi all,

I built and was generated an online menu which works and looks fine. However I wanted to centre the menu so when I add it to my html page it will be in the centre of the page rather than aligned left which is what it is now....

Does anyone have any suggestions on doing this? I wasnt sure which files need to be edited to perform this,

Thank for any help,
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 1/15/2004 at 10:47 AM Reply With Quote

Inserting menu initialization block within relatively positioned HTML element (table cell for example) will not change menupositioning. Use Menu Geometry structure for that.
http://www.softcomplex.com/products/tigra_menu/docs/#construct
View User's Profile View All Posts By User U2U Member
johrik
Junior Member

Posts: 4
Registered: 1/15/2004
Member Is Offline
posted on 1/15/2004 at 11:28 AM Reply With Quote

Thanks for the reply,

Ok so it looks like i will have to change some of the code in one of the JScript files. I havent got experience with JScript but could you tell me which JScript file needs to be edited to get the menu centered (Setting menu geometry)?

Im assuming its either the menu or the menu_tpl file that needs changing....
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 1/21/2004 at 11:29 AM Reply With Quote

You should edit your tpl?.js file and change values of following settings:
// 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'] = [125, 23];
MENU_POS['block_left'] = [15, 0];
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Tigra Menu
Product Demonstrations Live Demos:
Traditional Blue
White Steps
Inner HTML
All Together
Frames Targeting
Free Download Free Download
Free Download Menu Builders
Online Builder
Builder for Windows
Product Documentation Documentation:
Documenation Page
Change Log
Menus Comparison Table
Support Forum Support Forum
 
Tigra Menu PRO
Product Demonstrations Live Demos
Alignment & Multimenus
Unlimited Depth
Item sizing and positioning
Inner HTML
Frames, Targeting
Static Positioning
Free Download Menu Builders
Online Builder
Product Documentation Documentation
Documenation Page
Tigra Menu PRO FAQ
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 
Product Page Tigra Menu GOLD
Functionality demos Functionality demos
Multiple
Cross-framed
Select-boxes
Effects
Design demos Design demos
Icons & arrows
Idea!
Hi there!
Matrix
MS Style
XP Style
Dots
3D-Buttons
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004