> What I was really saying with 'acting weird':. Let's say you have 3 > list items and you click the first one, it opens the way it should > (fade in). Clicking again closes the item as it should (fade out). You > can repeat it over and over and it performs right. BUT, if you click > for instance the second item (which also opens/closes as it should) > and you click the first one again, instead of fading in it appears > instantly, then flickers and does the fade in. Clicking doesn't fade > it out, it does the same thing over and over. Basically you're ok > clicking items you haven't opened yet, they all work properly, but > click one you already have clicked, it does this. > > I've tested your code also, but it does the same this as described. > Also, it looks as if your code doesn't like onclick AND onfocus. But > this may be something I did wrong though ;-)
Yes, this is behavior I saw too when you use onfocus in your <A> tag. Change that to Onclick and you will get what you want. -- HLS