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: Menu - Demo #1 - center

Posts: 1
Registered: 1/27/2006
Location: ca
Member Is Offline
posted on 1/27/2006 at 06:59 PM Reply With Quote
Menu - Demo #1 - center


Brilliant script and amazing presentation - the builder is an amazing offering.!

So, all is well but...
TWO questions.............

how do I set menu for page <center>?
menu_tpl.js has: 'block_left': 'x'
which is good enough but is there a way to set either relative pos or just plain center?

In your blank.html:
//Don't try to position menu locating menu initialization block in
// some table cell or other HTML element.

clear enough but can we winkle menu.js?
or whatever.

Is there some way to include: new menu (MENU_ITEMS, MENU_POS); in a .js header file?
I am using the menu for an offline dictionary (about 9Mb of text and many pages) and it would simplify file reformatting if I could just have all the page-top stuff in a single .js and only have to insert the one call.
I have tried <body onLoad... but no go.
A few other hack arounds but it no likee.

Neither question is critical but it would be good to hear from you.

Many thanks again for a fine product. I have tried a good many menu systems over the years and this has size and versatility in absence and abundance respectively :)
View User's Profile View All Posts By User U2U Member

Posts: 1
Registered: 2/7/2006
Location: US
Member Is Offline
posted on 2/7/2006 at 07:50 PM Reply With Quote

I'd be really interested to know also how to do the <center> function on this.
I had thought about implementing a javascript side script, that would find the width of the browser and display items based on that.

So if anyone finds something post it up.
I'm gona work on this and will repost if I find something good.
View User's Profile View All Posts By User U2U Member
Junior Member

Posts: 2
Registered: 3/23/2006
Location: NY
Member Is Offline
posted on 3/23/2006 at 07:44 PM Reply With Quote

I'd like to know how to center this as well. Is it anywhere on here or is there no way and thats why theres no response?
View User's Profile View All Posts By User U2U Member

Posts: 1
Registered: 9/26/2006
Location: US
Member Is Offline
posted on 9/26/2006 at 06:07 PM Reply With Quote

Try this:
Change the line below in "menu.js"
this.n_x =0;
this.n_x = (screen.width-(a_items.length)*100)/2 ; // 100 is your item width

The menu will be in the center of the window.
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

Go To Top

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