Trouble with a simple offset - help

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Dudger
Beginner
Beginner
Posts: 5
Joined: Sun Sep 09, 2007 5:23 pm

Trouble with a simple offset - help

Post by Dudger »

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
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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Got a URL?
John
Dudger
Beginner
Beginner
Posts: 5
Joined: Sun Sep 09, 2007 5:23 pm

Post by Dudger »

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 ?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re:

Post by John »

Dudger wrote:If you want - i can post it via my personal web space for a while ?
Yes, that would definitely help.
John
Dudger
Beginner
Beginner
Posts: 5
Joined: Sun Sep 09, 2007 5:23 pm

Re: Trouble with a simple offset - help

Post by Dudger »

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
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
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re:

Post by John »

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: Select all

screenposition="center";
John
Dudger
Beginner
Beginner
Posts: 5
Joined: Sun Sep 09, 2007 5:23 pm

Re: Trouble with a simple offset - help

Post by Dudger »

Thanks John
i just tried it
The menu dissapears - no errors generated.
so i removed the offset line
same thing happens ?
Dudger
Beginner
Beginner
Posts: 5
Joined: Sun Sep 09, 2007 5:23 pm

Re: Trouble with a simple offset - help

Post by Dudger »

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
Post Reply