Hi!
I want to add new div positioned inside or behind ja-subnav div – I want it to show itself with subnavigation.
I’ve seen there is a conditional statement inside index.php:
[PHP]
<?php if ($hasSubnav) : ?>
<div id=”ja-subnav” class=”clearfix”>
<?php if ($jamenu) $jamenu->genMenu (1,1); ?>
</div>
<?php endif; ?>[/PHP]
so I tried to modify it but no success.
If I just add a div inside or behind ja-subnav like this
[PHP]
<?php if ($hasSubnav) : ?>
<div id=”ja-subnav” class=”clearfix”>
<?php if ($jamenu) $jamenu->genMenu (1,1); ?>
</div>
<div id=”mynewdiv”></div>
<?php endif; ?>[/PHP]
it is shown throughout all the pages, but I want it to be seen just when subnavigation is expanded.
Any suggestions?
Thanks for helping.