Does anyone have any ideas how I can do this? I'm assuming that I will
have to hack into the javascript code pretty deep. I was trying to
trace back the code to when the child menus are created (starting with
the addmenuitem), but it has been difficult.
Any suggestions or comments would be greatly appreciated.
Thanks,
Brian
What do you mean by change? Are you working in the dialog box to re-do the
text or links, or something else?
--
Kim Cavanaugh
Author of "Dreamweaver 4/Fireworks 4 Studio: A Beginner's Guide"
http://www.dw-fw-beginners.com
----------------
Team Macromedia Volunteer for Fireworks
www.macromedia.com/support/forums/team_macromedia
Thanks,
Brian
Does anyone have any ideas?
Thanks,
Brian
>Kim Cavanaugh wrote:
> Brian,
>
> What do you mean by change? Are you working in the dialog box to re-do
the
> text or links, or something else?
Any help would be greatly appreciated.
Eric Rudd
Referring URLs
"\"ekrudd\" webforumsuser"@macromedia.com wrote:
Hi Eric:
The thread that you posted too has expired on my browser. Maybe you found it in Google.
I posted this a couple of weeks ago. I think it will be very informative if you are using Fireworks MX:
Use a pop-up Menu in Fireworks MX. Look at the code that is generated in the
function mmLoadMenus:
window.mm_menu_0604164722_0_1_1_1_1 = new
Menu("Whole Note",57,18,"Arial, Helvetica,
sans-serif",12,"#ffffff","#000099","#000099","#ffcc66","left","middle",3,0,1000,-79,18,true,true,false,0,true,true);
This is the fifth level submenu as indicated by the five numbers: _0_1_1_1_1
What you are interested in is the control that enables the menu to be
horizontal or vertical. All of the arguments in that parenthesis are called in
a line in the mm_menu.js:
function Menu(label, mw, mh, fnt, fs, fclr, fhclr, bg, bgh, halgn, valgn, pad,
space, to, sx, sy, srel, opq, vert, idt, aw, ah)
Now all we need to do is to decipher what all those little letters mean, so
here's the run down:
label: menu item name = "Whole Note"
mw: menu width = 57
mh: menu height = 18
fnt: menu item font = "Arial, Helvetica, sans-serif"
fs: menu item font size = 12
fclr: font color (up) = "#ffffff"
fhclr: font hover color = "000099"
bg: background color = "000099"
bgh: background hover color = "ffcc66"
halgn: menu item horizontal align = "left"
valgn: menu item vertical align = "middle"
pad: menu item cell pad = 3
space: menu item cell space = 0
to: menu timeout = 1000 (1 second)
sx: menu relative position x = -79
sy: menu relative position y = 18
srel: submenu relative position = true (place in same position was not
checked)
opq: cell border visibility = true
vert: menu vertical = false (this sets the menu to be vertical)
idt: menu item indent = 0
aw: automatic width = true (controls whether the menu item width is set in
pixels or automatically)
ah: automatic height = true (controls whether the menu item height is set
in pixels or automatically)
Now you all know how to manipulate your menus from Fireworks MX!
Just remember that when you roundtrip the menus back through Fireworks, the
settings you change here will be overwritten by the settings you made in the
Fireworks file!
We're working this into a TechNote as we speak.
--
enthusiastically,
mark haynes
fireworks product team liaison
macromedia customer care
Please post all replies to this forum
Responses to the forum are more effective for everyone.
For Fireworks support, go to:
<http://www.macromedia.com/support/email/complimentary/>