i know that it isn't possible, so what can i do?
lots of thanks
Dekel
how can i start a menu in right=150 (like left)...
Re: how can i start a menu in right=150 (like left)...
Hi Dekel,dekel wrote:i know that it isn't possible, so what can i do?
I believe it's possible, but how easy it would be depends on a few things. (1) I assume you're talking about a vertical menu, correct? (2) Do you use itemwidth to set each item in the menu to a specific width? (3) Do you use menuwidth to set the menu's overall width? With that information, I may be able to whip up a solution.
Kevin
Meaning you want the menu on the right side of the window? 150 in from that side? If that's the case, I don't know if you can code it like that, but you could use a table, align it right, put a small 1px high 150 px wide transparent.gif into the right column, then put the menu in the second column from the right. You'd be setting the table position and putting the menu in it the way you want it to be. I remember reading in some post about positioning the menu by images. You might check that out also.
Mine is harder to do, pay attention to Kevin
Ruth
Mine is harder to do, pay attention to Kevin
Ruth
Ruth, I wonder if you could tell some other people that for me?innkeeper9 wrote:...pay attention to Kevin
If you want the right edge of the menu to be 150px from the right side of the browser, you can code it directly in the menu script, using the screenposition and left menu properties, like so:
Code: Select all
with(milonic=new menuname("Main Menu")){
style=menuStyle;
screenposition="right"; // menu to right side of window
left="offset=-150"; // menu adjusted to the left by 150px.
top=10;
.
.
.
aI("etc etc etc"); // define menu items
}
Kevin
Agreed Kevin, I think there is alittle miscommunication on whats requested here. So dekel knows, the coordinates start in the upper left corner of the browser, so if you want something to be 150px in from the left side, its left=150, not right=150. Its because you want XXXpx padding on the left....not XXXpx moved to the right. Anyways, just my two cents.... hehe
And Ruth, how come you use the table option? The method kevin described with the screenposition=right and the offset is probably the way to do what you are doing. No?
And Ruth, how come you use the table option? The method kevin described with the screenposition=right and the offset is probably the way to do what you are doing. No?
Dave Hergert
Software Engineer
"Helping to make the menu better, one at a time."
Software Engineer
"Helping to make the menu better, one at a time."