Hi, I am running v. 3.3.19 on my site HERE and there is shadow on the main menu and sub-menus but I'm trying to setup v. 3.5.10 (see HERE)and the is shadow on sub-menus but NOT on the main menu.
NOTE: I already gave a shot at this topic ( http://www.milonic.co.uk/menu/forum/vie ... ght=shadow ) but I still don't understand.
Thx for helping a little newb like me!
HeReDaGo
No shadow on main menu ?
Hi,
At the top of your menu_array.js files, you'll see that there is a filter effect defined in a string variable called "effect".
You can define as many different effect strings as you want, each in a different string variable. Whenever you want to apply an effect to a menu, use the effect's variable name as the 10th element in the menu array. You'll notice, for example, that on your 3.3.19 site, the 10th element of the "mainmenu" array is effect; hence, you get the effect defined in the string variable named effect. However, on your 3.5.10 page, the "mainmenu" array's 10th element is blank, so no effect.
A couple of other points: (1) Notice that one of your menu_array.js files tests the IE version, because IE5.5 can only handle one effect, but 6 can combine effects. (2) NS doesn't do effects.
Hope that helps,
Kevin
At the top of your menu_array.js files, you'll see that there is a filter effect defined in a string variable called "effect".
Code: Select all
effect = Fade(duration=0.2).... etc.
A couple of other points: (1) Notice that one of your menu_array.js files tests the IE version, because IE5.5 can only handle one effect, but 6 can combine effects. (2) NS doesn't do effects.
Hope that helps,
Kevin
shadow
Sorry, I don't understand how you did it! I had noticed in my new IE6 there was a soft drop shadow on the popout menus, but not the main menu. I had just thought this was a property of IE, and not something you could set. But then I saw the nice soft shadow on Andy's floating menu on the main milonic page, and wondered how to do it.
I have
effect = "Fade(duration=0.3);Shadow(color='#999999', Direction=135, Strength=5)"
but don't get a soft drop shadow on the main menu, only the parts that come out. I'd be very grateful to know how to do it!
thanks
Tony
I have
effect = "Fade(duration=0.3);Shadow(color='#999999', Direction=135, Strength=5)"
but don't get a soft drop shadow on the main menu, only the parts that come out. I'd be very grateful to know how to do it!
thanks
Tony
Hi Tony,
Assuming that
is at the top of your menu array file (often called menu_array.js), then you have an effect defined in a variable called effect. You can apply that effect to any menu, including your main menu, by placing the word
effect
in the 10th element of menu's array.
Hope that helps,
Kevin
Assuming that
Code: Select all
effect = "Fade(duration=0.3);Shadow(color='#999999', Direction=135, Strength=5)"
effect
in the 10th element of menu's array.
Hope that helps,
Kevin