Graphic in menu listing

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
nussey1
Beginner
Beginner
Posts: 2
Joined: Thu Jun 16, 2005 2:32 am

Graphic in menu listing

Post by nussey1 »

Is there a way whereby I can move the graphic to the right of the text in a menu listing?
In http://www.nusselder.ca/thejourney , I would like the bottom item to show as "Menu by (graphic)" instead of "(graphic) Menu by" .

Thanks!
John <><
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Yes, you can use the imageposition property in the item. imageposition=right; There is a list of links below my name, 3 go to reference for the various properties you can use in the menu, style properties which go in the style declaration, menu properties which go in the menu declaration, where you put top=, left= etc., and item properties which go into the aI strings.

I moved this to the help and support section.

Ruth
mjanke
Beginner
Beginner
Posts: 9
Joined: Sat Jun 11, 2005 11:52 pm

Post by mjanke »

I have vertical menus and use this imageposition=right. When I don't use that, the image is on the left of course, and it is centered perfectly top to bottom.

When I use imageposition=right, the image goes to the right like I want it, but it also moves to the top edge of the menu item, not nicely centered like when it's on the left. I tried adding imagealign=center, but that seemed to have no effect.

I can live with it and rather have it on the right uncentered, than on the left centered, but ideally, right center would be great. Any ideas what I need to do to accomplish this?

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

Post by John »

If I remember correctly (not always true, lately!), you can combine 'logical' options; e.g., imageposition=right;middle;. Then again, the long weekend may still be upon me... :roll:
John
mjanke
Beginner
Beginner
Posts: 9
Joined: Sat Jun 11, 2005 11:52 pm

Post by mjanke »

John wrote:If I remember correctly (not always true, lately!), you can combine 'logical' options; e.g., imageposition=right;middle;. Then again, the long weekend may still be upon me... :roll:
I was thinking of trying that but didn't. I was going to separate with a comma instead of a semi-colon. I'll try it and see what happens.

Interestingly enough, the image is centered when I look at the menu with Firefox, but against the top margin in IE.
Post Reply