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: Saturday July 14 2012 - 06:07:24

Position of Frame based Menu


Poster: crosser
Dated: Tuesday June 15 2004 - 15:13:10 BST

Hello,
I want the frame based menu like this one: http://www.milonic.com/menu/frames/ and I deleted the left frame (sideframe).
But now the submenu in the mainFrame isnĀ“t positioned right.
You can see it here: http://crosser.myspace.ath.cx/testhp/index.htm
If you put the mouse over "Moped" than the submenu should come under "Moped" and not so much left.
Where can I make it right??

Greets Marc


Poster: kevin3442
Dated: Tuesday June 15 2004 - 18:38:44 BST

Hi Marc,

Since the fames demo is still version 3, I'll move this into the v3 forum, but I'll also go ahead and answer ;)

In the frames demo, there's a a file called frames_header_array.js that hets loaded into the header frame. At the top of that file, there should be a global variable called Frames_Left_Offset, e.g.,
Code:
Frames_Left_Offset=-36

Adjust that value until your submenus line up the way you want. Since you've removed the side frame, you'll probably want a positive value. Maybe start with 100 and adjust from there.

Hope that helps,

Kevin


Poster: crosser
Dated: Tuesday June 15 2004 - 20:25:31 BST

oh, thank you!!
100 was EXACT Value!! :-)

Thanks,

Greetings Marc


Poster: kevin3442
Dated: Tuesday June 15 2004 - 23:36:33 BST

crosser wrote:
100 was EXACT Value!! :-)

DHTML positioning by Zen! ;)

Glad it worked.

Kevin


Poster: fredlongworthhighschool
Dated: Thursday June 17 2004 - 11:07:32 BST

Before you go to a lot of effort coding a menu, I'd strongly suggest you get the V5 menu and go with Iframes. Your menu may look ok at the moment but the fact that it is so old means you may get bugs or development problems later on and you'll have to start again from scratch. There have ben so many developments with the new menu, and it's much faster.

I used to use the V3 frames menu and considered holding back from V5 until a frames solution was made but I'm glad I didn't. I went with Iframes which have been superb, and am shortly going over to SSI.


Poster: crosser
Dated: Thursday June 17 2004 - 12:18:13 BST

but the problems with iframe is the screensolution. I think thats a problem!