DHTML Forum  

Go Back   DHTML Forum > dhtmlcentral.com > General DHTML issues
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 23.06.2006, 09:38
LuisIT LuisIT is offline
Neuer Benutzer
 
Join Date: 23.06.2006
Location: Italy
Posts: 1
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT +2. The time now is 14:07.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.