Quote:
Originally Posted by sweetpotato
Thank you for the nice work. I would like to know how to create a drop down menu like this:
Main Link
- sub link 1
- sub link 1.1
- sub link 1.1.1
In which the Main link have 03 level of sub link.
Is this possible please?
|
If I understood you right,
PHP Code:
// I have only set $options['script'] to "index" for demonstration purposes.
ExtendedNavigations::update(array(
'name' => 'Test Tab',
'script' => 'index',
'children' => array(
'Link A' => array(
'URL_1' => 'Sub Link 1',
'URL_2' => 'Sub Link 1.1',
'URL_3' => 'Sub Link 1.1.1'
)
)
));
If I didn't understand you right, did you mean a drop-down of 3 items directly under "Test Tab"?