Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:28
Problem with horizontal seperator lines and Firefox browser
Poster: codlord
Dated: Tuesday May 18 2004 - 13:55:34 BST
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
Poster: John
Dated: Tuesday May 18 2004 - 14:11:40 BST
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...
Quote:
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.
Poster: codlord
Dated: Tuesday May 18 2004 - 14:43:15 BST
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.
Poster: Ruth
Dated: Tuesday May 18 2004 - 18:30:24 BST
A number of things you have to clean up starting with the style1 definition
Code:
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.borderstyle="solid";
bordercolor="black"; down to subimage=""; and overfilter=effect;
}
Code:
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:
separatorsize=1")
should be Code:
separatorsize=1;");
You also have places with extra semi colons Code:
/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:
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
Poster: codlord
Dated: Thursday May 20 2004 - 9:50:19 BST
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.