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: Setting Font Color
adubey
Newbie

Posts: 1
Registered: 12/24/2003
Member Is Offline
posted on 12/24/2003 at 09:48 PM Reply With Quote
Setting Font Color


Any help on setting font color will be appreciated. I havent had too much luck with wrappers so if you are thinking of wrappers please suggest code which incorporates the mouseover states.
View User's Profile View All Posts By User U2U Member
MrsDeeD
Junior Member

Posts: 3
Registered: 12/28/2003
Location: USA
Member Is Offline
posted on 12/28/2003 at 09:52 PM Reply With Quote
re: setting font colors


To set font, hover, and roll-over colors simply open your menu_tpl.js file (open with notepad or wordpad). Here is my file which shows colors etc.. The basic font and border colors can be set by opening your menu.css file (same as above using notepad or wordpad). REMEMBER :-) Save the changed ones in a different folder in case you "mess" up while playing around! Since I have 2 menu's - one vertical and 1 horizontal on the same page my menu_tpl.js is actually called menu1_tpl.js and menu2_tpl.js and menu1.css and so forth. Good luck - this is the FUN part!

var MENU1_POS = new Array();

// item sizes for different levels of menu
MENU1_POS['height'] = [30, 30];
MENU1_POS['width'] = [90, 110];

// menu block offset from the origin:
// for root level origin is upper left corner of the page
// for other levels origin is upper left corner of parent item
MENU1_POS['block_top'] = [77, 30];
MENU1_POS['block_left'] = [91, 0];

// offsets between items of the same level
MENU1_POS['top'] = [0, 30];
MENU1_POS['left'] = [91, 0];

// time in milliseconds before menu is hidden after cursor has gone out
// of any items
MENU1_POS['hide_delay'] = [200, 200];

/* --- dynamic menu styles ---
note: you can add as many style properties as you wish but be not all browsers
are able to render them correctly. The only relatively safe properties are
'color' and 'background'.
*/

var MENU1_STYLES = new Array();

// default item state when it is visible but doesn't have mouse over
MENU1_STYLES['onmouseout'] = [
'background', ['#191970', '#191970'],
'color', ['#ffffff', '#ffffff'],
];

// state when item has mouse over it
MENU1_STYLES['onmouseover'] = [
'background', ['#336699', '#336699'],
'color', ['#ffffff', '#ffffff'],
];

// state when mouse button has been pressed on the item
MENU1_STYLES['onmousedown'] = [
'background', ['#191970', '#191970'],
'color', ['#ffffff', '#ffffff'],
];
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