Fix for indicator arrows creeping down in Google Chrome

Two level, smoothly expanding, search engine friendly accordion menu.
Post Reply
norman
Site Admin
Posts: 1238
Joined: Sat Feb 07, 2004 9:55 pm

Fix for indicator arrows creeping down in Google Chrome

Post by norman » Thu Oct 04, 2012 9:34 am

If using Accordion Menu 2.14 or earlier, the indicator arrows for Sections below the one being manipulated creep down the page when a Section is repeatedly opened and closed. Seems to only happen when using Google Chrome or another WebKit based browser.

Fix is as follows:

Go to Design / Library / Layouts / Accordion Menu / Glossy Accordion Menu Setup.

Look near the top for the lines:

Code: Select all

	var plusimage = "<img src='accordion-<actinic:variable name="AM-MenuBackground" />-<actinic:variable name="AM-ArrowType" />-plus.png' class='statusicon' />";
	var minusimage = "<img src='accordion-<actinic:variable name="AM-MenuBackground" />-<actinic:variable name="AM-ArrowType" />-minus.png' class='statusicon' />";
Replace them with:

Code: Select all

	var plusimage = "<div class='statusicon'><img border='0' src='accordion-<actinic:variable name="AM-MenuBackground" />-<actinic:variable name="AM-ArrowType" />-plus.png' /></div>";
	var minusimage = "<div class='statusicon'><img border='0' src='accordion-<actinic:variable name="AM-MenuBackground" />-<actinic:variable name="AM-ArrowType" />-minus.png' /></div>";
Norman

Post Reply