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
Where did my opacity go??
- fredlongworthhighschool
- Mega Advanced
- Posts: 362
- Joined: Fri Jun 27, 2003 11:34 am
- Location: Manchester, England.
- Contact:
Re: Where did my opacity go??
Hi Trite,
Cheers,
Kevin
It's been commented out in your menu_data.js file.Trite wrote:Where did my opacity go??
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).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.
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).No code regarding these features has been changed and if I run menu.html still everything works fine. What gives?
Cheers,
Kevin