Thủ thuật Blogger hôm nay mình giới thiệu tới các bạn là thêm hộp khung box tìm kiếm cho blogspot. Ở bài viết Khung tìm kiếm cho blogger mình cũng đã giới thiệu cách thêm thủ thuật này. Tuy nhiên, ở bài viết này mình giới thiệu nhiều mẫu hơn, và màu sắc có vẻ 3D trong và sắc nét tươi tắn hơn ^^
CODE:
CODE:
CODE:
CODE:
CODE:
Chúc các bạn thành công !
Cách làm thủ thuật:
1. Chọn mẫu ô tìm kiếm mình yêu thích
2. Vào bảng điều khiển blogger -> Bố cục (Layout) -> Thêm tiện ích (Add a Widget) -> HTML/Javascript
3. Dán Code mẫu ô tìm kiếm đã lựa chọn vào tiện ích vừa thêm
MẪU KHUNG Ô TÌM KIẾM:
- Mẫu 1:
<style type="text/css">
#helperblogger-searchbox {
border-radius: 5px;
background: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsOq4yenoo6erD4D9XHZZ6nWVpJS9d3nX8d2lcSc1j1zMzAl5Kgh1czwg5-tgxhk02HXmZAA_-oL7294By2E5vnjTAspBARZnKyHycxmyTkGPx8LryIMZPU-109BNvG8YKo_0Ei7CFegE/s1600/helperblogger.com-green.png) no-repeat scroll center center transparent;
width: 307px;
height: 50px;
disaply: block;
}
form#helperblogger-searchform {
display: block;
padding: 9px 16px;
margin: 0;
}
form#helperblogger-searchform #s {
padding-left: 24px !important;
padding: 7.5px;
margin: 0;
width: 198px;
font-size: 16px;
font-family: georgia;
font-style: italic;
color: #666666;
vertical-align: top;
border: none;
background: transparent;
}
form#helperblogger-searchform
#sbutton {
margin: 0;
padding: 0;
height: 40px;
width: 74px;
vertical-align: top;
border: none;
background: transparent;
}
</style>
<div id="helperblogger-searchbox">
<form id="helperblogger-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}'
onblur='if (this.value == "") {this.value = "Search...";}' />
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton"
/>
</form>
</div>
- Mẫu 2:
<style type="text/css">
#helperblogger-searchbox {
border-radius: 5px;
background: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6JdFF1b6vnTQZf5tC635Zki7hpn42cXrqUK3TmqMSnkIf3HETVvABr4yAybSl2gJS8cA7ad8Xusl84DAwqJf6vW2EJJeWnffUlNejo5a-s1jNgRBhP_zlZOEzwQTJnr-DzZ15mrbHwBE/s1600/helperblogger.com-blue.png) no-repeat scroll center center transparent;
width: 307px;
height: 50px;
disaply: block;
}
form#helperblogger-searchform {
display: block;
padding: 9px 16px;
margin: 0;
}
form#helperblogger-searchform #s {
padding-left: 24px !important;
padding: 7.5px;
margin: 0;
width: 198px;
font-size: 16px;
font-family: georgia;
font-style: italic;
color: #666666;
vertical-align: top;
border: none;
background: transparent;
}
form#helperblogger-searchform
#sbutton {
margin: 0;
padding: 0;
height: 40px;
width: 74px;
vertical-align: top;
border: none;
background: transparent;
}
</style>
<div id="helperblogger-searchbox">
<form id="helperblogger-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}'
onblur='if (this.value == "") {this.value = "Search...";}' />
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton"
/>
</form>
</div>
- Mẫu 3:
<style type="text/css">
#helperblogger-searchbox {
border-radius: 5px;
background: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7gCOT1dVCtzc2GuAkiOtZ6YQ8cuPK4xP08Za8zk8geK5MMAADGW2U7Ywup2QuGLQuI7LC8IG0aQxc0d63Y03QzYotzy-IQzBxHX3nK5CxF3QwGOz22teydktaZGhp4JQ38HbWtxIYKK4/s1600/helperblogger.com-orange.png) no-repeat scroll center center transparent;
width: 307px;
height: 50px;
disaply: block;
}
form#helperblogger-searchform {
display: block;
padding: 9px 16px;
margin: 0;
}
form#helperblogger-searchform #s {
padding-left: 24px !important;
padding: 7.5px;
margin: 0;
width: 198px;
font-size: 16px;
font-family: georgia;
font-style: italic;
color: #666666;
vertical-align: top;
border: none;
background: transparent;
}
form#helperblogger-searchform
#sbutton {
margin: 0;
padding: 0;
height: 40px;
width: 74px;
vertical-align: top;
border: none;
background: transparent;
}
</style>
<div id="helperblogger-searchbox">
<form id="helperblogger-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}'
onblur='if (this.value == "") {this.value = "Search...";}' />
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton"
/>
</form>
</div>
- Mẫu 4:
<style type="text/css">
#helperblogger-searchbox {
border-radius: 5px;
background: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyfv8XA7VzgV69tcrfgztTNcFUvsUrBoTPw1fxJ3Pcws3qb3wTlMOZvuYls0rtyRiE-6BzwbUjEOJmCAOnaH4NruT7C3GFG40nVmQ-p3zjD9BOKBcpDuXt1S7o_JIiIMpGzH9L5dw3jgk/s1600/helperblogger.com-purple.png) no-repeat scroll center center transparent;
width: 307px;
height: 50px;
disaply: block;
}
form#helperblogger-searchform {
display: block;
padding: 9px 16px;
margin: 0;
}
form#helperblogger-searchform #s {
padding-left: 24px !important;
padding: 7.5px;
margin: 0;
width: 198px;
font-size: 16px;
font-family: georgia;
font-style: italic;
color: #666666;
vertical-align: top;
border: none;
background: transparent;
}
form#helperblogger-searchform
#sbutton {
margin: 0;
padding: 0;
height: 40px;
width: 74px;
vertical-align: top;
border: none;
background: transparent;
}
</style>
<div id="helperblogger-searchbox">
<form id="helperblogger-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}'
onblur='if (this.value == "") {this.value = "Search...";}' />
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton"
/>
</form>
</div>
- Mẫu 5:
<style type="text/css">
#helperblogger-searchbox {
border-radius: 5px;
background: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi175BjoPx1bLRyzcJJ_fZ-koYR8hGoAZiT33MsDzByKR4qJmh8m7unkobdQPbGyGrHreFG9Na_aMN0NmL3uwDF2lwDHTZatKa3PPw-w6DsiqHlGap6RsmnrxsU51UQWgea_bU9RZIjeeY/s1600/helperblogger.com-red.png) no-repeat scroll center center transparent;
width: 307px;
height: 50px;
disaply: block;
}
form#helperblogger-searchform {
display: block;
padding: 9px 16px;
margin: 0;
}
form#helperblogger-searchform #s {
padding-left: 24px !important;
padding: 7.5px;
margin: 0;
width: 198px;
font-size: 16px;
font-family: georgia;
font-style: italic;
color: #666666;
vertical-align: top;
border: none;
background: transparent;
}
form#helperblogger-searchform
#sbutton {
margin: 0;
padding: 0;
height: 40px;
width: 74px;
vertical-align: top;
border: none;
background: transparent;
}
</style>
<div id="helperblogger-searchbox">
<form id="helperblogger-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value="Search..." onfocus='if (this.value == "Search...") {this.value = ""}'
onblur='if (this.value == "") {this.value = "Search...";}' />
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton"
/>
</form>
</div>
Chúc các bạn thành công !
No comments:
Post a Comment
Đã có một nhận xét mới trên Blog,, cần bạn vào suppost