Problem with horizontal seperator lines and Firefox browser

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
codlord
Advanced
Advanced
Posts: 20
Joined: Thu Sep 05, 2002 10:20 am
Location: UK

Problem with horizontal seperator lines and Firefox browser

Post by codlord »

I have a working menu for my Companies web site:
http://www.bluestar-software.co.uk/

But within the latest release (0.8) of the Firefox browser
http://www.mozilla.org/products/firefox/
there seems to be an issue with horizontal lines in the menus.

The first time you open the "Products" menu the horizontal seperator lines are there as expected, but move off the menu and then back on it and all the horizontal seperator lines are now gone. If you refresh the page then the lines are back again (for the first time you open the menu).

However, other menus (like the "About Bluestar" option) the seperator lines seem to be fine.

Tried it on IE and the horizontal lines seem fine all the time.

Not sure it's becuase I have done something wrong in the config or a menu problem or a browser issue.

The Menu config file is:
http://www.bluestar-software.co.uk/js/menu_data_v5.js
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Couple problems.

First, you're way down-level. You're running RC28 (mid-beta), current is 5.18 release - a difference of >60 versions! Upgrade, as what you've got is not supported.

Second, Firefox is still beta, and we're a bit concerned about putting effort into betas that may easily change by the time they are released. In fact, from their site...
While this software may work well enough to be relied upon as your primary browser, we make no guarantees of its performance or stability in its pre-1.0 state and it should not be relied upon for mission- critical tasks.
Check the read-me files that come with the new download for info on new syntax in the _data file.

Come on back if you get stuck.
John
codlord
Advanced
Advanced
Posts: 20
Joined: Thu Sep 05, 2002 10:20 am
Location: UK

Post by codlord »

Oops, o.k. now upgraded to 5.18 - still seem to have the same problem.

I know what you are saying about the Firefox/Beta issue it was just that becuase only one of my menu items seemed to have the seperator problem it could point to an issue with the Milonic Menu or my config.

I'll have another play with the menu_data file and see if I can narrow it down, but if anyone has any ideas please let me know.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

A number of things you have to clean up starting with the style1 definition

Code: Select all

bordercolor="#ffffff";
borderstyle="solid";
bordercolor="black"; down to subimage=""; and overfilter=effect;
}
Is the border color #ffffff or is it black? You actually don't seem to have a border around the menu or submenus, so you can just eliminate that from the style definition. Or are you trying to use the fffff for the separatorcolor? Then I think you code it separatorcolor="#ffffff"; If you don't have a subimage, just eliminate that line, or comment it out. I see you have arrow listed as subimage in a couple of items. If you're using it for all the menus, then you can put it in the style definition.

Code: Select all

overfilter="Fade(duration=0.2);Alpha(style=0,opacity=100);Shadow(color='#777777', Direction=135, Strength=5)";
though you may be able to do it the way you have it, but this is how it shows in the sample menus. In your menu aI strings you have left off the closing ; in a lot of places.

Code: Select all

separatorsize=1") 
should be

Code: Select all

separatorsize=1;"); 
You also have places with extra semi colons

Code: Select all

/products/;;status=
I'm not really sure why you have the borderwidth=1; in the menu definitions since you are using it for all the menus, I'd put it back into the style1 with the bordercolor and style. As for the separator and firefox. You have your item coded with

Code: Select all

padding=2;separatorsize=1;");
I think you need to make that separatorsize=1;separatorpadding=2; and that may fix it. It disappears also in firebird 0.7 but when I switched that padding in that iA string, it stayed right there. There may be some other things that need cleaning up, I'll look over the file more.

Ruth
codlord
Advanced
Advanced
Posts: 20
Joined: Thu Sep 05, 2002 10:20 am
Location: UK

Post by codlord »

Thanks for the tips, I have cleaned up as you suggested but still got the problem.

I did some experimenting in removing items from the first menu etc and still got the problem even with just two plain menu items with one seperator line.

So I though as it seemed to only affect the first menu in the menu_data file I would add a dummy menu in front of it in the file and this does indeed seem to "work around" the problem - i.e. now my first real menu item no longer has the problem, and of course the dummy menu will never be seen.

Looks like a possible bug in the menu itself to me?

Thanks for the help though.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Well, I don't think it is though I could be wrong. After I did the things I suggested it worked fine in Firebird .07 which is Firefox now so that would imply some change in Firefox from the 07 to 08, I think....

Ruth
Post Reply