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: use .css instead of menu_tpl.js
scib11
Junior Member

Posts: 2
Registered: 10/21/2005
Member Is Offline
posted on 10/21/2005 at 03:06 PM Reply With Quote
use .css instead of menu_tpl.js


Is there a way to use menu.css to do all the styes instead of having a javascript file? I'd like to be able to swap stylesheets on the fly and do not want to worry about a .js file.

Thanks
View User's Profile View All Posts By User U2U Member
scib11
Junior Member

Posts: 2
Registered: 10/21/2005
Member Is Offline
posted on 10/21/2005 at 03:25 PM Reply With Quote

i downloaded the latest code and it appears this is taken care of now...I must have old code from before because in my old examples MENU_STYLES was defined in menu_tpl.js

var MENU_STYLES = new Array();

// default item state when it is visible but doesn't have mouse over
MENU_STYLES['onmouseout'] = [
'background', ['#336699', '#6699cc', '#6699cc'],
'color', ['#FFFFFF', '#000000', '#000000'],
];

// state when item has mouse over it
MENU_STYLES['onmouseover'] = [
'background', ['#336699', '#6699cc', '#6699cc'],
'color', ['#66CCFF','#ffffff', '#ffffff'],
];

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

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004