subimageposition not working! What am I doing wrong[SOLVED]

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
nwilcox
Mega Advanced
Mega Advanced
Posts: 269
Joined: Sat Aug 20, 2005 6:14 am
Location: Indianapolis, IN
Contact:

subimageposition not working! What am I doing wrong[SOLVED]

Post by nwilcox »

I'm setting subimageposition in the sub menus on this right vertical menubut the change is not being reflected in the sub menu

LINKS REMOVED

Any thoughts?
Last edited by nwilcox on Fri Aug 21, 2009 8:38 pm, edited 3 times in total.
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Since you are setting that menu to openstyle"rtl"; when you set the subimage as right it switches it to left. Many use that openstyle="rtl"; as an opening mechanism for the submenu so it opens on the left side of the main menu, and it works OK, but in reality it is designed for setting up menu with languages that go rtl. So, in reality it thinks the subimage which is by default placed on the right should be on the left in that openstyle.

OK, after that long winded explanation.... what you need to do is set the subimage for that item to subimageposition=left; then the openstyle will see that and switch it to the right :)

I hope that made sense :!:

Ruth
User avatar
nwilcox
Mega Advanced
Mega Advanced
Posts: 269
Joined: Sat Aug 20, 2005 6:14 am
Location: Indianapolis, IN
Contact:

Post by nwilcox »

thansk Ruth, but sorry.. I don't understand what you are saying to do.

I've tried setting the submimageposition to both left and right with no result.

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

Post by Ruth »

Hi,

You are coding the change in the subimageposition in the wrong place. It is not a 'menu' property, it is either a style or an item property. So, since it isn't a property of the menu, putting it there does nothing and the openstyle="rtl"; causes the default right position of the subimage to shift to the left.

Ruth
User avatar
nwilcox
Mega Advanced
Mega Advanced
Posts: 269
Joined: Sat Aug 20, 2005 6:14 am
Location: Indianapolis, IN
Contact:

Post by nwilcox »

duh! now I get it good grief :D

and it works great

you're the best Ruth!
Post Reply