Arrows throwing off alignment

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
tomjelen
Beginner
Beginner
Posts: 2
Joined: Thu Apr 15, 2004 4:25 pm
Location: Washington, DC USA

Arrows throwing off alignment

Post by tomjelen »

As always, great job on the menu upgrades...

I recently upgraded the menu and I think I somehow messed up the left alignment of the sub-menu item text. When there is an arrow (and sub-menu) it pushes the text to the left further than sub-menu items without the arrow.

Here is an example:
http://www.gmfus.org

Check the "Fellowships" menu and you'll see what I mean.

Any help would be appreciated.

Thanks,
Tom
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi Tom,

The only solution I could figure out was to create a transparent blank.gif the same size
as the arrow and insert that into the aI strings that have no submenus. For example:

Code: Select all

aI("text=Transatlantic Initiatives Fund;image=blank.gif;imageposition=right;
url=../fellowships/tif.cfm;offclass=dropDownOff1;onclass=dropDownOn;");
The arrow.gif is 7x7 px. I just took that, made it all white and set it to totally transparent.

I don't know if it's perhaps the use of the on and offclass or something else, but inserting that image works.

Ruth
Last edited by Ruth on Tue Jun 28, 2005 11:25 pm, edited 2 times in total.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

It appears there has been some modification of the menu code files, specifically in the licensing area at the top of mmenudom and milonic_src. Under the same license number you have two different URLs (http://www.gmfus.org and http://www.craftscenter.org). Since a free license is good for only one domain, and making changes in this area can break the code, we have a problem.

With further checking I do not find you are licensed for the http://www.gmfus.org/ domain.
John
Post Reply