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


 

    We want to set a specific width for each item on top level of the jump menu code

Return to Recent Questions


Q: Actually, we figured out how to adjust the alignment of the text. What we would like to do is set a specific width for each item on the top level of the menu. Right now the width of the menu is based on the length of the item in that hotspot. We would like the width of each of those options to be the same.


A: You should use individual item styles. For example:

var itemStyles = [
["itemWidth=123px"], //style 0
["itemWidth=150px"], //style 1
];

var menuItems = [

["Home","testlink.html", , , , , "0", , , ], //style 0
["Product Info","", "deluxe-menu.files/icon1.gif", "deluxe-menu.files/icon1o.gif", , , "0", , , ], //style 0
["Text","", "deluxe-menu.files/icon1.gif", "deluxe-menu.files/icon1o.gif", , , "1", , , ], //style 1

Try that.





Return to Recent Questions

Website Builder for Beginners, Bloggers, Writers, IT Companies Website Builder for Online Stores, Restaurants, Musicians, Real Estate  |  Best Website Builder for Education, Software Companies, Designers, Videos  |  Best Website Builder for Digital Marketing Agencies, Travel Agencies, Interior Designs  |  Website Builder for Churches, Authors, Consultants, Magazines  |  Best AI Website Builder - Create Website Design with AI  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. Free AI Website Builder | AI Website Builder | AI Website Generator | Website Generator AI | AI web page design generator