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 Menus
[email protected]
Newbie

Posts: 1
Registered: 9/9/2002
Member Is Offline
posted on 9/9/2002 at 05:14 PM Reply With Quote
Centering Menus


Can you tell me how I can go about centering menus on a page. I am particularly interested in centering a horizontal menu. I assume it involves writing a JavaScript wrapper. Can you point me to some sample code? Thanks.
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 9/11/2002 at 07:30 AM Reply With Quote

Take a look at Tigra Menu PRO FAQ:

http://www.softcomplex.com/products/tigra_menu_pro/documentation/faq.html#geometry

Q: How to align menu on the center of the page?
A: Alignment feature is available from v2.0 of Tigra Menu PRO. You need to specify align parameter in menu geometry configuration file.

// Menu alignment - (left, center, right)
MENU_POS['align'] = 'center';

and

http://www.softcomplex.com/products/tigra_menu_pro/documentation/faq.html#design

Q: How do you get the caption to be centered in a menu item?
A: Any html allowed within menu items so you are free to use something like

your caption


If same alignment is required for many items you may write simple wrapper.
View User's Profile View All Posts By User U2U Member
dtails
Junior Member

Posts: 2
Registered: 12/28/2002
Location: Copenhagen
Member Is Offline
smile.gif posted on 12/28/2002 at 12:51 PM Reply With Quote
Centering menu in Tigra PRO


Hi Tigra,
I just bought the PRO version, as I would like to center my horizontal menu. Can this be done just be adding the lines:

// Menu alignment - (left, center, right)
MENU_POS['align'] = 'center';

in the menu_tpl.js part? If not, how should I do this?
I have already configured the free version of the menu to look as I would like it, so can I re-use must of the configuration, or must I start over with that part?
Thanx for your help,
regards,
jens
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 1/4/2003 at 03:40 PM Reply With Quote

adding
MENU_POS['align'] = 'center';
will center the menu on the page, but note that first value in MENU_POS['align'] will define offset from the page center. Negative values are ok if you want to offset to the left. Put 1 there if you want it just centered. Note2: you'll need to modify other menu files to conform Tigra Menu PRO configuration format. If you've created your current menu configuration using Online Menu Builder the you can just save your results for PRO version and specify alignment parameter.
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