Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

When opening site wikitravel.org, the left pane gets shifted to the bottom of the page.

  • 2 отговора
  • 2 имат този проблем
  • 3 изгледи
  • Последен отговор от cor-el

more options

When I open http://wikitravel.org/en/Main_Page in Firefox 9.0.1, the navigation pane on the left gets shifted to the bottom of the page. Vertically, it starts where the right pane ends.

When I open http://wikitravel.org/en/Main_Page in Firefox 9.0.1, the navigation pane on the left gets shifted to the bottom of the page. Vertically, it starts where the right pane ends.

Избрано решение

You can ask the admin of this site to update their MediaWiki software, because it is outdated and uses broken browser sniffing. The problem is in this line in wikibits.js:
var is_khtml = (navigator.vendor == 'KDE' || ( document.childNodes && !document.all && !navigator.taintEnabled ));
This no longer works in Firefox 9 and above. Navigator.taintEnabled is no longer supported.
See http://forums.mozillazine.org/viewtopic.php?f=25&t=2392487

Прочетете този отговор в контекста 👍 1

Всички отговори (2)

more options

Избрано решение

You can ask the admin of this site to update their MediaWiki software, because it is outdated and uses broken browser sniffing. The problem is in this line in wikibits.js:
var is_khtml = (navigator.vendor == 'KDE' || ( document.childNodes && !document.all && !navigator.taintEnabled ));
This no longer works in Firefox 9 and above. Navigator.taintEnabled is no longer supported.
See http://forums.mozillazine.org/viewtopic.php?f=25&t=2392487

more options

That is caused by an old JavaScript that runs on that page and that is using the no longer supported navigator.taintEnabled() function to do improper browser sniffing.
That causes a stylesheet to be added that changes the margin of that menu causing it to get moved down.


(please do not comment in bug reports)