(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 try to fix the height of the single submenu in my dropdown menu in javascript

Return to Recent Questions


Q: I try to fix the height of the submenu "Zone Climatiques" to 400px but I didn't find the way to do this. It worked by setting var smHeight=400px but that setting set all submenus. I would like set only the height of "Zone climatiques" submenu.
� Thanks for your help.


A: You should create Individual Style

var menuStyles = [
["menuBackColor=transparent","menuBorderWidth=0","itemSpacing=1","itemPadding=0px 5px 0px 5px"],
["smHeight=400px"],
];

and assign it to the first item in submenu
["3101 - Ste-Anne-Des-Monts","ProcessClimaticZone/edit.do?id=3101,2003-11-13", , , , , ,"1","stationSubMenu.htm?climaticZoneId=3101,2003-11-13",],





Return to Recent Questions

Related:
List of 20 AI Code Builders and Generators - Code generated faster with AI. List of 15 AI Website Creators and Generators - Reviews, Comparison, Pros & Cons.  |  AI website builder and generator - AI-driven websites, limitless possibilities .  |  Best Website Builder for Digital Marketing Agencies, Travel Agencies, Interior Designs  |  Best AI website generator and creator - create a website with AI.  |  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 Maker | AI Website Generator | AI website design generator