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


 

    My site requires me to regularly update the drop down menu by inserting a new item..

Return to Recent Questions


Q: My site requires me to regularly update the drop down menu by inserting a new item at the top of the list.


A: Add items using the following function:

function dm_ext_addItemPos (menuInd, submenuInd, iParams, Pos)

Adds the new item to a submenu.

menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.

iParams = [array] - the array of item parameters.
This parameter has the same structure as an item in menuItems array.
You can assign parameters of another existent item of the menu
(for example, when you want to create a duplicate of the existent item) or create new ones.

Structure of iParams:
[item_text, link, icon_normal, icon_over, tip, target, individual_style_index, jsFilename]
Pos - the position in the menu where you want to add new item.

Find more info:
http://deluxe-menu.com/functions-info.html






Return to Recent Questions

Related:
AI website builder and generator - AI-driven websites, limitless possibilities . Best AI website generator and creator - create a website with AI.  |  List of 15 AI Website Creators and Generators - Reviews, Comparison, Pros & Cons.  |  Create a Website in Minutes? We Tested 24 AI Construction Platforms to Determine the Definitive Winner.  |  List of 20 AI Code Builders and Generators - Code generated faster 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 | Free AI Website Builder | Free AI Website Generator | AI Website Generator | AI web page design generator