Loading...

Cara menghasilkan Kotak langganan bersama kotak carian

Tuesday, May 25, 2010

Tutorial ini berguna untuk dipaparkan di blog korang kerana ia boleh menghiasi blog disamping pelawat boleh melanggan dan melawat laman sosial blog korang. penggunaan feedburner adalah amat penting khususnya kepada blogger bagi mendapatan trafik yang kekal di dalam memantapkan blog atau site korang. korang boleh lihat contoh untuk tutorial ini.



1.Login ke dashboard blogger korang -->klik Design --> klik Edit HTML

2.Cari kod </head>. copy kod ini dan tekan Ctrl+F di keyboard untuk carian.

3.Copy kod dibawah ini dan paste sebelum kod </head> tadi .

<style type="text/css">
.subbox{width:305px;border:0 solid #141414;overflow:hidden}
.addthis_toolbox{padding:15px 0 5px 0;text-align:center}
.addthis_toolbox .custom_images a{width:32px;height:32px;margin:0 4px 0 4px;padding:0}
.addthis_toolbox .custom_images a:hover img{opacity:1}
.addthis_toolbox .custom_images a img{opacity:0.85}
.rssbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.rssbox:hover{border:1px solid #92aed1}
.rssbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.rssbox a:hover{color:#7c8a9b;text-decoration:underline}
.emailsbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.emailsbox:hover{border:1px solid #92aed1}
.emailsbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.emailsbox a:hover{color:#7c8a9b;text-decoration:underline}
.twitterbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.twitterbox:hover{border:1px solid #92aed1}
.twitterbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.twitterbox a:hover{color:#7c8a9b;text-decoration:underline}
.facebookbox{background:#f7f6f6;border:1px solid #ccd1d7;padding:5px 10px;margin:10px 0 0 0;-moz-border-radius:10px;-khtml-border-radius:10px;-webkit-border-radius:10px;border-radius:10px;width:125px}
.facebookbox:hover{border:1px solid #92aed1}
.facebookbox a{color:#7c8a9b;text-transform:uppercase;text-decoration:none;font:bold 12px Arial,Helvetica,Sans-serif}
.facebookbox a:hover{color:#7c8a9b;text-decoration:underline}
#search{width:290px;padding:2px 2px;background:#f7f6f6;border:1px solid #ccd1d7;height:28px;margin-top:0;margin-left:5px;display:inline;float:left}
#search:hover{border:1px solid #92aed1}
#search form{margin:0;padding:0}
#search fieldset{margin:0;padding:0;border:none}
#search p{margin:0;font-size:85%}
#s{width:200px;margin:0 0 0 0;padding:5px 5px 5px 5px;border:none;font:normal 80% &quot;Tahoma&quot;,Arial,Helvetica,sans-serif;color:#000;float:left;background:#f7f6f6;display:inline}
input#searchsubmit{float:right;display:inline;margin:0 0 0 0;height:28px;background:#b2b2b2;color:#000;border:0 solid #222}
</style>

Klik save template.

4.Klik pada Design --> Page Elements dan klik pada "Add a gadget".

5.pilih "html/java script" dan copy kod dibawah lalu paste pada gadget html/javascript tadi.

<div class="subbox">
<div id='search' style='display:inline;'>
<form action='/search' id='searchform' method='get'>
<input id="s" name="q" onblur="if (this.value == &quot;&quot;) {this.value = &quot;Search...&quot;;}" onfocus="if (this.value == &quot;Search...&quot;) {this.value = &quot;&quot;;}" type="text" value="Search..." />
<input id="searchsubmit" type="submit" value="Search" />
</form>
</div>
<table><tr>
<td><div class="rssbox">
<a href="http://feeds.feedburner.com/FEEDBURNER-ID" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWKGnhJRkfTdno78NHh9X2NSXHaOa9Q4ij3e_jld62qwTspSop6o6F82YtMjvH_Bvjtv7inqni6ASU6-zLVVm4eowj0dOwEdMompr5OdIu8T6KkkUVHwX9vVsOREkEX_6hyphenhyphenxnSYebe11hY/" alt="RSS Feed" title="RSS Feed" style="vertical-align:middle; margin-right: 5px;border:none;" /></a><a href="http://feeds.feedburner.com/FEEDBURNER-ID" target="_blank" rel="nofollow">RSS Feed</a>
</div></td>
<td><div class="emailsbox">
<a href="http://feedburner.google.com/fb/a/mailverify?uri=FEEDBURNER-ID" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrAgqLuBkfnGrTfpVAV2kiuNfq8v7hCg7t-gf9u5w8zWRiyd9pH7oYQMaCfG36VpsMYs5D_hU6CcaGoEzEMKdoUEL-8pIKUMGx9vB86yJW1SwO1OXsq9mNyJYPLLoHkZz528RoJPqqRHQ1/" alt="EMail Feed" title="EMail Feed" style="vertical-align:middle; margin-right: 5px;border:none;" /></a><a href="http://feedburner.google.com/fb/a/mailverify?uri=FEEDBURNER-ID" target="_blank" rel="nofollow">EMail Feed</a>
</div></td>
</tr><tr>
<td><div class="twitterbox">
<a href="http://twitter.com/TWITTER-USERNAME" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmigY_ywng0wzSve45szwnMicExzayjHNJrYdn5mZWnQDAnzO8l8ZPsV70ZAV4Kdit5-RzClc_zu8Dmpg2YYgZPwyJpiHqAvaedUHcSuub5HiJWbTNb9efNQh5W1j7nF7AAL0nQNSjIDjo/" alt="Twitter" title="Twitter" style="vertical-align:middle; margin-right: 5px;border:none;" /></a><a href="http://twitter.com/TWITTER-USERNAME" target="_blank" rel="nofollow">Twitter</a>
</div></td>
<td><div class="facebookbox">
<a href="http://www.facebook.com/FACEBOOK-USERNAME" target="_blank" rel="nofollow"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6x99OwPwiRviVlA0FWof5BpwYqJtg6oa4sAFFNTM2UdhM8OMsdEe-aRstiWW1BkVilAusXtgeddWGcO8MsASqT0Cgdjnn3_5PEECGlmzioxsRYOQFYmMQ0e1xaMDAxs3_FmzNuLNBuMGw/" alt="Facebook" title="Facebook" style="vertical-align:middle; margin-right: 5px;border:none;" /></a><a href="http://www.facebook.com/FACEBOOK-USERNAME" target="_blank" rel="nofollow">Facebook</a>
</div></td>
</tr></table>
<p style="display:none;" align="center">Widget by <a href="http://www.bloggertipandtrick.net/" target="_blank">Blogger Tips And Tricks</a></p>
<div class='addthis_toolbox'>
<div class='custom_images'>
<a class='addthis_button_twitter'><img alt='Twitter' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiTWkziFqNtvesD5tB6NRg3di3kp4TShQFQ24Z8t0j4OMqHNfl7x3yWioeTJW6kX7yGhrJlTdx6iVBIJLQWxuBbPiwmkGCq2cVMz3iyMGJA6ubqPMHQIPoidDBHHbPx-U3PhlaBeb8ymuE/' width='32'/></a>
<a class='addthis_button_delicious'><img alt='Delicious' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSlYvjUHSWxEIrplxYGZ3_LgPtNBSduzUZIl206R4GGoJS9cye0v67JuEAzm8JKVNqhFHLqiN4SvexXYs_RBGr1QuFA1TazYIj8dU5IWZzMsve-LvNp6SEjFYoXC1Sgt7MrWTycRb3nyE/' width='32'/></a>
<a class='addthis_button_facebook'><img alt='Facebook' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJ-LiZx6X_uRuNMt2hVypVAZc1rEKVuEPKCceELeHAf5IrVllfA6FHqSnvlah8d4tFJ6437WPbqd_JMpQhUnhY-2WBovLjnzX55n3k66C76T_kGvKW6dd3b3J_rmxRr_Hl6FbggJYTcAA/' width='32'/></a>
<a class='addthis_button_digg'><img alt='Digg' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDPSMNkmk6IH9_ciNUaN4a4l25eeWTjFJQ4XKM28jzSqL5GxkR_SEKlGS9BhUJAhLw0Z_afMA9KTghq2Bf0w98miLR0KZlOaCoP_21KZ2GBrSYQp_emwIQKUBgqxci-XN-y-DGH8Bl8YQ/' width='32'/></a>
<a class='addthis_button_stumbleupon'><img alt='Stumbleupon' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhr0srez5dDJ1nSiHDhl_OZjJ3d1LljZ0YHpUKBJb-CRA7SkJybxYQhsNywjfG0FdvWKSoULwGFREx8OX9OOQSeIoQB6dNQPEFgf3L21exkFKXCEngdHpuA55FthlTxRcpd2flRe9Yo8PE/' width='32'/></a>
<a class='addthis_button_favorites'><img alt='Favorites' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYCSKQ7A0eR6AUZJPsp1Giv2QwPx1qWD74hD51QGr49GRGuCiigPpTNnjEc94jYBDKxJXFAxjqWqnLt7OzwipiDe-GJCVO-X4fXrJhareJZSN4U2rbBvlRw2-DrREPOQQeJwlnlMty_7I/' width='32'/></a>
<a class='addthis_button_more'><img alt='More' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsbFGFMhTIr63GehnPVjuidthI1BsZwCj6ubHZnkDMgb4Uu_-aEc-Hcd-598n7IWtM2Vs2_i8n7nwKfIXcWbai8PSN8Gy8JEaBD-mAeddrQHVGBzTIlTzDVyYvvegV4MgVoXCjWLojWls/' width='32'/></a>
</div>
<script src='http://s7.addthis.com/js/250/addthis_widget.js' type='text/javascript'/>
</div>
</div>

NOTA : Peringatan untuk Menggantikan perkataan,

FEEDBURNER-ID gantikan dengan id blog korang (kesemuanya 4 gantian, sila lihat kesemua kod bagi feedburner).
TWITTER-USERNAME gantikan dengan username twitter korang.
FACEBOOK-USERNAME gantikan dengan username facebook (boleh didapati di address profile facebook).

Selesai.

0 comments:

Post a Comment