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: incorporate style sheet into array format
dovidj
Junior Member

Posts: 3
Registered: 8/29/2006
Member Is Offline
posted on 8/29/2006 at 09:55 AM Reply With Quote
incorporate style sheet into array format


Hi,
I'm working with Tigra menu. I create all the menus dynamically. I'm defining the background colors dynamically using the <DIV style="background-color: etc..

I've commented out menu.css file.

The only problem I'm having is getting the mouseover background color to work.

Looking at the documenation it seems I have to create a css entry in the MENU_POS array for outer to define the class name for the mouseover, mouse out etc. and use menu.css to define the style for the mouse over.

If this is the case then how do I define the array element for css

here is what I'm using:

var MENU_POS = new Array();
MENU_POS['height'] = [18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18];
MENU_POS['width'] = [120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120, 120];
MENU_POS['align']='left';
MENU_POS['block_top'] = [135, 0, -160, -160];
MENU_POS['block_left'] = [0, 120, 120, 120];
MENU_POS['top'] = [20, 20, 20, 20];
MENU_POS['left'] = [0, 0, 0, 0];
MENU_POS['hide_delay'] = [500, 500, 500, 500];
MENU_POS['pixel_path'] = 'pixel.gif';

How do I define MENU_POS['css']

from

'css' : {
outer' : ['m0l1oout', 'm0l1oover'],
'inner' : ['m0l1iout', 'm0l1iover']
}

Thanks in advance

regards
David J.
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 1982
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 8/29/2006 at 11:00 AM Reply With Quote

you don't need to change/manipulate the format of the configuration files to generate them dynamically. Just copy the contents of the .js files into <script> section and .css files into <style> section of the main document where you can print them out dynamically with your server side script just the way you generate other client side text.
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