Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:26
Transparency and version 4
Poster: danone
Dated: Thursday July 3 2003 - 0:17:42 BST
i know this might have come up in an earlier topic but is there an easy way (like in version 3) to set the transparency of the drop down menus?
--daniel--
Poster: zotsf
Dated: Thursday July 3 2003 - 6:19:51 BST
onbgcolor="transparent";
offbgcolor="transparent";
Poster: Hergio
Dated: Thursday July 3 2003 - 21:05:47 BST
If you are referring to having slightly transparent menus then do the following.
In your menu declaration put the line:
Code:
overfilter="Alpha(style=0,opacity=75);Shadow(color='#666666', Direction=135, Strength=4)";
As you can see here, I set the opacity to 75% and also threw in a shadow to show you how to apply more than one filter at a time.
On a similar note, there is also a way to have it perform some sort of filter when you mouseout of a menu...
Code:
outfilter="randomdissolve(duration=0.2);Shadow(color='#777777', Direction=135, Strength=5)";
If you just wanted the background to be totally gone, then zotsf hit the nail on the head. Otherwise, this is a way to do it too.
Poster: danone
Dated: Thursday July 3 2003 - 23:51:30 BST
nice! perfect! works great! thanks a million yo!
--daniel--
Poster: toasterhead2k
Dated: Wednesday July 16 2003 - 18:47:56 BST
Does the overfilter attribute have to be set for each menu individually, or can it be applied to the style so it'll cascade to all menus using that style? It might get a little tedious adding this to every single menu and sub-menu...
Edit: I tried adding the overfilter line in different places in the menu array, and it only worked in the menu declaration. Ah, well... Nothing a few ctrl-v's can't fix!