User:Usability test user/global.js

// Please do not remove this code snippet // It's required for Wikia in-house usability testing experiment done by DATA/API team // @author: Rafal Leszczynski, rafal[at]wikia-inc.com function moveSearch { var $searchForm = $('#WikiaSearch'), $header = $('#WikiaHeader'), $page = $('#WikiaPage'), $globalNav = $('#GlobalNavigation'), styles = '#WikiaSearch .autocomplete { background-color: white} #WikiaSearch input { width: 400px } #WikiaSearch .autocomplete .selected { background-color: #d4dcf0}'; $header.css({       position: 'fixed',        width: '100%'    }); $page.css('marginTop', '37px'); $searchForm.detach.insertBefore($globalNav); $globalNav.remove; $searchForm.parent.css( {       color: '#3a3a3a',        marginTop: '2px',    }); $('head').append(' ' + styles + ' '); } moveSearch;