(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:
How To Embed Instagram Feed No Coding Website Builder - Easiest Website Builder  |  Most Suitable 11 Best Wix Alternatives Website Creators  |  Nice and Simple HTML Website Maker with HTML Code Export  |  Greatest 11 Free Wordpress Alternatives Tools  |  Best Free QR Code Generators 2023  | 
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 Builder | Free AI Website Generator | AI Website Generator