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

Trouble with a simple offset - help


Poster: Dudger
Dated: Monday September 10 2007 - 17:03:16 BST

Hi All
Sorry if this query makes you wince - I promise i have read the help pages and seen the sticky about forms and offsets - but this quote

Quote:
if you position the menu with screenposition="center" and then delclare left="offset=-120" this will position the menu in the center of the page and then adjust this position by moving the menu a futher 120 pixels to the left


is basically what im trying to do - and i simply cant make it work :(
The menu works fine when the page is left justified, when i centre it to accomodate the proliferation of widescreen monitors (Like the one i have just bought cos the old one went pop).
Either the menu simply seems locked to the far left of the first table section - or it just dissapears ?

Help


Poster: John
Dated: Monday September 10 2007 - 20:03:19 BST

Got a URL?


Poster: Dudger
Dated: Monday September 10 2007 - 21:09:44 BST

Unfortunately not - Im doing the site for a committee led forum im in (http://www.SBMCC.co.uk)- so im not prepared to let anyone critisize before its fully working ( I assume you have seen what committees cn be like :) ).

But honestly - its not a rocket science site.

If you want - i can post it via my personal web space for a while ?

Re:


Poster: John
Dated: Wednesday September 12 2007 - 14:50:24 BST

Dudger wrote:
If you want - i can post it via my personal web space for a while ?

Yes, that would definitely help.

Re: Trouble with a simple offset - help


Poster: Dudger
Dated: Tuesday September 25 2007 - 13:59:25 BST

Hi Again
I have posted the first page in some spare space

Its here http://www.brisbane.co.uk/test

The offending code in the data file is here
Quote:
with(milonic=new menuname("Main Menu")){
style=menuStyle;
alwaysvisible=1;
screenposition="centre";
left="offset=39";
//these two lines above are the problem
orientation="horizontal";
top=122;
aI("text=Home;url=index.htm;");
aI("showmenu=club;text=Club Area;");
aI("showmenu=Photo;text=Photo Pages;");
aI("showmenu=Build;text=Build Info;");
aI("showmenu=Join;text=Join/Contact;");
aI("showmenu=Forum;text=Forum;");


I hope someone can point me down the right path
Cheers
Dave

Re:


Poster: John
Dated: Tuesday September 25 2007 - 15:01:10 BST

Dudger wrote:
...( I assume you have seen what committees cn be like :) ).

Oh, brother - have I ever! Please, no more "C" word... :roll:
Dudger wrote:
screenposition="centre";

Try this...
Code:
screenposition="center";

Re: Trouble with a simple offset - help


Poster: Dudger
Dated: Tuesday September 25 2007 - 15:34:07 BST

Thanks John
i just tried it
The menu dissapears - no errors generated.
so i removed the offset line
same thing happens ?

Re: Trouble with a simple offset - help


Poster: Dudger
Dated: Wednesday September 26 2007 - 14:56:30 BST

Hi Again - thanks for trying to help, ive given up on the Centre command (Does not appear able to cope over frames)
Opted to embed the menu call instead, which works fine.

Cheers
Dave