Brilliant script and amazing presentation - the builder is an amazing offering.!
So, all is well but...
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?
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 :)
I'd be really interested to know also how to do the <center> function on this.
So if anyone finds something post it up.
I'm gona work on this and will repost if I find something good.
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?
Change the line below in "menu.js"
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.