PDA

View Full Version : Trouble Tweeking AnyLink



weluna
05-04-2007, 03:56 PM
1) Script Title: AnyLink Drop Down Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/dropmenuindex.htm

3) Describe problem: AnyLink menu is activated my onMouseOver of a <td>, I'm trying to have the bgcolor of the td change with the menu, so it looks like one unit. The bgcolor is sticking sometimes onMouseOut also making the table "jiggle" a little bit when the menu appears.

Check it out http://www.sprucenubblefarm.com/index_NEW.php

Thanks is advance for any help!

-Amy

jscheuer1
05-04-2007, 04:23 PM
The demo page for this script states that it should go in the head of the page. The fact that you have it in the same table cell as the table that is using it could be the 'jiggle' problem.

Now, I happen to disagree with the demo page instructions, slightly. Since the script writes a division to the page, it should be in the body. But, as the division is meant to be outside of any other markup and positioned absolutely, the script should either be the first thing after the opening <body> tag or the last thing before the closing </body> tag. First thing is probably best (I have tested this and it works well). The style section (as with all style sections) belongs in the head of the page.