Screenposition offset

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
jshep@magma.ca
Beginner
Beginner
Posts: 4
Joined: Mon Sep 15, 2003 5:51 pm
Location: Ottawa, Canada
Contact:

Screenposition offset

Post by jshep@magma.ca »

What is correct syntax to display a menu on the 20 pixels in from right of the screen?

I have tried screenposition in various combinations as shown below with no success. Does anyone have any ideas.

with(milonic=new menuname("Contact Menu")){
style=CmenuStyle;
top=14;
screenposition="right(offset=-20)";
itemheight="25";
itemwidth="150";
align="center";
alwaysvisible=1;
orientation="horizontal";


Thanks

Jim
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi Jim,

Try this:

Code: Select all

screenposition="right";
left="offset=-20";
Kevin
jshep@magma.ca
Beginner
Beginner
Posts: 4
Joined: Mon Sep 15, 2003 5:51 pm
Location: Ottawa, Canada
Contact:

Post by jshep@magma.ca »

Thanks Kevin

That was easy, makes me wonder why I spent so long beating my head against the wall. Sometimes you can't see the forest for the trees.
Post Reply