show only left and right border when mouse on

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
clwu
Beginner
Beginner
Posts: 3
Joined: Tue May 25, 2004 3:41 pm

show only left and right border when mouse on

Post by clwu »

Hi, group,
Is that possible to show only left and right borders when I place mouse on the item of top menu. I only found "onborder" option, which can specify the property of border to show when mouse is on, but this option will show the whole border. In my case, the top menu is placed within a cell of a table. If top and bottom boders of a menu item are shown, they will overlay with the cell border of the table.
Thanks.


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

Post by John »

You could write your borders in CSS, and then use onclass= and offclass= to call the styles. These are available as style and menu item properties.

See http://milonic.com/styleproperties.php and http://milonic.com/itemproperties.php.
John
clwu
Beginner
Beginner
Posts: 3
Joined: Tue May 25, 2004 3:41 pm

Post by clwu »

Thanks. It works now.

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

Post by John »

Great! Glad to hear it.
John
Post Reply