(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    I want to use different background color for main items and submenus for cascading menus

Return to Recent Questions


Q: I use your licensed deluxe menu and I got a customer specific issue:

Is it possible to set no background color for the menus first level and a background color for all submenus?

I couldn't find a parameter to set different variables for main level and sublevels...

Thank you for your feedback

A: You should use Individual Styles for your subitems.

var menuBackColor="";
var itemBackColor=["",""];

var itemStyles = [
["itemBackColor=#81BEC9,#CCE6EA"], //style0
];
["Home","testlink.html", "", "", "", "", "", "", "", ],
["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", "", "", "", "", "", ],
["|Features","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", "", "", "0", "", "", ], //style
["|Installation","", "default.files/icon2.gif", "default.files/icon2o.gif", "", "", "0", "", "", ],//style0
["||Description of Files","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", "", "", "", "", "", ],
["||How To Setup","testlink.html", "default.files/icon6.gif", "default.files/icon6o.gif", "", "", "", "", "", ],
["|Parameters Info","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", "", "", "0", "", "", ],//style0






Return to Recent Questions

Related:
Magical HTML Bootstrap Slider With Text Templates 30+ Top Innovative Software Company Website Template List  |  Beautiful JS Page Theme Review  |  Awesome Mobile-friendly Website Design Review  |  Splendid JS Design Maker Overview  |  How to Make a Webpage - Step by Step Tutorial  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. website editor | static website generator | free website generator | easyhtml5video.com | html slider