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

placing menu under last item on page

Poster: shasta59
Dated: Tuesday January 31 2006 - 3:25:04 GMT

I have looked through this forum (and probably missed it) but cannot find any advice on how to place a horizontal menu after the last item on my page. In other words, I can place it at the bottom but do not want it right at the bottom but underneath the lowest item on the page.

I would like to have it just underneath the table I have on the page that is the biggest and lowest item. As it does not fill the entire page (it might on some pages) I would like to have the menu right underneath the words that say "javascript DHTML menu by (guess who). This text is in the last cell in a table and I would like the menu just underneath the table but not in the table - centered of course.

For an example check out This is the test site for the new website for this assoication.

Thanks and all help is greatly appreciated. (I know I am most likely missing the obvious but cannot seem to find it in the help guides etc.).

Poster: John
Dated: Tuesday January 31 2006 - 13:59:55 GMT

Simply follow the instructions here. You can place the menu in any cell you like, including the last one on your page. In your case, the menu call would probably be in the same cell as the Milonic link you mentioned.

Poster: shasta59
Dated: Tuesday January 31 2006 - 16:02:24 GMT

Thanks for the reply.

However I do not want to place the menu in a cell in the table but below the table. In other words on my page there is a table that contains the meat of the content, underneath that, not in the table, I would like to have the menu.

If I use the 'bottom' position command it places it right at the bottom of the page on the screen and as such could be a long way from the content if the page does not have much content.

I would like to have the menu change its position automatically based upon the length of the last table but not be in the table. This may not be possible and if it is not then I will place it in the table but would prefer not to.

The only reason for not placing it in the table is that I am not the only one updating the site and I find some of the others do not listen when I say do not touch things and I am worried that they will delete or somehow wreck the menu if I place it in a cell.

Thanks again for the reply.

Poster: Ruth
Dated: Tuesday January 31 2006 - 16:40:27 GMT


Unfortunately, the only way to do what you want is to place the menu in the table. However, to help with the part about others 'changing things' you do not need to place the actual main menu there. You can place the main menu into its own file, and then call the file there. On that link John provided it shows how to put it into it's own file, the last highlighted area in the directions, and how to call it as a file in the table cell, though that's just like any other file call.

Since it's only a call for a file, you should be able to place comment tags before it to not change or remove the call.

<SCRIPT type="text/javascript" src="embedded_main_menu.js"></SCRIPT>
<!--!!!   ***END DO NOT REMOVE COMMENT***!!!  -->

The advantage to having the main menu in a file by itself is you make changes to the file instead of to every page on which there is a menu.

Hope this helps.