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: Documentation is wrong??? MENU_POS vs MENU_TPL
spw
Member

Posts: 44
Registered: 12/8/2005
Location: Australia
Member Is Offline
posted on 12/9/2005 at 04:42 PM Reply With Quote
Documentation is wrong??? MENU_POS vs MENU_TPL


Tigra Gold documentation shows the text we need to include as follows:

<script language="JavaScript">
new menu (MENU_ITEMS, MENU_POS);
</script>

or

<script language="JavaScript">
new menu (MENU_ITEMS, MENU_POS, {'frames' : MENU_FRAMES});
</script>

HOWEVER, the menu system is expecting MENU_TPL not MENU_POS.

I have changed my version of the documentation and have also let Tigra know a?? they are currently reviewing the documentation and will hopefully correct the online documentation soon.
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/21/2006 at 04:20 PM Reply With Quote

you can give variables any names as long as they match the name you specify in the menu constructor. I.e. you can have:

MENU_POS in template.js and then the constructor will be:

<script language="JavaScript">
new menu (MENU_ITEMS, MENU_POS);
</script>

or you can have MENU_TPL in template.js then the constructor will be:

<script language="JavaScript">
new menu (MENU_ITEMS, MENU_TPL);
</script>

same is true for the MENU_ITEMS.

also you can rename configuration files if you feel like it.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Product Page
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