دروستکردنی ( سێرچ بۆکس ) ( Search Box ) بۆ بلۆگەرەکەت بە شێوازێکی نوێ و بە ڕەنگی جیاواز
١ - بچۆرە حسابەکەت لە بلۆگەر و Layout بکەرەوە .
٢ - کلیک لەسەر Add Gadget and select بکەوHTML/Javascript’ هەڵبژێرە ‘
٣ - پاشان ئەم کۆدەی لای خوارە کۆپی بکە و لەوێ پەیستی بکە و پاشان کلیک لەسەر Save arrangement بکە واتە سەیڤی بکە .
بۆ ستایلی ( ١ )
<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTNMgSDV7DBreQ4TyRQQXf05YqO2I3eFE81M0a0NDyJ7aGUmjtGzss1tzpKMYUjSMzbS_Z136ax3ITPeOBww97E8WI8lXuxQ9nwJc7352_t9P_oq4t2Y9j70TEa1LfNUBDMVy0LIcSl0T0/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#w2b-searchform{display: block;padding: 10px 12px;margin:0;}
form#w2b-searchform #s{padding: 6px;margin:0;width: 235px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>
<div id="w2b-searchbox">
<form id="w2b-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>
بۆ ستایلی ( ٢ )
<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7t34Ic-tkOrIf-mU6D7r0RN9iD0lr3XiF29Ugxrp1_2jMWUg_ycoBbD9sIKM0X2EZKidZUMvK6aydj6FYBdBrBChn-o5zag0r5hW5yEQuaJdaYGHNwCdGazvlPdPGlELa_CiZhKARGEkl/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#w2b-searchform{display: block;padding: 10px 12px;margin:0;}
form#w2b-searchform #s{padding: 6px;margin:0;width: 235px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>
<div id="w2b-searchbox">
<form id="w2b-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>
بۆ ستایلی ( ٣ )
<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiPk8oTDHxDxNINLbCMzHeVHBjnqgejHM5WYXqEVUBWNr9m8XN5UhWE-GmgpWLrxdlQfCpmNWQVAykjhUWK1uolILKYyHO3cPr1YPEZzZCbDR2trqT70cBerVkkRJqMEZGMi2Ss4DgONdc/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#w2b-searchform{display: block;padding: 10px 12px;margin:0;}
form#w2b-searchform #s{padding: 6px;margin:0;width: 235px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>
<div id="w2b-searchbox">
<form id="w2b-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>
بۆ ستایلی ( ٤ )
<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXHzQfihAMouqg6kwIZPJVzc7d551HpLz0pDQ2eZd0ez7LAdMn9PhSqacOct7LhtSVWoEGzmEwWAcb6tFfCxfGk2ly6h0P2c0r4emIB6GpBor4vCDpeem02God4diMpRXzg3BlmlB57ihV/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#w2b-searchform{display: block;padding: 12px;margin:0;}
form#w2b-searchform #s{padding: 6px 6px 6px 26px;margin:0;width: 215px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>
<div id="w2b-searchbox">
<form id="w2b-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value=""/>
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton" />
</form>
</div>
بۆ ستایلی ( ٥ )
<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjipz9FYqTjM8Crkxf49UvgrbL3uT7LN0YxocQH4Y_EwbrF0kkmIR43HrzFx8wE1kfkD7fQzdQPLRNp70kQB8EseW4XFhgKka45XzNJHviR8BJUbXbKlAjYyFu0vdtvAX6nQspc62XqWEhX/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#w2b-searchform{display: block;padding: 12px;margin:0;}
form#w2b-searchform #s{padding: 6px 6px 6px 26px;margin:0;width: 215px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>
<div id="w2b-searchbox">
<form id="w2b-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value=""/>
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton" />
</form>
</div>
بۆ ستایلی ( ٦ )
<style type="text/css">
#w2b-searchbox{background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivgDtIms3hI7Xg82ycFtb7ABaG2-ZjppBdbNksLRAvS3aO-I3_5rfiR68ix5OVEsgrLAYWrlCd72eaVr6D6tybtglQi3lqWR6F2Cu6M6PGPyRD_xqDHIdhuZfES03AxEpkp0oiKGyi4C5g/) no-repeat scroll center center transparent;width:307px;height:50px;disaply:block;}
form#w2b-searchform{display: block;padding: 12px;margin:0;}
form#w2b-searchform #s{padding: 6px 6px 6px 26px;margin:0;width: 215px;font-size:14px;vertical-align: top;border:none;background:transparent;}
form#w2b-searchform #sbutton{margin:0;padding:0;height:30px;width:30px;vertical-align: top;border:none;background:transparent;}
</style>
<div id="w2b-searchbox">
<form id="w2b-searchform" action="/search" method="get">
<input type="text" id="s" name="q" value=""/>
<input type="image" src="http://img1.blogblog.com/img/blank.gif" id="sbutton" />
</form>
</div>
ليست هناك تعليقات:
إرسال تعليق