(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:
Perfect Responsive JS Website Templates Review 46 Fantastic CSS3 Web Page Templates Overview  |  Beautiful JS Page Theme Review  |  Top 54 Brand New jQuery Themes List  |  AMP Mobile Page Template Review  |  Best 46 Fresh CSS Themes Collection  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. it | best web design software | Bootstrap Templates | bootstrap popup | bootstrap image slider