Email conversation
From | Chris Goemans |
To | Me |
Subject | Vertical Menu background image flicker solution |
Date | 26 October 2007 23:23 |
Hi Mark.
I have adapted your CSS Menu to use background images for LI elements that
have submenus. It works fantastic in FireFox and IE. However, the
background image flickers when navigating the menu tree. Your solution is
much cleaner than the one I have been using for the past 3 years.
I did a search and came across a solution that resolved the problem and
thought you might want to add it to your HTC file.
Your page: http://www.howtocreate.co.uk/tutorials/testMenu.html
IE6 Flicker Solution Page: [URL] :: as referenced from
[URL]
Lines you might want to add to the IEmen.htc file:
// eliminate IE6 background image flicker.
try {
document.execCommand("BackgroundImageCache", false, true);
} catch(ex) {
alert("Error occured: " + ex.message);
}
Cheers,
.Chris.
Chris Goemans
From | Me |
To | Chris Goemans |
Subject | Re: Vertical Menu background image flicker solution |
Date | 23 October 2007 13:28 |
Chris,
> I did a search and came across a solution that resolved the problem and
> thought you might want to add it to your HTC file.
Nice. There's no need to add it to my HTC file, since I do not use images.
However, I will add a note about it so other authors can use it if they need
to. Thanks for sharing.
Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/