(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 was looking for a feature to reverse the order of items added dynamically to the drop down html menu

Return to Recent Questions


Q: I was looking for a feature to reverse the order of items added dynamically to the drop down html menu
I'm not sure where to find it or how to go about getting this new feature incorporated into my code.
Could you please help me and tell me where to go next?


A: To add your items dynamically in the specific position you should use the following function:

dm_ext_addItemPos(mInd, smInd, iParamsArr, Pos)
where Pos - the position in the menu where you want to add new item (starts with 0).

Check that you have dmenu_dyn.js file in the same folder with dmenu.js
file and set
var dynamic=1;
parameter.





Return to Recent Questions

Related:
Bootstrap Multiselect Option Bootstrap Row Grid  |  Bootstrap Media queries Example  |  Bootstrap Select Placeholder  |  Bootstrap Login forms Layout  |  Bootstrap Modal Popup Form  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. static website generator | Mobirise Themes | easy website builder software | best website design software | free website generator