(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:
Perfect Responsive JS Website Templates Review Top 41 Wonderful CSS3 Templates Collection  |  Best 46 Fresh CSS Themes Collection  |  Top 54 Brand New jQuery Themes List  |  AMP Mobile Page Template Review  |  46 Fantastic CSS3 Web Page Templates Overview  | 
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 Generator | Free AI Website Generator | Website Generator AI | AI web design generator