I want to make this image right here
Actually work like a search bar, I know it requires coding, mind helping me out?
Actually work like a search bar, I know it requires coding, mind helping me out?
#navbar-search {
position:relative;
display:inline-block;
opacity:1;
}
#nav-search-box, #nav-search-button { position:absolute }
#nav-search-form { display:inline }
#nav-search-box {
color:#FFF;
background:transparent;
border:1px solid transparent;
border-radius:9px;
top:17px;
left:14px;
width:172px;
height:20px;
padding:3px;
}
#nav-search-button {
background:transparent;
border:1px solid transparent;
width:100px;
height:40px;
top:12px;
right:16px;
}
$(function() {
var search = document.getElementById('i_icon_mini_search'), form;
if (search) {
form = document.createElement('FORM');
search = search.parentNode;
search.id = 'navbar-search';
search.onclick = function(e) { e.preventDefault() };
form.method = 'get';
form.action = '/search';
form.id = 'nav-search-form';
form.innerHTML = '<input id="nav-search-box" type="text" name="search_keywords"/><input id="nav-search-button" type="submit" value="" onclick="this.parentNode.submit();"/>';
search.appendChild(form);
}
});