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:24
Transparency in V5
Poster: fredlongworthhighschool
Dated: Wednesday July 23 2003 - 15:10:00 BST
I am looking into moving from V3 to V5 - lot of work ahead in converting!
But I can't seem to see an option to set the transparency of the drop down menus. Is it staring me in the face or not yet implemented? I'm also not sure in which file it is.
Am I also right in thinking that 3 files:
iframe_data.js
milonic_src.js
mmenudom.js
must be present to work. I know the iframe_data one contains your menus, but what are the others for and are they edited in any way?
Thanks
Poster: Hergio
Dated: Thursday July 24 2003 - 5:07:10 BST
See the OVERFILTER option of a menu described in this post below. Look at the alpha and shadow options that are used as examples.
http://www.milonic.co.uk/menu/forum/viewtopic.php?t=2014
Poster: fredlongworthhighschool
Dated: Thursday July 24 2003 - 8:24:28 BST
I see. But in which file is the line added and where, and does it activate itself or must you make the call somewhere in your array.js file?
Poster: fredlongworthhighschool
Dated: Friday July 25 2003 - 8:28:41 BST
Figured it out. I was putting
Code:
overfilter = "Alpha(style=0,opacity=70);Shadow(color='#666666', Direction=135, Strength=4)";
in the script too early and it was only making the main title transparent. I put this line directly into the settings of my sub-menu and it worked perfectly.
I thought you would have put the line somewhere at the start of the script and then just make a call to it?
Poster: Hergio
Dated: Friday July 25 2003 - 16:24:41 BST
No, as far as I can tell, you have to specify the overfilter on any menu you want it to affect. I tried making the filter a part of a style and applying that style to a menu, but to no success. Each menu has to have the overfilter attribute set.
But you CAN do this at the beginning of the file...
Code:
myfilter = "Alpha(style=0,opacity=90);Shadow(color='#666666', Direction=135, Strength=4)";
//// and then below in your menu creation you say... ///
...
overfilter = myfilter;
...
//// and then below in your menu creation you say... ///
...
overfilter = myfilter;
...
That worked for me!