Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Thursday February 8 2018 - 06:02:26

Border around the main menu


Poster: Thommy
Dated: Wednesday September 10 2003 - 15:53:26 BST

Hello everybody,

first of all i have to say, that this menu is a great peace of work. I just want to know, if it is possible to define the border around the main menu more exactly, e.g. i want to have no border at the left side of the menu, just the other sides.

Maybe someone can help me with this.

Regards
Thommy


Poster: John
Dated: Wednesday September 10 2003 - 19:54:25 BST

Thanks for the kind words. Everybody here tends to agree with you :!:

No, it's all or nothing. However, you might want to experiment with filters and shadows. By adjusting the direction of your light source you might be able to get what you're looking for (or close, anyway).


Poster: Hergio
Dated: Wednesday September 10 2003 - 22:45:15 BST

Just a thought... you could use the onclass and offclass functions.
Declare your menu as usual, but inside of each menuitem set the onclass and off class. I dont know if you have a horizontal menu or a vertical so this might not be exactly what you are doing, but you should understand and see how to do it for the other direction.

For a vertical menu, create a style that has a border on the top and right. Create another that has one on just the right and then create a third that has a border on the right and bottom. Your first menuitem should have its on and off class attributes set to the first style so the top menu item has a border on the top and right. Then all the menu items in the middle use the second style so they only have borders on the right side. And the final item has the third style to only render a border on the right and bottom. See what I am saying...remember on AND off classes should be the same, this way the menu borders remain even when you are mouseovering them. Hope this gives you some insight! ;)


Poster: Maz
Dated: Thursday September 11 2003 - 17:02:17 BST

I cheated with illusion, I added a table background color with the menu positioned to show a border.

*wiz*
maz


Poster: John
Dated: Thursday September 11 2003 - 17:07:57 BST

Sneak... ;)