(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 tried to use javascript function with the "Title item" of my javascript tree view.

Return to Recent Questions


Q: I tried the following for subitem and it worked but not working with the "Title item" (Group or header item), is there a way to process onclick for the title item? Thanks again.

You're able to use Javascript for each item, for example:
var tmenuitems = [
["item text", "javascript:your_code_here"]
];

A: Unfortunately, title items doesn't allow to use Javascript in the same way.
But you can do the following:

var tmenuitems = [
["<div onclick='your_code_here'>title text</div>"]
];






Return to Recent Questions

Reputable Drag and Drop Web Builder | Overview Fantastic Bootstrap Page Themes For Your Company  |  Great MP4 to HTML5 Generator Tutorial  |  Beautiful Slider jQuery Application  |  Exceptional MP4 to HTML5 Converter Review  |  First-rate Easy Website Builder | How-to 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 Generator | AI Website Maker | Free AI Website Generator | Website Generator AI