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:53
I want the menu to fully expand at 100% of the page width
Poster: Hervé
Dated: Friday February 18 2005 - 13:06:55 GMT
Hi.
I'm currently evaluating DHTML Menu (for buying purposes)
First of all: this is the best DHTML Menu tool I've seen, I've evaluated 4 different products (including yours) and I'm just impressed by the ease of use of your tool.
I want the menu bar (horizontal) to be part of my page (yes I've read the FAQ and I use position="relative" for my main menu).
Now, I'd like the menu to enpand itself to 100% of the page width with the menu options at the left (as it is currently).
How can I do that ?
Thanks.
Hervé.
Poster: Hervé
Dated: Friday February 18 2005 - 13:30:39 GMT
Hi.
I have the answer to my question
<div style="background-color: #ECE9D8; border-width: 1px 0px 1px 0px;border-style:solid;">
<script type="text/javascript" src="../js/menu_data.js"></script>
</div>
Note: I test XP Style menu. I've removed borders around the menu to put them around my container et voilà !
The code is not clean. Of course I need to create a CSS class.
Ciao.
Poster: Hervé
Dated: Friday February 18 2005 - 15:19:29 GMT
Shame on me.
the property setmenuwidth answers my question.
Shame, shame, shame on me
http://www.milonic.com/menusample26.php
Poster: Ruth
Dated: Friday February 18 2005 - 16:07:31 GMT
Herve,
So I'm not the only one who does that?
By the way, you shouldn't put the menu in a div. There can be cross browser issues if you do that, causing problems in some browsers.
Ruth
Poster: Hervé
Dated: Monday February 21 2005 - 19:36:35 GMT
Hi Ruth.
I did not know that there were cross-browser issues.
What kind of issue(s) ?
Anyway, I've removed the div tag and used the full possibilities of the tool, it's better.
Thanks.
Hervé.
Poster: Ruth
Dated: Monday February 21 2005 - 23:48:58 GMT
It's only when it's in a div that sometimes there are problems depending on the browser. Usually, it's position issues, if I remember correctly, position of submenus. I've seen posts about the menu doing this or that and it turns out it's because it was placed in a div.
Ruth