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: I don't know how
rawstarr
Junior Member

Posts: 5
Registered: 7/31/2007
Location: Chicago
Member Is Offline
posted on 8/4/2007 at 02:46 AM Reply With Quote
I don't know how


Ok i am using the script below, it works pefectly however i want to have 3 on top 2 on bottom i tried the (/n) code it didn't work... i dont know what to do.please help




// items structure
// each item is the array of one or more

properties:
// [text, link, settings, subitems ...]
// use the builder

to export errors free structure if you experience problems with the

syntax

var MENU_ITEMS = [



['EngageSpeaking', 'speaking.html', null,
// this is how

item scope settings are defined
],

['EngageSocialChange', 'socialchange.html', null,


// this is how item scope settings are defined
],


['EngageBlackMen', 'blackmen.html', null,


// this is how item scope settings are defined
],


['EngageFamily', 'family.html', null,
// this is how

item scope settings are defined
],

['EngageRelationships', 'relationships.html', null,


// this is how item scope settings are defined
],



];
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 8/4/2007 at 04:34 PM Reply With Quote

if menus are horizontal then you'll need to initialize two instances of the menu, one below another.
this is also possible with one menu instance using Tigra Menu PRO
View User's Profile View All Posts By User U2U Member
rawstarr
Junior Member

Posts: 5
Registered: 7/31/2007
Location: Chicago
Member Is Offline
posted on 8/4/2007 at 08:05 PM Reply With Quote

I Tried Like i use the code below on the page. I put the code twice it didn't work (by seperating them.)


<!-- styles for demo menu #1-->
<link rel="stylesheet" href="menu.css">
</head>

<body>

<!-- menu script itself. you should not modify this file -->
<script language="JavaScript" src="menu.js"></script>
<!-- items structure. menu hierarchy and links are stored there -->
<script language="JavaScript" src="menu_items.js"></script>
<!-- files with geometry and styles structures -->
<script language="JavaScript" src="menu_tpl.js"></script>
<script language="JavaScript">
<!--//
// Make sure the menu initialization is right above the closing </body> tag
// Moving it inside other tags will not affect the position of the menu on

// the page. If you need this feature please consider Tigra Menu GOLD.

// each menu gets two parameters (see demo files)
// 1. items structure
// 2. geometry structure

new menu (MENU_ITEMS, MENU_TPL);

// If you don't see the menu then check JavaScript console of the browser for the error messages
// "Variable is not defined" error indicates that there's syntax error in that variable's definition
// or the file with that variable isn't properly linked to the HTML document
//--> //-->
</script>
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 8/5/2007 at 03:33 AM Reply With Quote

http://www.softcomplex.com/forum/viewthread_999/
View User's Profile View All Posts By User U2U Member
rawstarr
Junior Member

Posts: 5
Registered: 7/31/2007
Location: Chicago
Member Is Offline
posted on 8/5/2007 at 06:34 AM Reply With Quote

thank u. but i got to 9.3 in my (menu2_items.js) i do not see a POS .... am i using the wrong Demo? i was using Demo1? thanks again for ur help


9.3 in menu2_items.js: MENU_ITEMS to MENU2_ITEMS
9.4 in menu2_tpl.js: MENU_POS to MENU2_POS and MENU_STYLES to MENU2_STYLES
9.5 in menu2.css rename all css classes so they start from .m1 (not from .m0 as)
10. update variable names in menu initialization for first instance in index.html.
11. add menu initialization for second menu. Your initialization should look like this:

<script language="JavaScript">
<!--//
// Note where menu initialization block is located in HTML document.
// Don't try to position menu locating menu initialization block in
// some table cell or other HTML element. Always put it before </body>

// each menu gets three parameters (see demo files)
// 1. items structure
// 2. geometry structure
// 3. dynamic styles structure

new menu (MENU1_ITEMS, MENU1_POS, MENU1_STYLES);
new menu (MENU2_ITEMS, MENU2_POS, MENU2_STYLES);
// make sure files containing definitions for these variables are linked to the document
// if you got some javascript error like "MENU_POS1 is not defined", then you've made syntax
// error in menu_tpl.js file or that file isn't linked properly.

// also take a look at stylesheets loaded in header in order to set static styles
//-->
</script>

12. Enjoy your page with two menus. Let us know should you have any questions
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