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


 

    Is there a javascript API for the expandable menu tree to fire an user click event so the browser will load proper page accordingly?

Return to Recent Questions


Q: Is there a javascript API for the expandable menu tree to fire an user click event so the browser will load proper page accordingly? I looked around the current APIs from your site and could not find one.

Please advise.

A: You can use dtreet_ext_userClick (itemID) function.
See more info:

http://deluxe-tree.com/functions-info.html

Actually you can use your own Javascript code instead standard links and html code inside item text. For example:

var tmenuItems = [
["text", "javascript:your_code_here"]
];

or

var tmenuitems = [
["<div onClick='urlSubstitution(\'transco/sheet.asp?stype=1\')'>Table of Contents</div>", ""]
];





Return to Recent Questions

Related:
HTML Page Creator Plugins / Overview Good Responsive Site Maker Program - 2021 Tutorial  |  Top HTML Site Builder - 2021 Review  |  Smart Cheap and Easy Web Page Builder Tools | Honest Review  |  Fine Open Source Website Maker Software | 2021 Guide  |  First-rate Responsive Website Builder Software - Beginner-Friendly Guide  | 
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 website design generator