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: Saturday July 14 2012 - 06:07:55

Where did my opacity go??


Poster: Trite
Dated: Monday January 31 2005 - 14:31:10 GMT

Where did my opacity go??

I unzipped all the files into the same directory and ran the included menu.html file and there is opacity. When I put this code into my page there is not! None! Also, there is no shadow anymore.

No code regarding these features has been changed and if I run menu.html still everything works fine. What gives? Thanks for the help people!

-Trite


Poster: fredlongworthhighschool
Dated: Monday January 31 2005 - 16:11:13 GMT

We really need to see an example of your page before we can make any comment or fault-finding.

Plus can you tell us which OS and browser and version you are using.


Poster: Trite
Dated: Monday January 31 2005 - 16:50:58 GMT

take a look at easternct.edu

Opacity is at 90 percent and shadow is at 5, but they just arent there.

Re: Where did my opacity go??


Poster: kevin3442
Dated: Monday January 31 2005 - 17:34:15 GMT

Hi Trite,
Trite wrote:
Where did my opacity go??

It's been commented out in your menu_data.js file.

Quote:
I unzipped all the files into the same directory and ran the included menu.html file and there is opacity. When I put this code into my page there is not! None! Also, there is no shadow anymore.

Opacity, etc. is controlled by the overfilter(s) and outfilter(s) you define in your menu_data.js file. The menu_data.js file in the samle and the one on your site are different. When you upload the updated menu source code, you do not upload the sample menu_data.js file (so as to preserve your own site's menu system). The menu_data.js file in the sample includes the necessary overfilter and outfilter for opacity and shadow. The one on your site does not (because those lines of code are currently commented out).

Quote:
No code regarding these features has been changed and if I run menu.html still everything works fine. What gives?

It's the difference between running the local sample and running the code on your site: two different menu_data.js files (note again, do NOT upload the samples menu_data.js file, or you'll destroy your site's menu system). The overfilter and outfilter in your menuStyle have been commented out (note the // at the beginning of those lines of code). From the browser's point of view, the code doesn't exist at all. Uncomment those two lines in your menuStyle and your filters will work (in IE5.5+ only).

Cheers,

Kevin