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

IE Horizontal Scroll Bar Problem


Poster: cpriest
Dated: Monday September 13 2004 - 18:44:54 BST

Hello all,

I just purchased the DHTML Menu, using the latest version and I'm having a problem with the horizontal scroll bar for the main window.

The main web page scroll bar is showing and is wider than it should be. I have nothing on the page except for the menu system...

What am I doing wrong?

Sample Page: http://www.EyeoftheArt.com/page.header.php


Poster: John
Dated: Tuesday September 14 2004 - 4:50:05 BST

With all due respect, the first thing you have to do is learn how to code an HTML page correctly. What you posted has tags out of place, tags missing, JS calls out of place, and numerous other things that are beyond the scope of this Forum. We are definitely here to help, but not to teach proper basic coding.

Get a book on HTML, clean up the page, and we'll be more than happy to help you with the menu.

Just to be sure, this is not written in any way to be nasty, but we can't help, nor will the menu work, with what you've got.


Poster: Andy
Dated: Tuesday September 14 2004 - 12:14:34 BST

Hi,

This problem has been fixed for version 5.47 due out later today.

I'll let you know once it has been released.

Regards
Andy


Poster: cpriest
Dated: Tuesday September 14 2004 - 14:07:49 BST

Hey John,

I'm not really sure what you're talking about, I've been coding HTML for about 10 years and I see nothing wrong with the HTML in this page, what do you find to be a problem?


Poster: Andy
Dated: Tuesday September 14 2004 - 14:17:59 BST

Version 5.47 has just gone up.

Cheers
Andy


Poster: cpriest
Dated: Tuesday September 14 2004 - 14:23:32 BST

Hey the fix works great, there is another issue I just noticed with the new version though (may have been in the old version).

If you make the window wider and smaller over and over the menu's width keeps shrinking until it is a small as it can go to fit all of the text.

Not a huge issue I don't expect users to do this but just so you know...


Poster: John
Dated: Tuesday September 14 2004 - 15:18:37 BST

cpriest wrote:
I'm not really sure what you're talking about, I've been coding HTML for about 10 years and I see nothing wrong with the HTML in this page, what do you find to be a problem?

Hi -

Actually, more than one of us noticed problems; e.g., no <html></html>, <body></body>. There were other items we noticed last night which do not appear to be there now.


Poster: cpriest
Dated: Tuesday September 14 2004 - 16:04:43 BST

I see, that would be because this is a page header and meant to be included in other more complete pages.

Normally this page does not include the <HEAD> information either, I included that only so that viewing the page on its own would show correctly.

At any rate, its all working fine now.


Poster: John
Dated: Tuesday September 14 2004 - 16:07:38 BST

Got it.

We weren't trying to be a pain - just concerned... :)


Poster: cpriest
Dated: Tuesday September 14 2004 - 18:13:45 BST

Update... The Horizontal Scrollbar problem is back.

Its not on the original page, but it is on another page which includes now a second menu bar...

http://216.22.14.142/admin/admin.page.header.php

If you play with the menus a bit, you'll notice that atleast one of the menu's changes width and then the horizontal scroll bar disappears.

By the way, I must say... this is a great piece of programming, I'm very impressed with its capabilities..

-Clint


Poster: Andy
Dated: Wednesday September 15 2004 - 9:45:36 BST

Hi,

The scrollbars are back because of the way you have embedded the whole menu inside the table cell.

There is a technique for embedding menus in tables here: http://www.milonic.com/tablemenu.php

-- Andy


Poster: cpriest
Dated: Wednesday September 15 2004 - 16:08:32 BST

I see, so is the key problem here the fact that drawMenus() is creating the menu (layers?) within that table cell? So the sub-menu's need to be created outside of the table cell..?

-Clint


Poster: Andy
Dated: Thursday September 16 2004 - 11:09:44 BST

That's absolutely spot on.

The sub menus become part of the table cell when they are built inside it. So the positioning is occasionally off due to the parent being the table cell and not the document, which is what you want.

There are also performance problems when placing all sub-menus inside the table cell. I've seen menus run painfully slow because of this.

-- Andy


Poster: cpriest
Dated: Thursday September 16 2004 - 16:39:59 BST

It does run pretty slow when compared to before. I had < 1 second load times before, now its 3-5 seconds to load the whole page...

Do you have any tips for speeding things up?


Poster: kevin3442
Dated: Friday September 17 2004 - 0:47:52 BST

Hi Clint,

Once you get everything but the main menu out of the table, it should speed up quite a bit.

Cheers,

Kevin


Poster: cpriest
Dated: Friday September 17 2004 - 0:51:27 BST

Everything but the main menu is out of the table....

Can I load the submenu's at the end of the page w/o a problem?


Poster: kevin3442
Dated: Friday September 17 2004 - 1:04:36 BST

Should not be a problem. Just remember to call drawMenus() in both the table cell where the main menu is and at the end of your submenu defs.

Kevin