views:

172

answers:

1

is there any way how to push into zend_navigation page type mvc or uri and give it onclick attribute?

array (
    'type' => 'uri', 
    'label' => 'Map', 
    'title' => 'Map', 
    'uri' => '#', 
    'click' => 'alert("show map");' )

i have sub sub menus included links which fires only modal. till yet i use my own "navigation" solution but i want to use zend´s one.

thank

A: 

i should mention that i know simple workaround - have some onload javascript function which attach events to some menu according their id´s but i just want to keep it simple and maintain whole menu definition at one place.

Horák Jan