(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 Panel Body Bootstrap Row Grid  |  Bootstrap Tabs Styles  |  Bootstrap Select Placeholder  |  Bootstrap Multiselect Option  |  Bootstrap Media queries Example  | 
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 | Free AI Website Builder | AI Website Generator | AI Website Maker | AI Website Generator