![]() |
|
#1
|
|||
|
|||
|
Hi,
Please imagine .. my menu item will be looks like below: My Level-0 menu is placed in a single row(like how it is placed above[see the top news-projects-scripts-tutorials-forums-resources-dhtmlcentral]) My Level-1 and Level-2 menus were placed in a single column(will get displayed if you select the one of the menu item on the Level-0 menu. like as top) I have a problem when I am trying to view my mouse over dropdown menu at level-2. When I am selecting one of my menu item in level-1 which intern consists of 5 more menu items (at level-2). And instead of menu getting placed adjacent to the level-1 menu it is coming at the top of the left corner of the screen. I have checked with the below change: oTMenu.pagecheck=0 (it is not doing the page check. hence it is solving my problem. but not able to see the menus if it goes behind the screen size) Please help me to get out of this problem!!!! Thanks & Regards, Prakash. I am not a has been I am will be. |
|
#2
|
|||
|
|||
|
I did debugging on the coolemenu3.js script and found that the above problem is occuring because of control is going into the infinite loop block[if(cn==5) {this.m[name].subx=0;this.m[name].suby=0;}] presented under the 'cm_getCoords()' method. Inside the infinite loop block we are simply setting the (x,y) coordinates to (0,0). Hence my menu is coming top of the left corner.
I am not able to find out why it is going into the infinite loop. If anybody can help me in this regard .. would be greatly appreciated !!! Regards, Prakash. I am not a has been I am will be. |
|
#3
|
|||
|
|||
|
All,
Some how I can managed to fix the issue. My fix as below. "if(l!=1 && (align==l&&align!=0) && ln==3 && cn>3){ if(topalign==1) x=lx; else x=rx; }" added the above code segment inside the cm_getCoords() methods and under the 'if((align==2||topalign==2)&&lev1b!=3){' block. regards, Prakash. I am not a has been I am will be. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|