Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index

As a first shot, this script hides unwanted list items.

Bad: It still ignores .debs and langpacks.
Good: Does not require any change on the page, but adding the code itself.

function get_item_recommendation()
    var ua = navigator.userAgent;

    if (ua.indexOf('Win') > -1)     return 'win32';
    if (ua.indexOf('Mac') > -1)     return 'mac';
    if (ua.indexOf('x86_64') > -1)  return 'linux64';

    return 'linux32';

function hide_items()
    var items = Array('win32', 'linux32', 'linux64', 'mac', 'source');

    var rec = get_item_recommendation();

    for (var i = 0; i < items.length; i++) {
        if (items[i] != rec) document.getElementsByClassName('dlnav-'
+ items[i])[0].style.display = 'none';

document.addEventListener('DOMContentLoaded', hide_items, false);


On Tue, Dec 7, 2010 at 1:14 PM, Christian Lohmaier
<> wrote:
Hi *,

On Tue, Dec 7, 2010 at 1:10 PM, Stefan Weigel
<> wrote:
Am 07.12.2010 12:34, schrieb David Nelson:

Our users are *not* supposed to be downloading from the test site.

I do not propose that users download from the test site. I am asking
for quick improvement of the currently official download page is a test and staging facility

No, it´s the construction site.

Yes, exactly. When going live just the "test" will be removed from the
URL, but the contents will be the same.

The test site is:

Correct again. All technical stuff affecting the CMS will be tried out
there before going live.
Also if you want to try major changes to the theme (the css), I'm
happy to try them out on pumbaa first.


Unsubscribe instructions: E-mail to
List archive:
*** All posts to this list are publicly archived for eternity ***

"Make sure that Office documents very well depends on PROPRIETARY IE
    Bill Gates, 1998.

Unsubscribe instructions: E-mail to
List archive:
*** All posts to this list are publicly archived for eternity ***


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.