பயனர்:Shrikarsan/VectorSearchNav.js
குறிப்பு - சேமித்த பின்னர், நீங்கள் செய்த மாற்றங்களைக் காண்பதற்கு உங்கள் உலவியின் இடைமாற்று அகற்றப்பட வேண்டும்.
- மொஸில்லா பயர்பாக்ஸ் / சபாரி: Shift+Reload, அல்லது Ctrl-F5 அல்லது Ctrl-R (⌘-R Mac ல்)
- கூகிள் குரோம் Ctrl-Shift-R அழுத்தவும். (⌘-Shift-R Mac ல்) ;
- இண்டர்நெட் எக்ஸ்ப்ளோரர்: Ctrl-Refresh அல்லது Ctrl-F5 ஐ அழுத்தவும்.
- ஒபேரா: Tools → Preferences இல் இடைமாற்றை அகற்றவும்;
/**
* VectorSearchNav: Puts the searchbar in the left column in the Vector-skin.
* Created on February 8, 2014
* @version 1.1.0 (2012-03-04)
* @source ta.wikipedia.org/wiki/பயனர்:Shrikarsan/Scripts/VectorSearchNav
*/
/*jslint browser: true*/
/*global jQuery:false, mw:false*/
jQuery(document).ready(function ($) {
// Move bar to the left
$('#p-search').prependTo('#mw-panel');
$('#p-search').attr('id', 'custom-search');
// Make it look better
$('#custom-search').attr('class', 'portal persistent');
$('#p-navigation').removeClass('first');
$('#simpleSearch').attr('class', 'body').css('width', '8em');
// Fix up the dropdown menu
$('div.vectorMenu ul').css('right', '0');
$('#right-navigation').css('margin-right', '1em');
mw.util.addCSS('#simpleSearch label { left: 0.5em !important; } .suggestions { left: 19px !important; }');
$('body > .suggestions').css('left', '19px !important').css('right', 'auto !important');
});