transparency with javascript fade in stronger

Post your questions and problem reports here.

transparency with javascript fade in stronger

Postby CodeChegga » Wed Dec 04, 2013 2:20 am

If i'am using opacity 0.9 in css rules - the 2nd level submenu is fine with a little transparency.
If there is your mbjsmbmcp.js included in the code, there is a much more heavier transparency activated.
Seems like 50% opacity. How can i adjust this effect if the javascript fade in is added?

Thanks for help
CodeChegga
 
Posts: 18
Joined: Fri May 21, 2010 10:25 am

Re: transparency with javascript fade in stronger

Postby Aivars » Wed Dec 04, 2013 8:29 pm

I'm unable to reproduce this, maybe there's some css affecting submenus in the page. Can you put the test page somewhere online and send me the link so that I can take a look?
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2453
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: transparency with javascript fade in stronger

Postby CodeChegga » Thu Dec 12, 2013 2:00 am

Here some testpages:
page with your js file
http://www.betten-fueger.de/index2013.php

page without your js file
mbjsmbmcp.js
http://www.betten-fueger.de/index2013no-js.php
has much more opacity.
CodeChegga
 
Posts: 18
Joined: Fri May 21, 2010 10:25 am

Re: transparency with javascript fade in stronger

Postby CodeChegga » Thu Dec 12, 2013 2:24 am

And i also missing the possibility to keep the hot background picture active for the Level1 Button, if i'am moving into the submenu list.
Actually the button falls back to normal state.

thanks for help
Rainer
CodeChegga
 
Posts: 18
Joined: Fri May 21, 2010 10:25 am

Re: transparency with javascript fade in stronger

Postby Aivars » Thu Dec 12, 2013 12:13 pm

It seems that the css file is manually modified in your page. For an example in http://www.betten-fueger.de/bf_menu_fil ... 133x40.css,

Code: Select all
#mbmcpebul_table.css_menu ul li:hover > ul {
    opacity: 0.95;
}


Easy Button and Menu maker uses 0.8 by default. If you also want to use 0.95 in .js version, just replace
var cbnMenuAlpha = 0.80
with
var cbnMenuAlpha = 0.95
in .js file.

Regarding the hot state - it's a known bug, it happens only for image-based menus and only when the JavaScript is not available. Fixing it requires changes in the generated menu structure so we are saving it for the next big upgrade. But if you use .js file with your menu then it shouldn't be a problem.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2453
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia


Return to Easy Button & Menu Maker Support

Who is online

Users browsing this forum: No registered users and 12 guests

cron