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:04
Andy over here ...
Poster: Maz
Dated: Tuesday October 14 2003 - 14:10:21 BST
Thought you would notice this
I made sure I have the latest release before doing this.
The first submenu is halfway down the menu, the others go further down.
This is followscroll in a table, it doesn't actually move, but it does for everyone else. see -www- link.
http://mercuryexposure.org/template/mai ... onic11.gif
Left=4 does not respond either.
I'm going to take the menu out of the table to see if its any improvement since it was covering up page links.
Also noticed, the milonic site menu background used to cover the page. Its no longer doing that.
Meanwhile can you tell me how 'onstyle' is used?
BRB with out of table results.
maz
Poster: Maz
Dated: Tuesday October 14 2003 - 14:32:00 BST
Here is followscroll out of table.
See the faint line under 'site contents' that is the outline that is blocking page links, and sending submenus to the other side of the page, (offbgcolor is set to transparent for the bgimage).
http://mercuryexposure.org/template/mai ... onic12.gif
out of table left=4 is working.
maz
I should add that followscroll does move down the page, and submenus open vertically correct in this position - out of the table.
Poster: Maz
Dated: Tuesday October 14 2003 - 22:19:44 BST
Here is another picture where the menu didn't load well.
http://mercuryexposure.org/template/mai ... onic13.gif
All the menu items with strange alignment have either form in the submenu or javascript in the main menu. I've laid them out below incase there is anything wrong here.
The top menu lines is because I have to create an onbgimage the exact height. Style border-bottom would be better but haven't been able to get it to work correctly, probably because I have the exact same style underneath incase javascript is turned off. (the menu underneath is replicated at the bottom of the page.)
This only comes up on a strange load, but it might show something else hidden.
Thank you!
maz
Member login:
Code:
with(milonic=new menuname("memberlogin")){
style=xptoolsub;
bgimage="/template/main/images/xsubback.gif";
aI("text=Members Help;url=/index.php?m=show_doc&pid=63;status=link help;overimage=/template/main/images/xsubarrow.gif;");
aI("text=Registration Form;url=/registration.php;status=scroll link forms;overimage=/template/main/images/xsubarrow.gif;");
aI("text=<form method=get action=memberlogin.php name=login><table><tr><td align=center><b>Site Member Login</b></td></tr><tr><td><label for=site_member_email>Site Member email</label></td></tr><tr><td><input size=30 tabindex=1 name=site_member_email></td></tr><tr><td><label for=site_member_password>Site Member Password</label></td></tr><tr><td><input size=30 name=site_member_password></td></tr><tr><td align=center><input type=submit></td></tr></table></form>;type=form;overimage=/template/main/images/xsubarrow.gif;");
}
style=xptoolsub;
bgimage="/template/main/images/xsubback.gif";
aI("text=Members Help;url=/index.php?m=show_doc&pid=63;status=link help;overimage=/template/main/images/xsubarrow.gif;");
aI("text=Registration Form;url=/registration.php;status=scroll link forms;overimage=/template/main/images/xsubarrow.gif;");
aI("text=<form method=get action=memberlogin.php name=login><table><tr><td align=center><b>Site Member Login</b></td></tr><tr><td><label for=site_member_email>Site Member email</label></td></tr><tr><td><input size=30 tabindex=1 name=site_member_email></td></tr><tr><td><label for=site_member_password>Site Member Password</label></td></tr><tr><td><input size=30 name=site_member_password></td></tr><tr><td align=center><input type=submit></td></tr></table></form>;type=form;overimage=/template/main/images/xsubarrow.gif;");
}
Print Page:
Code:
aI("text=Print Page;url=javascript:self.print('');status=link print;image=/template/main/images/xprint.gif;imagealt=print;bgimage=/template/main/images/xblueback.gif;");
Rate Article:
Code:
with(milonic=new menuname("rate")){
style=xptoolsub;
bgimage="/template/main/images/xsubback.gif";
aI("text=<form method=post action=/rate.php name=rate><table width=100><tr><td><b>Rate Article</b></td></tr><tr><td><input type=radio value=outstanding name=rate tabindex=1> Outstanding</td></tr><tr><td><input type=radio value=excellent name=rate tabindex=2> Excellent</td></tr><tr><td><input type=radio value=good name=rate tabindex=3> Good</td></tr><tr><td><input type=radio value=poor name=rate tabindex=4> Poor</td></tr><tr><td><input type=submit name=rate tabindex=5></td></tr></table></form>;type=form;overimage=/template/main/images/xsubarrow.gif;status=rate article;");
}
style=xptoolsub;
bgimage="/template/main/images/xsubback.gif";
aI("text=<form method=post action=/rate.php name=rate><table width=100><tr><td><b>Rate Article</b></td></tr><tr><td><input type=radio value=outstanding name=rate tabindex=1> Outstanding</td></tr><tr><td><input type=radio value=excellent name=rate tabindex=2> Excellent</td></tr><tr><td><input type=radio value=good name=rate tabindex=3> Good</td></tr><tr><td><input type=radio value=poor name=rate tabindex=4> Poor</td></tr><tr><td><input type=submit name=rate tabindex=5></td></tr></table></form>;type=form;overimage=/template/main/images/xsubarrow.gif;status=rate article;");
}
Search Site:
Code:
with(milonic=new menuname("search")){
style=xptoolsub;
bgimage="/template/main/images/xsubback.gif";
aI("status=search form;text=<form method=get action=/search.php name=search><table><tr><td align=center><label for=q><b>Search Site</b></label></td></tr><tr><td><input type=text name=q size=25 tab index=1></td></tr><tr><td align=center><input type=submit value=Search tab index=2></td></tr></table></form>;type=form;overimage=/template/main/images/xsubarrow.gif;");
}
style=xptoolsub;
bgimage="/template/main/images/xsubback.gif";
aI("status=search form;text=<form method=get action=/search.php name=search><table><tr><td align=center><label for=q><b>Search Site</b></label></td></tr><tr><td><input type=text name=q size=25 tab index=1></td></tr><tr><td align=center><input type=submit value=Search tab index=2></td></tr></table></form>;type=form;overimage=/template/main/images/xsubarrow.gif;");
}