Jump to content

User:Cuckooman4/css.js/doc

From Wikipedia, the free encyclopedia

Adds an "Edit -insert skin here-.css" link to the navigation menu.

Usage[edit]

Click the link to edit your user CSS.

Setting which portlet to add the link to[edit]

I'd put it in the toolbox, but I use it a lot, so I put it in navigation as default.

Use:

csslinkportlet = "-insert portlet id here-"

From Wikipedia:WikiProject_User_scripts/Techniques:

  • 'p-cactions'
    the tabs at the top of the page (with the article, discussion, edit, history, move, and watch links)
    'p-personal'
    the personal toolbar (i.e. the one at the top, with a link to user page, user talk, prefs, watchlist, contribs, log out)
    'p-navigation'
    the navigation toolbar (i.e. Main page, Featured Content, etc.)
    'p-interaction'
    the interaction toolbar, below the navigation toolbar
    'p-tb'
    the toolbox (What links here, Related changes etc.)

Installation[edit]

Add

importScript("User:Cuckooman4/css.js");

to your monobook.js or whatever skin you use.

It automatically figures out what skin you're using (there's a skin variable), so you don't have to set it.

Compatibility[edit]

Browser Compatible?
IE 6 Yes
FF 2 Yes