Hello, good news. here is the solution
just replace this...
if (depth == 0) {
if (this.openParentPages) // enable links on parent items (links to parent category pages work)
eval("document.getElementById('"+a.id+"').onclick = function() {this.blur(); self.setActive(this); return self.click('"+nodes[i].id+"');}");
else // disable links on parent items (so clicking them just opens submenus, not the page)
to this..
if (depth >= 0) {
if (this.openParentPages) // enable links on parent items (links to parent category pages work)
eval("document.getElementById('"+a.id+"').onclick = function() {this.blur(); self.setActive(this); return self.click('"+nodes[i].id+"');}");
else // disable links on parent items (so clicking them just opens submenus, not the page)
the only simple solution isto change (depth == 0) to (depth >= 0)
see it live...
http://www.e-matrix.gr
![]()



