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: arrows for subitems
bert
Junior Member

Posts: 8
Registered: 2/17/2005
Member Is Offline
posted on 2/17/2005 at 11:50 AM Reply With Quote
arrows for subitems


Hi

I'm using Tigra menu free and I want to configure it so that only the menu items with sub menus have something like an arrow to show the item has sub items. Is this possible with the free version?

Attached with this an example where only the menu item 'departments' has subitems

many thanks!

bert has attached this image:
menu.gif - 904b
View User's Profile View All Posts By User U2U Member
olga
Administrator

Posts: 84
Registered: 11/22/2004
Member Is Offline
posted on 2/18/2005 at 10:55 PM Reply With Quote
Arrows for subitems


This is possible. You just should use wrappers only for items with subitems. Related link about using wrappers:
http://www.softcomplex.com/products/tigra_menu/docs/#innerhtml_wrapers

For example,
Code:

var MENU_ITEMS = [
[wrap_parent('level 0 item 0'), 'http://www.softcomplex.com/'],
['level 0 item 1', 'ftp://ftp.softcomplex.com/'],
['level 0 item 2', 'mailto:[email protected]'],
['level 0 item 3', "javascript:alert('Hello World!');"],
];

function wrap_parent (text) {
return '<table cellpadding="0" cellspacing="0" border="0" bgcolor="#DBEAF5" width="100%"><tr><td><table cellpadding="3" cellspacing="1" border="0" width="100%" height="24"><tr><td bgcolor="#4682B4" style="padding: 3px;" valign="middle">' + text + '</td><td valign="middle"><img src="img/arrow.gif" width="12" height="12"></td></tr></table></td></tr></table>';
}
View User's Profile View All Posts By User U2U Member
steven
Junior Member

Posts: 2
Registered: 3/17/2005
Member Is Offline
posted on 3/24/2005 at 11:55 AM Reply With Quote

Is this code below should be insert into menu.js?

function wrap_parent (text) {
return '<table cellpadding="0" cellspacing="0" border="0" bgcolor="#DBEAF5" width="100%"><tr><td><table
cellpadding="3" cellspacing="1" border="0" width="100%" height="24"><tr><td bgcolor="#4682B4" style="padding: 3px;"
valign="middle">' + text + '</td><td valign="middle"><img src="img/arrow.gif" width="12"
height="12"></td></tr></table></td></tr></table>';
}


The code does not work, after adding the code, nothing can be displayed and IE does not report error!

Is there any advise, many thanks!
View User's Profile View All Posts By User U2U Member
olga
Administrator

Posts: 84
Registered: 11/22/2004
Member Is Offline
posted on 3/24/2005 at 08:20 PM Reply With Quote

This code should be inserted in menu_items.js. And you should use this wrapper only in the menu items with subitems. Make sure that you have the image and the path is correct. This code works on our demonstration page.
If you still will have some problems, please describe it in details, so we can help you more effective.
View User's Profile View All Posts By User U2U Member
bert
Junior Member

Posts: 8
Registered: 2/17/2005
Member Is Offline
posted on 3/30/2005 at 10:16 AM Reply With Quote

Thanx, works fine for me!
View User's Profile View All Posts By User U2U Member
jobidan
Newbie

Posts: 1
Registered: 8/5/2005
Member Is Offline
posted on 8/5/2005 at 06:00 AM Reply With Quote
inner table not changing colour


When my mouse goes over the menu the background of the menu changes but not the background of the arrow and text.

Showing a square inside the square?

how do you make the inner html change backgrounds with the menus?
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/2005 at 11:52 PM Reply With Quote

Free version only supports CSS rollovers. With PRO or GOLD version you can specify different HTML code for different items' states. In your case consider using gif images with transparent background.
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