HighDots Forums  

Positioning FW popup menus

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Positioning FW popup menus in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
contento
 
Posts: n/a

Default Positioning FW popup menus - 08-03-2004 , 10:21 AM






I posted this in the FW forum as well, but thought it may find a solution here
as it's in Dreamweaver that I need help:

I have an issue where a popup menu is fairly long and the last item in that
menu has a submenu that also is quite a bit long. the problem is that on
800x600 res screens, the sub-menu is all but cutoff on screen as it drops below
the bottom edge of the broswer. This isn't a problem when the user has a scroll
mouse, but for those people withough scroll wheels, the only way to get to
those lower buttons is to scroll the window with the scroll bar, the come back
to the menus and try again.

I used a javascript scroll onmouseover to bump the page a bit when they
mouseover the main button. That helps a bit. I need a way to either:

A. add the same scroll function to the onmouseover for the submenu button
B. reposition just that last submenu so that instead of down and to the right,
it shows up with its bottom edge aligned with the bottom of it's parent button
and builds up.

For A, I need to know where to find the root code that controls that button.
Is it in the JS file somewhere? How/where can add a onmouseover for that menu
item

For B:

I see in the code where the position of the menu is defined, but for some
reason, I can't change only that submenu's position. I change the numbers but
it doesn't change the position of the menu. Do all of the submenus have to be
positioned in the same coordinates relative to the parent button?

The obvious and easiest answer of course is to put the button at the top of
the menu, but for design sake, I hate to have to do that.

Thanks for any help!
Bryce


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Positioning FW popup menus - 08-03-2004 , 10:33 AM






Quote:
The obvious and easiest answer of course is to put the button at the top
of
the menu, but for design sake, I hate to have to do that.
Actually, the obvious and easiest answer is not to use these menus, but to
choose a method that gives you the flexibility you want.

Please read this carefully -

http://apptools.com/rants/jsmenu.php

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"contento" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I posted this in the FW forum as well, but thought it may find a solution
here
as it's in Dreamweaver that I need help:

I have an issue where a popup menu is fairly long and the last item in
that
menu has a submenu that also is quite a bit long. the problem is that on
800x600 res screens, the sub-menu is all but cutoff on screen as it drops
below
the bottom edge of the broswer. This isn't a problem when the user has a
scroll
mouse, but for those people withough scroll wheels, the only way to get to
those lower buttons is to scroll the window with the scroll bar, the come
back
to the menus and try again.

I used a javascript scroll onmouseover to bump the page a bit when they
mouseover the main button. That helps a bit. I need a way to either:

A. add the same scroll function to the onmouseover for the submenu button
B. reposition just that last submenu so that instead of down and to the
right,
it shows up with its bottom edge aligned with the bottom of it's parent
button
and builds up.

For A, I need to know where to find the root code that controls that
button.
Is it in the JS file somewhere? How/where can add a onmouseover for that
menu
item

For B:

I see in the code where the position of the menu is defined, but for some
reason, I can't change only that submenu's position. I change the numbers
but
it doesn't change the position of the menu. Do all of the submenus have to
be
positioned in the same coordinates relative to the parent button?

The obvious and easiest answer of course is to put the button at the top
of
the menu, but for design sake, I hate to have to do that.

Thanks for any help!
Bryce




Reply With Quote
Reply




Thread Tools
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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.