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:40
layout still messed up
Poster: Drieske1982
Dated: Thursday February 26 2004 - 21:47:30 GMT
Hey,
If you look at this site (http://www.aendekerk.be/beta); you'll probably see this (upper right corner):
This is how it should be:
Most of the time, the layout is correct. But not always. When i press refresh, the browser often corrects this. How can i fix this?
This is the code i use:
*************
with(aendekerk=new menuname("Main Menu")){
style=menuStyle;
top=155;
left=200;
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("text=Over ons bedrijf;url="+path+"bedrijf/index.html;showmenu=bedrijf;status=Alles over Aendekerk b.v.b.a;itemwidth=100;");
aI("text=Airconditioning;url="+path+"airco/index.html;showmenu=airco;status=Airconditioning;itemwidth=92;");
aI("text=Koel- en vriescellen;url="+path+"koelvriescel/index.html;showmenu=koelvriescel;status=Koel- en vriescellen;itemwidth=120;");
aI("text=Wijnkoeling;url="+path+"wijnkoeling/index.html;showmenu=wijnkoeling;status=Wijnkoeling;itemwidth=76;");
aI("text=Koele berging;url="+path+"koeleberging/index.html;showmenu=koeleberging;status=Koele berging;itemwidth=88;");
aI("text=Contacteer ons;url="+path+"bedrijf/contactgegevens.html;status=Contacteer ons;itemwidth=86;");
aI("text=MovingCool;url="+path+"bedrijf/movingcool.html;status=Wij verhuren ook Biertapwagens, Koel- en vriesboxen, Koel- en vriesaanhangwagens;itemwidth=66;");
}
drawMenus();
*************
I use Milonic menu 5.04
Poster: kevin3442
Dated: Friday February 27 2004 - 0:26:46 GMT
First thing I might try is removing top=155; and left=200; because if the menu is positioned relative to a table cell, there should be no need for these settings and they may possibly be influencing placement. Just a first guess really.
Kevin
Poster: Drieske1982
Dated: Friday February 27 2004 - 6:49:56 GMT
I've removed it, but it doesn't really fix the problem.
But i think the error appears less often now...
Poster: Drieske1982
Dated: Friday February 27 2004 - 9:39:47 GMT
This is my current code (with 'menuwidth' inserted and with 'top' and 'left' removed). But my problem is still there. If you remove your 'temporary internet files' and then visit my site, there's a big chance the error occurs.
*************
with(aendekerk=new menuname("Main Menu")){
menuwidth="638";
style=menuStyle;
alwaysvisible=1;
orientation="horizontal";
position="relative";
aI("text=Over ons bedrijf;url="+path+"bedrijf/index.html;showmenu=bedrijf;status=Alles over Aendekerk b.v.b.a;itemwidth=100;");
aI("text=Airconditioning;url="+path+"airco/index.html;showmenu=airco;status=Airconditioning;itemwidth=92;");
aI("text=Koel- en vriescellen;url="+path+"koelvriescel/index.html;showmenu=koelvriescel;status=Koel- en vriescellen;itemwidth=120;");
aI("text=Wijnkoeling;url="+path+"wijnkoeling/index.html;showmenu=wijnkoeling;status=Wijnkoeling;itemwidth=76;");
aI("text=Koele berging;url="+path+"koeleberging/index.html;showmenu=koeleberging;status=Koele berging;itemwidth=88;");
aI("text=Contacteer ons;url="+path+"bedrijf/contactgegevens.html;status=Contacteer ons;itemwidth=86;");
aI("text=MovingCool;url="+path+"bedrijf/movingcool.html;status=Wij verhuren ook Biertapwagens, Koel- en vriesboxen, Koel- en vriesaanhangwagens;itemwidth=66;");
}
drawMenus();
*************