Ubuntu-it Forum Fixed Header

Script per rendere sempre visibile il menu superiore del forum

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name        Ubuntu-it Forum Fixed Header
// @description Script per rendere sempre visibile il menu superiore del forum
// @namespace   forum.ubuntu-it.org/*
// @include     http://forum.ubuntu-it.org/*
// @version     20140513
// @grant       none
// ==/UserScript==

jQuery(document).ready(function(){
  
  jQuery('#fixed-header').css({
    position:'fixed',
    top: '0px',
    width: '100%',
    backgroundColor: 'white',
    boxShadow: '2px 2px 5px #CCC',
    height: '110px',
    zIndex: 9e9
  });
  jQuery('#wrap').css({ marginTop: '120px' });
});