(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:
Fresh CSS Bootstrap Carousel Video Players and Nav Menu Demos Bootstrap Toggle Tabs  |  30 Killer Free Bootstrap Image Carousel and Gallery Scripts  |  Bootstrap Tabs Styles  |  Bootstrap Panel Body  |  15 Recommended Website Makers Arranged by Level Of Popularity  | 
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 | Free AI Website Generator | AI web design generator