Search found 15 matches

by dhaack
Sun Aug 15, 2004 11:07 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: POPUP/POPDOWN
Replies: 11
Views: 11024

run function on open routines

Works perfectly; now I can use popi which handles scroll and href under menus properly.

Thanks for all your help

Dave
by dhaack
Fri Aug 13, 2004 9:45 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: POPUP/POPDOWN
Replies: 11
Views: 11024

openmenusbyurl.js

Tried, but no luck. No menus display except main menu. I called routine after drawmenus() call; even tried before just in case. I assume problem is same as my problem. You are calling popi routine and it is being run before menus are drawn. I put an alert 1st line in _ocURL() function to see if call...
by dhaack
Thu Aug 12, 2004 6:59 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: POPUP/POPDOWN
Replies: 11
Views: 11024

test with popi

I did some testing, and _popi does work if call after page is loaded; but when try to run calling onload does not.

Seems that even though onload is called, the routine wants to load before the main menu.

Any way to get routine to run after main menus are opened

Thanks for help Dave
by dhaack
Thu Aug 12, 2004 4:32 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: POPUP/POPDOWN
Replies: 11
Views: 11024

_popi

no error message this time; but no submenus poping up.

Calling routine onload. Tried 0,1,2,5 for values.

Do I need to set the spos? keepalive? etc; I assumed system would figure out from parent.

Dave
by dhaack
Thu Aug 12, 2004 11:03 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: POPUP/POPDOWN
Replies: 11
Views: 11024

popi problem

I do always have main menu displayed. I can get itemnumber by using following function; but try to call popi(item#) and get errmsg saying object expected. Do alert and do get an item number after calling following function function mm_getItemByName(itemName) { for (i=0; i<_mi.length; i++) if (_mi [1...
by dhaack
Thu Aug 12, 2004 1:07 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: POPUP/POPDOWN
Replies: 11
Views: 11024

URL

Cannot give out url, system in an accounting database system. Key is pop menu is a submenu without left/top set, but location based on parent. System uses allBuildMenu and spos to set the pos of menu on return to set location. System automatically opens submenu on load. Here is function that gets po...
by dhaack
Tue Aug 10, 2004 5:22 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: POPUP/POPDOWN
Replies: 11
Views: 11024

POPUP/POPDOWN

Have two minor problems 1) Cannot get overflow="scroll" working with popup or displayMenu Works fine with showmenu 2) If I have a large submenu that uses popup, then when mouseover closes properly. But actually justs hides, and does not reset mouse control under popup. (Example href link u...
by dhaack
Mon Aug 09, 2004 5:45 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: force my javascript to run after drawmenus
Replies: 6
Views: 3822

buildAllMenus

Fixed problem, so if anybody else is having trouble

Works like a charm

Thanks for support

Dave
by dhaack
Sat Aug 07, 2004 8:40 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: force my javascript to run after drawmenus
Replies: 6
Views: 3822

no luck

I have tried that already and no luck. Problem is internal functions of Milonic have onload when I look at the programs.

Need way to force drawmenus() to completely load onload, then run my script.

Thanks for trying

Dave
by dhaack
Sat Aug 07, 2004 6:19 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: force my javascript to run after drawmenus
Replies: 6
Views: 3822

Here is code I want to run

function getcookiemenu(mainmenu) { var cookie = getcookie(mainmenu); comma1 = cookie.indexOf(",",0); comma2 = cookie.indexOf(",",comma1+1); comma3 = cookie.indexOf(",",comma2+1); comma4 = cookie.indexOf(",",comma3+1); menuinfo = cookie.substr(0,comma1); toppos...
by dhaack
Sat Aug 07, 2004 1:11 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: force my javascript to run after drawmenus
Replies: 6
Views: 3822

force my javascript to run after drawmenus

I want my code to run after menus are displayed; but no matter where I put code, seems to run before drawmenus.

Tried body onload; seperate <script></script> at end of body.

Please any help would be useful

Thanks Dave
by dhaack
Fri Aug 06, 2004 6:08 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: popup appears but blank
Replies: 1
Views: 1785

Additional info

Problem seems when call onload; even though calling after drawmenus()

If setup a <a href='javascript:getcookiemenu('MENUSERV');'>...

works perfectly everytime. Has to be with something with loading of page

Any recommendations would be appreciated

Dave
by dhaack
Fri Aug 06, 2004 2:58 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: popup appears but blank
Replies: 1
Views: 1785

popup appears but blank

I have system storing the locations using offfunction to cookie so can remember last menu with dynamic menus. Everything works when I return, except the popup menu is blank instead of the list of items. The location and size of menu is correct. All menus are working properly otherwise. any help woul...
by dhaack
Thu Aug 05, 2004 11:40 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Positioning menus exactly like will appear but force popup()
Replies: 2
Views: 1956

Partial results

I figured I could use cookies to set as menu opens to store menu and location. Problem is I use showmenu=SERVICE; url=javascript:setcookie() Menu displays but javascript never runs. I know setcookie works, because if put just the url on line then works properly. I need system to display menu, then c...
by dhaack
Thu Aug 05, 2004 8:13 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Positioning menus exactly like will appear but force popup()
Replies: 2
Views: 1956

Positioning menus exactly like will appear but force popup()

I want to load the last menu user used. I can track menu with no problems by adding parameter to url. Problem is how to get x,y coordinates to pass so can load menu at same location. Cannot use left,top for all submenus. Can I retrieve the x,y coordinates inside aI=(url=www?xxx=':gpos(... System sho...