![]() |
|
#1
|
|||
|
|||
|
Hello,
I'm using SlideMenu2 but it doesn't keep submenus opened, if I use in LINK parameter a link to html or php page without variables in link it's ok but when I use in LINK somethint like this : ... makeMenu('sub','NameSubMenu','./index.php?action=one&other=two') ... it doesn't keep the submenus opened. I think this is due to no right compare between lnk and url or page vars into javascript code, maybe at following rows ... ?: ---- //MOD01: routine to mark sub if link matches current page var cls='clSlideSubLinks'; //alert(url); // debug //alert(lnk); // debug //alert(page); if(lnk==url || lnk==page){ arr[arr.length]=a-1; cls='clSlideSubHilite'; menus[0].hi=b; } ---- as you can see I tried to debug the code but I'm not an expert of javascript ... Any help is very very appreciated. Thanks. Luis |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|