Having problems with DHTML Menu? There is usually somebody here who knows the answer.
clules
Beginner
Posts: 6 Joined: Wed Oct 22, 2003 1:57 pm
Post
by clules » Wed Oct 22, 2003 3:41 pm
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
Maz
Milonic God
Posts: 1717 Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:
Post
by Maz » Wed Oct 22, 2003 3:54 pm
subimageposition="left";
might be a better solution.
Regards
maz
clules
Beginner
Posts: 6 Joined: Wed Oct 22, 2003 1:57 pm
Post
by clules » Wed Oct 22, 2003 4:19 pm
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
Posts: 6 Joined: Wed Oct 22, 2003 1:57 pm
Post
by clules » Wed Oct 22, 2003 10:30 pm
Is there anyone here that knows a solution ( if there is one ) ???
Please...
John
Team
Posts: 5967 Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:
Post
by John » Wed Oct 22, 2003 11:50 pm
Try imagealign="right";.
See all the properties at
http://milonic.com/ .
John
clules
Beginner
Posts: 6 Joined: Wed Oct 22, 2003 1:57 pm
Post
by clules » Thu Oct 23, 2003 12:01 am
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 ??
John
Team
Posts: 5967 Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:
Post
by John » Thu Oct 23, 2003 2:27 am
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?
John
clules
Beginner
Posts: 6 Joined: Wed Oct 22, 2003 1:57 pm
Post
by clules » Thu Oct 23, 2003 3:50 am
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 ?
John
Team
Posts: 5967 Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:
Post
by John » Thu Oct 23, 2003 4:39 am
Post a URL, as requested.
John
Andy
Milonic
Posts: 3308 Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:
Post
by Andy » Thu Oct 23, 2003 10:46 am
try
All these new features are in their infancy so might still be buggy or need more work
Cheers
Andy
clules
Beginner
Posts: 6 Joined: Wed Oct 22, 2003 1:57 pm
Post
by clules » Thu Oct 23, 2003 12:21 pm
Thanks
That solved the problem
thanks to anyone who tried to help...