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: Thursday February 8 2018 - 06:02:28

drop shadow creeps down the screen ?

Poster: Russell Conder
Dated: Tuesday August 19 2003 - 2:02:38 BST

:!: Hi guys. Here's an odd problem. The menu is sometimes perfect, and at other times the shadow beneath the menu starts creeping down the screen.
Here are some screenshots:
Weird huh ?
Any advice would be greatly appreciated.
The menu coding is awesome. Just found it.
best regards
Russell :|

Poster: Hergio
Dated: Tuesday August 19 2003 - 14:05:40 BST

We've said this before, alot, but do you have a URL we could see the menu in action? It makes it a whole lot easier to see what you are talking about and find the problem down to the line in your code.

But as I always try to do, lets see if we can nail this without seeing it; a shot in the dark if you will. ;) The think the problem lies in your style (more specfically you're overfilter and outfilter). When you declare the shadow filter, you have to specify its strength and size, a guy here once set it too high and it cause some crazy things. Make sure the strength and size are no more than 1 or 2. See if that clears it up.

U..R..L......U..R..L......U..R..L...... ;)

Poster: Russell Conder
Dated: Wednesday August 20 2003 - 2:58:04 BST

Sorry Dave.
The URL is
a draft

Poster: Hergio
Dated: Wednesday August 20 2003 - 15:15:11 BST

Couple things I noticed, lets see if anything of them are the culprit... 8)

First in your first style (menuStyle):
There is no 'status' attribute for styles, those must be defined in the menuItem take this out. There is also no topbarimage property of a style. Now this style is only used by the top menu which is always visible, so your over and out filters are a problem since there is no transitions. So make outfilter = "" and take the Fade filter out of your overfilter. Its ok to leave the alpha and shadow (I think) because they will stay with the menu at all times.

Secondly in your first main menu (Menu):
you specify a top and left pixel position AND screenposition. These contradict each other. I tried it on my machine and the top/left seem to override the screen position, but I think it would be a good idea to remove this just in case.

Thats about what I can see at the moment. Your shadow filter seems fine at a strength of 3. I actually have my own set to 4, so I see nothing there. Try changing these things and hopefully it will work.

Poster: Russell Conder
Dated: Wednesday August 20 2003 - 17:32:06 BST

Dave, I do believe your trained and professional eye got it ! Thanks a lot. That'll teach me to do things at 4 in the morning :) Thanks

Poster: Hergio
Dated: Wednesday August 20 2003 - 17:46:45 BST

Glad we nipped it in the bud! :D Some of my best work is done at 4am, well, not really. :lol:

Poster: Russell Conder
Dated: Wednesday August 20 2003 - 18:47:55 BST

one question though -- I'd like to bring the fade back. It's a great feature. Does that mean finding an image ? It's now 5.47 in the am, couldn't sleep, wotthehell, might as well do some work :-))

Poster: Hergio
Dated: Wednesday August 20 2003 - 19:33:59 BST

Why do you want to keep the fade on the top most menu? It only will fade in once (at load time) and stay that way. Try putting it back in and see if that specifically was the problem, if it still works, then by all means leave it in there.

BTW, you can still leave the fade in the filters you have in the style2 (which you use on the submenus) so they still fade in and out. That filter on the submenus wouldnt have been causing the problem you were seeing on the topmost menu, as far as I can see.

Poster: Russell Conder
Dated: Wednesday August 20 2003 - 23:07:52 BST

Yes thanks dave -- I've experimented with putting the fade back in the 2nd tier menus and it's as happy as a .... thanks again for the help.