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: Thursday February 8 2018 - 06:02:14

Problems trying to re-locate menu bar


Poster: daviddiy
Dated: Wednesday February 11 2004 - 23:07:27 GMT

http://doityourself.com/menu/1.htm is a beta test page.
Do not worry, many of the links are bad (linking to shtml pages in new subheadings while originals were in htm)

Want to create a table where menu bar that would be located at the top of the table. I would like to be able to put a leaderboard ad - 728 by 90 above it when it is sold. Right now having problems moving the menu bar. Any solutions?


Poster: John
Dated: Thursday February 12 2004 - 0:00:12 GMT

Right now it's where you told it to be...

Code: Select all

top=10;
left=10;

I suspect left is where you want it (maybe?), so change the top value to move it down.

Also (probably not causing a problem, but just syntax)...

Code: Select all

aI("text=       Sitemap          ;url=/sitemap.htm;");

Spaces between your spaces (huh?) are not necessary...

Code: Select all

aI("text=   Sitemap     url=/sitemap.htm;");

...and the double ;; can come out as well.


Poster: Maz
Dated: Thursday February 12 2004 - 5:31:45 GMT

that's confusing, & n b s p ; then there should be another ; before url.

& n b s p ; ; url

Why not use padding instead

padding="0px 5px 0 5px";

The order is clockwise: top 0, right 5pixels, bottom 0, left 5pixels.

Or align="center"

Or itemwidth="30px";

Spaces are okay, you might want to even items out later.

Regards,
maz


Poster: John
Dated: Thursday February 12 2004 - 14:50:21 GMT

maz wrote:that's confusing, & n b s p ; then there should be another ; before url.

You are correct, of course. Gettin' old (as we discussed). Code would then be...

Code: Select all

aI("text=   Sitemap     ;url=/sitemap.htm;");

As you mentioned, padding is a better idea.

Thank You - but still a small question remains...


Poster: daviddiy
Dated: Thursday February 12 2004 - 21:47:18 GMT

The positioning worked for no banner on top. We are cleaning up our code towards style sheets.

One problem is if we add an ad tag to the top on some pages for a 728 by 90 leaderboard, we have to use a different version of the tag on those pages or the menu overlaps the ad. Can the menu be positioned relative to a link within the table, not to the page?

Re: Thank You - but still a small question remains...


Poster: kevin3442
Dated: Thursday February 12 2004 - 22:19:37 GMT

daviddiy wrote:...Can the menu be positioned relative to a link within the table, not to the page?

Yes. Have a look at http://www.milonic.com/menusample9.php, which is meant to address exactly this issue... relative positioning by embedding the menu in a table. Your banner ad could either appear as a link within the same cell as the meu, or in a separate cell above the menu's cell (which would be empty when you want no banner).

Hope that helps,

Kevin