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: Automatic sizing top menu items
JohanS
Junior Member

Posts: 2
Registered: 10/20/2004
Member Is Offline
posted on 10/20/2004 at 06:28 AM Reply With Quote
Automatic sizing top menu items


Is it possible to make the top menu items
autoresize, to the width of the titel in the menu item.

For example
Menuitem 'Home' is small/standard
and
Menuitem 'Personal intrests' resizes to
make it fit.

Many thanx!
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 10/20/2004 at 05:32 PM Reply With Quote

We wanted this feature from the very first versions, but we still haven't found the way to implement it with some browsers that our menus support. The way around is some server side script that calculates the width of the text based on the sizes table for characters then adds margins and then prints in values dynamically into Tigra Menu PRO or Tigra Menu GOLD configuration (free version doesn't support individual item sizes, only per level sizes).
View User's Profile View All Posts By User U2U Member
JohanS
Junior Member

Posts: 2
Registered: 10/20/2004
Member Is Offline
posted on 10/21/2004 at 06:20 AM Reply With Quote

Luckely I don't have to support all the browser you do. I only have to support IE.

I first tried it with the use of:
* document.getElementById().style.width
* document.getElementById().innerWidth
But they seem to have only a value if the
width of the object is set.

I now found an other width:
* document.getElementById().offsetWidth

Probably this only works in IE but that works for me.
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