(c) 2007, DHTML-Menu.com
  Recent Questions
  Write To Support

    I tried to use javascript function within the "Title item" of my dynamic navigation menu.

Return to Recent Questions

Q: I tried to use javascript fuctions for subitem and it worked fine but not working with the main items (Group or header item), is there a way to process onclick for the title item in dynamic navigation menu? 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 you 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

Copyright (c) 2012, DHTML-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Write Us
All rights reserved. bootstrap 4 templates | video background | Free Bootstrap Template | top web builder | CSS Slider