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: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Wednesday July 18 2012 - 06:07:32

More on Frontpage shared borders


Poster: snapey
Dated: Tuesday July 16 2002 - 23:16:55 BST

This refers to FP2000, other versions may behave the same.

Problem: As soon as you enable shared borders on a page, FP creates a table to position the borders. This means that wherever you place your script tags within the body they have no choice but to reside in a TD cell.

When the script is located in a table cell it seems unable to size the menu correctly, and although the script runs, the menu bar is a small dash about 5 pixels by 1 pixel. I have tried various methods outlined on this site including placing a large transparent graphic next to the script to make the cell bigger - but to no effect.

I have found that my only solution is to place the script statements in the <Head> section.

I read somewhere in this site that this is bad practice.
It seems to work fine in IE5 but I'm not sure about other browsers.
Can someone explain the implications of this.

You can test out this method at http://www.rotary1220.org/02

Thanks
Mark


Poster: Andy
Dated: Wednesday July 17 2002 - 10:34:36 BST

Hi,

You can set loadWait to 1 in mmenu.js

This is not desired however as you will need to wait until your tables and content have been drawn before the menu will show.

Cheers
Andy


Poster: snapey
Dated: Wednesday July 17 2002 - 13:24:20 BST

Andy wrote:
Hi,

You can set loadWait to 1 in mmenu.js

This is not desired however as you will need to wait until your tables and content have been drawn before the menu will show.

Cheers
Andy


I'm not sure what you are getting at. How does this setting help? Do you understand my original positing? Can I explain it better?

Regards
Mark


Poster: Andy
Dated: Wednesday July 17 2002 - 13:28:24 BST

By setting loadWait to 1 this will wait until the page has loaded before rendering the menu. This should enable you to see the menu with FrontPage Shared Borders.

The only browser that will not work properly with code in the Head is Opera all other browser will work fine. So if you don't need support for Opera your solution may well work for you.

-- Andy