PDA

View Full Version : Odd Image Behavior in IE7 and Firefox 3 with AnyLinkMenu



icywindow
03-03-2010, 06:10 PM
1) Script Title: AnyLink JS Drop Down Menu v2.2

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

3) Describe problem:
Refer to http://ectv.biz/
I'm using images (200x40) for the buttons instead of the text for a (somewhat) stylized look.

Two behaviors that are odd on this website.
#1: In IE7, when you click on a submenu item, the next incarnation of the menu that loads has a space after that submenu item.
#1 RESOLVED - Fixed by adding a doctype declaration at the top of the document, namely:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

#2: In Firefox 3, when you click on a main menu item, it renders with the menu elevated, where there's space from the background offsetting the main menu item by appx. 4 pixels.
The DD script is available in the /scripts/ folder on the website.

icywindow
03-05-2010, 07:45 PM
Any help for the second part? Is it an HTML problem, or is it a problem with the script, or is it something else?