Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

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:46

Image disappearing onclick and offset issue


Poster: MRI
Dated: Tuesday January 27 2004 - 9:26:19 GMT

Hi

If have two issues with the menu on this site:
http://ddv.inet-designer.dk

1. Sometimes when I click on a submenu item the image on the mainmenu item disappears.

2. The offset for the submenu items of the bottom menu has no effect - and it is therefore 2px higher than the spot, where I want it to be.

Best regards
Martin


Poster: Ruth
Dated: Tuesday January 27 2004 - 21:22:59 GMT

One thing I noticed is that you are using rc30 and I think the newest one is rc46. It won't fix this issue but it does have a lot of fixes from previous issues. As to this problem. The reason you are not getting that to function is that you must set a screen position from which the offset can work. So, it should be coded in the menu like this
Code:
with(milonic=new menuname("folder_id8")){
style=menuStyle2;
screenposition="bottom";
left="offset=212";
top="offset=-25";
aI("text=test;url=default.asp?id=7;status=test;");
}
The left offset is one less than the offset you have set for that bottom menu's left position, and the top offset is the same as the height of the image used from which the submenu is called on mouseover. The same coding would be needed in all the menus that come off that bottom menu. I tested it and it works in IE5, NN6, 7, and Opera 6, 7 Hope that helps :)

Another issue on your site, I don't know if this is supposed to be like that or not, but you have no scroll bars and though I know it's there because it got downloaded when I save the page to try and figure out the menu problem, I do not see anything below the menu, your menubg_bottom is not visible which is where I believe you have an email link.

Ruth

Thanks


Poster: MRI
Dated: Thursday January 29 2004 - 13:27:13 GMT

Thank you for your help. Setting the screenposition solved both problems.
Regarding the scrollbars - graphic designers love making things difficult - this particular one doesn't like the standard scrollbars so we used a custom scroller.


Poster: Ruth
Dated: Thursday January 29 2004 - 14:54:20 GMT

Hmm, maybe you should give them the comment I made. It seems the custom ones don't work on older browsers....bet lot's of people have older ones. Perhaps there's a way to set the custom ones but have the regular ones appear on the older ones? That's beyond me. :)

Ruth