# Menu Tree target not responding

**URL:** <https://forum.inductiveautomation.com/t/menu-tree-target-not-responding/29592>\
**Category:** Ignition\
**Created:** [November 1, 2019, 2:45pm UTC](https://forum.inductiveautomation.com/t/menu-tree-target-not-responding/29592 "2019-11-01T14:45:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Craighunter1986](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@Craighunter1986](https://forum.inductiveautomation.com/u/Craighunter1986)\
**Post date:** [November 1, 2019, 2:45pm UTC](https://forum.inductiveautomation.com/t/menu-tree-target-not-responding/29592/1 "2019-11-01T14:45:33Z")

</div>

I am trying to target a page using the top level of the menu tree but it doesn’t seem to work. I can get it to work on the second level.

any ideas?

 ![menutree](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/14421f4ad9d388489460c8d4cbf717d711013fe5.png)

---

<div class="post-metadata">

**Author:** ![jball](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jball/32/11128_2.png) [@jball](https://forum.inductiveautomation.com/u/jball)\
**Post date:** [November 1, 2019, 4:07pm UTC](https://forum.inductiveautomation.com/t/menu-tree-target-not-responding/29592/2 "2019-11-01T16:07:48Z")

</div>

Hi @Craighunter1986, remove all child `items` underneath that menu item and it’ll behave as a link.

---

<div class="post-metadata">

**Author:** ![Craighunter1986](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@Craighunter1986](https://forum.inductiveautomation.com/u/Craighunter1986)\
**Post date:** [November 1, 2019, 4:31pm UTC](https://forum.inductiveautomation.com/t/menu-tree-target-not-responding/29592/3 "2019-11-01T16:31:17Z")

</div>

ahh. I was using the tree as a left docked side view and was hoping to change the main view as the Parent was selected and again when the child was selected.

is this not possible?

Thanks

---

<div class="post-metadata">

**Author:** ![jball](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jball/32/11128_2.png) [@jball](https://forum.inductiveautomation.com/u/jball)\
**Post date:** [November 6, 2019, 9:13pm UTC](https://forum.inductiveautomation.com/t/menu-tree-target-not-responding/29592/4 "2019-11-06T21:13:07Z")

</div>

Yes, that’s possible. You’d just need to run a script on the `onItemClicked` event that switches the main view based on the `event.path` data (or some other event data like `event.label`).

---

<div class="post-metadata">

**Author:** ![Craighunter1986](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@Craighunter1986](https://forum.inductiveautomation.com/u/Craighunter1986)\
**Post date:** [November 6, 2019, 9:14pm UTC](https://forum.inductiveautomation.com/t/menu-tree-target-not-responding/29592/5 "2019-11-06T21:14:54Z")

</div>

great thanks, I will look into that

---

<div class="post-metadata">

**Author:** ![jball](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jball/32/11128_2.png) [@jball](https://forum.inductiveautomation.com/u/jball)\
**Post date:** [November 6, 2019, 9:16pm UTC](https://forum.inductiveautomation.com/t/menu-tree-target-not-responding/29592/6 "2019-11-06T21:16:25Z")

</div>

NP! For page navigation: [https://docs.inductiveautomation.com/display/DOC80/system.perspective.navigate](https://docs.inductiveautomation.com/display/DOC80/system.perspective.navigate)

---

<div class="post-metadata">

**Author:** ![jacob.mann](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jacob.mann/32/35821_2.png) [@jacob.mann](https://forum.inductiveautomation.com/u/jacob.mann)\
**Post date:** [May 27, 2022, 4:44am UTC](https://forum.inductiveautomation.com/t/menu-tree-target-not-responding/29592/7 "2022-05-27T04:44:15Z")

</div>

HI @Craighunter1986 , Im trying to do the same thing aswell, did you ever find a solution to this?

I need to have a landing page for each submenu as I drill into lower menu areas. I dont know were I would attach a system.perspective.navigate script, as having it an onClick event would trigger at every click unless there was a way to use a series of conditional statements based on the item path?
