Board Logo

self width issue
jenpen2 - 9/14/2010 at 07:33 AM

I am trying to use the 'self-width' function to make some second-level items the same width as the parent item in a horizontal menu.
The site is here:

If you hover over "Your Corporate Event" you will see the issue.

This is the code in items.js that's not appearing to work:
[" Your Corporate Event", "corporate/index.html", {'sw':200},
[" Conferences", "corporate/conferences.html", {'sw':200}],
[" Packages", "corporate/packages.html", {'sw':200}],
[" Facilities", "corporate/facilities.html", {'sw':200}],
[" Menus", "corporate/menus.html", {'sw':200}]

What else can I try? Thanks...

tigra - 9/21/2010 at 11:27 PM

apply 'bw' to parent element
'sw' only works for items in horizontal menus

[" Your Corporate Event", "corporate/index.html", {'sw':200, 'bw':200},
[" Conferences", "corporate/conferences.html"],
[" Packages", "corporate/packages.html"],
[" Facilities", "corporate/facilities.html"],
[" Menus", "corporate/menus.html"]

jenpen2 - 9/22/2010 at 12:29 AM

Hey, thanks. What does bw stand for?

Back to forum: