JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Menu display off bottom of display

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu
Author Message
lbates



Joined: 07 May 2004
Posts: 5

PostPosted: Fri Jul 09, 2004 7:57 pm    Post subject: Menu display off bottom of display Reply with quote

I have defined a relative menu that pops up at mouse position with onclick. If you click near the top of the browser window it shows perfectly. If you click near the bottom of the browser window the menu appears but most of it is not seen as it is off the bottom of the window. I was hoping there was a patch that repositions the menu upwards from the mouse click position if the bottom of the menu would appear outside the bottom of the browser window (like other programs do).

I think what needs to be done is:

1) Get mouse y_position
2) Check to see if y+menu_height > browser_window_max_y
3) If it is, y_position-=menu_height
4) else, y_postion-=y_offset

Thanks in advance.
Larry Bates

BTW-I Purchased Menu, Outlook, and Tree package
Back to top
jpbatliner



Joined: 05 Dec 2007
Posts: 1

PostPosted: Wed Dec 05, 2007 7:21 pm    Post subject: Was there ever a resolution or work around to this problem? Reply with quote

Was there ever a resolution or work around to this problem? We are having the same issue and are lookign for a workaround.
Back to top
lbates



Joined: 07 May 2004
Posts: 5

PostPosted: Wed Dec 05, 2007 8:02 pm    Post subject: Reply with quote

Nope, I never got a resolution to this.
Back to top
AlexKunin
Developer


Joined: 03 Jan 2003
Posts: 1191

PostPosted: Wed Mar 05, 2008 10:05 am    Post subject: Reply with quote

Current menu has no built-in resolution for the issue. However, some additional scripting could solve the problem.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu All times are GMT
Page 1 of 1