Author: tom
Description:
Sometimes when you move your mouse over the main page logo, IE sends a HTTP request for it and flickers
the image whilst doing so.
Primarily this occurs when the logo URL redirects to the actual image (as currently happens on some
Wikimedia projects), but I've seen it happen previously under other circumstances, so it's best to make
sure this can never happen.
Simply applying the logo image to any element than <a> fixes it, so...
Change /templates/xhtml_slim.pt, line 59 to:
<div class="portlet" id="p-logo"> <a href="${nav_urls/mainpage/href}" i18n:attributes="title string:mainpage"><span style="background-
image: url(${logopath});"></span></a>
</div>
And then update /stylesheets/monobook/main.css, line 601 (replace #p-logo a, #p-logo a:hover):
#p-logo a {
text-decoration: none;
}
#p-logo a span {
display: block; height: 155px; width: 12.2em; background-repeat: no-repeat; background-position: 35% 50% !important;
}
Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC