align images

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
clules
Beginner
Beginner
Posts: 6
Joined: Wed Oct 22, 2003 1:57 pm

align images

Post by clules »

Hi all,

I would like to use the menu as right to left
so I added " openstyle="rtl"; " where needed.

Now I get the arrow gif on the left ( that's good ),
but the image ( rollover or not ) stays in same place
i.e. between text and arrow. ( arrow | image | text )


I would like it to be right to the text.

in this order :

arrow | text | image

How can i do that :?:
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

subimageposition="left";

might be a better solution.

Regards
maz
clules
Beginner
Beginner
Posts: 6
Joined: Wed Oct 22, 2003 1:57 pm

Post by clules »

thanks maz, but that doesn't help me.

like i said, i dont have a problem with the arrow.gif
The problem is positioning the second image.

I would like it to be right from the text.

like in the images example: ( with using subimageposition="left"; )

aI("text=Autos;showmenu=autos;image=browser.gif;");

this shows the items in the following order:

arrow.gif | browser.gif | Autos

But i want it to be : arrow.gif | Autos | browser.gif

Any idea ?
clules
Beginner
Beginner
Posts: 6
Joined: Wed Oct 22, 2003 1:57 pm

nobody ???

Post by clules »

:(
Is there anyone here that knows a solution ( if there is one ) ???

Please...
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Try imagealign="right";.

See all the properties at http://milonic.com/.
John
clules
Beginner
Beginner
Posts: 6
Joined: Wed Oct 22, 2003 1:57 pm

Post by clules »

It does nothing. :?

I'm trying it all on the reollover image exapmle :

with(milonic=new menuname("Main Menu")){
style=menuStyle;
top=10;
left=10;
alwaysvisible=1;
orientation="horizontal";
imagealign="right";
aI("text=Home;url=http://www.milonic.co.uk/;status=Back To Home Page;");
aI("text=Milonic;showmenu=Milonic;image=penfold.gif;overimage=penfold_over.gif;");
aI("text=Partners;showmenu=Partners;image=macbook_on.gif;overimage=macbook.gif;");
aI("text=Links;showmenu=Links;image=zippo.gif;overimage=zippo_over.gif;");
}

Is it in the right place ??
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

clules wrote:Is it in the right place ??
Nope! One reason I suggested you check the Quick Reference guides...

Anyway, it goes in your menu (aI) statements. After all, that's where the images are you want to move, correct? :D
John
clules
Beginner
Beginner
Posts: 6
Joined: Wed Oct 22, 2003 1:57 pm

Post by clules »

Well then,

I inserted imagealign="right" to the aI statement
that way the menu doesn't show at all.

I even tried it without "" i.e. imagealign=right
and this has no effect at all. ( the menu is shown ).

Can you give me a working example ?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Post a URL, as requested.
John
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

try

Code: Select all

imageposition=right
All these new features are in their infancy so might still be buggy or need more work

Cheers
Andy
clules
Beginner
Beginner
Posts: 6
Joined: Wed Oct 22, 2003 1:57 pm

Post by clules »

Thanks

That solved the problem :D

thanks to anyone who tried to help...
Post Reply