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


 

    How can I make the items on the top menu with java different colors?

Return to Recent Questions


Q: This is great on last quesion how can I make the items on the top menu with java different colors? I looked at this example and cannot figure it out

http://deluxe-menu.com/data-templates/multiple-styles-1-template-sample.html

A: You should create Individual Item Styles and assign them to your top items:

var itemStyles = [
["itemBackColor=#CE9DE1,#B978D1",],
["itemBackColor=#84DA7A,#48D641",],
["itemBackColor=#5EA6E1,#507ECB",],
["itemBackColor=#54CDCA,#32ABA8"],
];

["Home","", , , , , , , , ],
["Product Info","", , , , , "0", , , ],
["Menu Samples","", , , , , "1", , , ],
["Purchase","", , , , "_blank", "2", , , ],
["Contacts","", , , , , "3", , , ],






Return to Recent Questions

Related:
Responsive Site Theme Fresh CSS Bootstrap Carousel Video Players and Nav Menu Demos  |  Mobile-friendly Page Maker  |  36 Top Eye-catching and Free AMP Elements Templates for 2021  |  15 Recommended Website Makers Arranged by Level Of Popularity  |  Responsive Website Maker  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Best AI Website Builder | Free AI Website Builder | AI Website Generator | AI Website Builder | AI web design generator