Minggu, Oktober 28, 2012

Halo Sobat SYKC. Dalam posting kali ini saya akan menghadirkan tutorial yang berjenis Share atau bisa disebut juga Social Bookmark dan kode dalam tutorial ini menggunakan jQuery dan nama dari pada posting kali ini adalah Sexy Social Bookmarks , berikut cara penerapannya.
Preview: 
Sexy+Social+Bookmarks+v2+01 
  • Login ke bloger.
  • Masuk ke "Rancangan - Edit HTML"
  • Cheklist "Expand Template Widget"
    •   Cari kode </head> dan pastekan code di bawah ini.




    • <script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js' type='text/javascript'/> <script type='text/javascript'> jQuery(document).ready(function() { // xhtml 1.0 strict way of using target _blank jQuery('.sexy-bookmarks a.external').attr("target", "_blank"); // this block sets the auto vertical expand when there are more than // one row of bookmarks. var sexyBaseHeight=jQuery('.sexy-bookmarks').height(); var sexyFullHeight=jQuery('.sexy-bookmarks ul.socials').height(); if (sexyFullHeight>sexyBaseHeight) { jQuery('.sexy-bookmarks-expand').hover( function() { jQuery(this).animate({ height: sexyFullHeight+'px' }, {duration: 400, queue: false}); }, function() { jQuery(this).animate({ height: sexyBaseHeight+'px' }, {duration: 400, queue: false}); } ); } // autocentering if (jQuery('.sexy-bookmarks-center')) { var sexyFullWidth=jQuery('.sexy-bookmarks').width(); var sexyBookmarkWidth=jQuery('.sexy-bookmarks:first ul.socials li').width(); var sexyBookmarkCount=jQuery('.sexy-bookmarks:first ul.socials li').length; var numPerRow=Math.floor(sexyFullWidth/sexyBookmarkWidth); var sexyRowWidth=Math.min(numPerRow, sexyBookmarkCount)*sexyBookmarkWidth; var sexyLeftMargin=(sexyFullWidth-sexyRowWidth)/2; jQuery('.sexy-bookmarks-center').css('margin-left', sexyLeftMargin+'px'); } }); </script><br /> <style type='text/css'> div.sexy-bookmarks{margin:20px 0 0 0; border: 0;outline: none;clear:both !important} div.sexy-bookmarks-expand{height:29px; overflow:hidden} .sexy-bookmarks-bg-sexy, .sexy-bookmarks-bg-love{background-image:url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYlrChtyXZ5I0NbtEfRFf9b43cGRFCPP87AxJVPvZfJ4_GXRt83M1u-jbowFeyg9H71XxVC1oN5Hj__pWZKU5O3HeTlM090aunCMdhCes5WQjt7vh7Prjk2_l2fsJboPKlehdJx6uuxkyZ/') !important; background-repeat:no-repeat} div.sexy-bookmarks-bg-love{padding:26px 0 0 10px; background-position:left -1148px !important} div.sexy-bookmarks ul.socials{width:95% !important; margin:0 !important; padding:0 !important; float:left} div.sexy-bookmarks ul.socials li{display:inline !important; float:left !important; list-style-type:none !important; margin:0 !important; height:29px !important; width:60px !important; cursor:pointer !important; padding:0 !important} div.sexy-bookmarks ul.socials li:before, div.sexy-bookmarks ul.socials li:after, div.sexy-bookmarks ul.socials li a:before, div.sexy-bookmarks ul.socials li a:after{content:none !important} div.sexy-bookmarks ul.socials a{display:block !important; width:60px !important; height:29px !important; text-indent:-9999px !important; background-color:transparent !important} div.sexy-bookmarks ul.socials a:hover{background-color:transparent !important} .sexy-digg, .sexy-digg:hover, .sexy-reddit, .sexy-reddit:hover, .sexy-stumbleupon, .sexy-stumbleupon:hover, .sexy-delicious, .sexy-delicious:hover, .sexy-yahoobuzz, .sexy-yahoobuzz:hover, .sexy-blinklist, .sexy-blinklist:hover, .sexy-technorati, .sexy-technorati:hover, .sexy-facebook, .sexy-facebook:hover, .sexy-twitter, .sexy-twitter:hover, .sexy-myspace, .sexy-myspace:hover, .sexy-mixx, .sexy-mixx:hover, .sexy-scriptstyle, .sexy-scriptstyle:hover, .sexy-designfloat, .sexy-designfloat:hover, .sexy-comfeed, .sexy-comfeed:hover, .sexy-newsvine, .sexy-newsvine:hover, .sexy-linkedin, .sexy-linkedin:hover, .sexy-google, .sexy-google:hover, .sexy-friendfeed, .sexy-friendfeed:hover{background:url('http://bnote.googlecode.com/files/sexy-sprite-new.png') no-repeat !important;border: 0;outline: none;} .sexy-digg{background-position:-980px bottom !important} .sexy-digg:hover{background-position:-980px top !important} .sexy-reddit{background-position:-700px bottom !important} .sexy-reddit:hover{background-position:-700px top !important} .sexy-stumbleupon{background-position:-630px bottom !important} .sexy-stumbleupon:hover{background-position:-630px top !important} .sexy-delicious{background-position:-1190px bottom !important} .sexy-delicious:hover{background-position:-1190px top !important} .sexy-yahoobuzz{background-position:-1120px bottom !important} .sexy-yahoobuzz:hover{background-position:-1120px top !important} .sexy-blinklist{background-position:-1260px bottom !important} .sexy-blinklist:hover{background-position:-1260px top !important} .sexy-technorati{background-position:-560px bottom !important} .sexy-technorati:hover{background-position:-560px top !important} .sexy-myspace{background-position:-770px bottom !important} .sexy-myspace:hover{background-position:-770px top !important} .sexy-twitter{background-position:-490px bottom !important} .sexy-twitter:hover{background-position:-490px top !important} .sexy-facebook{background-position:-1330px bottom !important} .sexy-facebook:hover{background-position:-1330px top !important} .sexy-mixx{background-position:-840px bottom !important} .sexy-mixx:hover{background-position:-840px top !important} .sexy-scriptstyle{background-position:-280px bottom !important} .sexy-scriptstyle:hover{background-position:-280px top !important} .sexy-designfloat{background-position:-1050px bottom !important} .sexy-designfloat:hover{background-position:-1050px top !important} .sexy-newsvine{background-position:left bottom !important} .sexy-newsvine:hover{background-position:left top !important} .sexy-google{background-position:-210px bottom !important} .sexy-google:hover{background-position:-210px top !important} .sexy-comfeed{background-position:-420px bottom !important} .sexy-comfeed:hover{background-position:-420px top !important} .sexy-linkedin{background-position:-70px bottom !important} .sexy-linkedin:hover{background-position:-70px top !important} .sexy-friendfeed{background-position:-1750px bottom !important} .sexy-friendfeed:hover{background-position:-1750px top !important} .sexy-link{ margin-left:25px; float:left} .sexy-link A{padding:10px 0; width:470px; text-align:right; border:0; outline:none}</style>
    •  Setelah selesai lanjut cari kode <data:post.body/> dan pastekan code di bawah ini.



    • <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 == "") {this.value = "Search...";}" onfocus="if (this.value == "Search...") {this.value = "";}" type="text" value="Search..." /><br /> <input id="searchsubmit" type="submit" value="Search" /><br /> </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/AVvXsEgZzwLoCtI1Pb_7sy8p8K4jNfiHaZUNrF1vnE2LJwl1ScxvlQskoJudNpbxa6KM36ym3s6FqexPpPfAjGGtyRLozas1kn3HFYIpS8abXxGBYCvssGbyNWLYodWfihI63yuuWugYwauBQRET/"  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><br /> </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/AVvXsEi7Hem5HACLC6yLTZsB2zq773iO6r9BgDAqghWrE_ghFHmLVi40YJflNBUNVH0vGCJPeFgqIm3DzwvOWvf1H4ARzRFQIvYTlUFEG0T42cdIt7-34tL2zLKNC9ZX9CP7s49IrPCtTIpHJps4/"  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><br /> </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/AVvXsEjs_wTD-X_OvyiOHDzTGS8ykivN8xgCfUka48bA1w_NTGTt1gfVQ43oFc89B-azR_iUkicjmDGRLc-sxToDgpUXJM6QKOCA53goJCfKKXcrUbzlIZggVDREIAmFzeic6eojzMCxtcoVHwVw/"  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><br /> </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/AVvXsEiiC0z3vwNJR5ZH3lqb1pWIMG-N3qN3i2URJoVvGN5Q-ZsX2jCdEDc0L4IUK_1vOqs33btuS_2SJ29NwdtHZRRiab_C7TfHQytPzhcLarZjtGcr0rGTZbgVWyIx4gSROPs2wmz9fLYU4BQ3/"  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><br /> </div></td> </tr></table><p style="display:none;" align="center">Widget by <a href="http://www.ebloggertricks.com/" target="_blank">Eblogger 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/AVvXsEg7NTMqsLvouQ6Qa__85OcQwNoSKKwvak3WoOL-ElaPmi9zvdWpy_SQN5YQP3AIEb5U6gOUpbpGRkv_Zy6iZVpzymSvrDrdy2ky5l8mIOSvJBra1fZTRoaNlDXQQQE37d0TRYu2Kv-PsYs/' width='32'/></a><br /> <a class='addthis_button_delicious'><img alt='Delicious' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEijJLbX47dEB1C2MU7CCY_2ec47_WyhV1RlcTUfjqCyGi38f_zD6TGPBlTf-9AXpjTWHJAb1LpVkWDNeI22_yjqeILG80XSn7V32XDWuNXCcBPr0RZVFVMZFwNXgc8Ker0IQtGWy3WjIJI/' width='32'/></a><br /> <a class='addthis_button_facebook'><img alt='Facebook' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSAtDASKbN_Luy4y3gHQS28CRwCeQeeKV8KoRNwiYbO2o_3nZ3oHK1cfXCxkF6VDT5OvU1b0c9c6_i3et143N52TvONA6BJWFWAs916TNGVkSVDxrsKDZ4-2_e6ja1uI92Tgs-_Eu0a-Q/' width='32'/></a><br /> <a class='addthis_button_digg'><img alt='Digg' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ0KHWTbjPPHEY4PEf4pqVx1OYovM8jGLHjk1VmwfKqyYjj-diYPDSJzCA8s660MfyilyM0ytzlWUgB4XjJ4qjn4KHv_M00ifA5Z1XC5FIG4nq3WHL9xz0liSLI6BzSbHs0ZEKDEKWEls/' width='32'/></a><br /> <a class='addthis_button_stumbleupon'><img alt='Stumbleupon' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7L3K8rMcaTVPPdAdcsAvElZyug7ysGAepnLAAORoeI3QtwSeQVDQR1_e7_thiI9nDsgUiKXDhrykGdp0HES_jM3E1Cwfk7fFyX3ObC7SXbXGuZcB3QGUuSsjbg7ofMPzLYlkxV_Fx1fA/' width='32'/></a><br /> <a class='addthis_button_favorites'><img alt='Favorites' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCGLNKc7YkF057Try3ldmUfPB7cXzMRqumnU3YnhyVOuVb_D5FYRlGnTqjMfZF2ldIr1qL4eEjYrVXKgw2CcER6xHxXr_HK1OAspqRSgtYU4SdzaqryLVX_yDp1GECoLL3ZwE41KfYxek/' width='32'/></a><br /> <a class='addthis_button_more'><img alt='More' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvX7Ovldj1c5r3f1RloOP7CwOy3cj_x_uSdY7LM3Al2PYCXCtAoYjqbxrPgv1d3AlVBUeNC8kDew4eiKg3ZAPPN-Lkpos1qXoGaE4KFCJT4WhL5abo_dbpbtZRJl-R26wutFMbF9WqIfM/' width='32'/></a><br /> </div><script src='http://s7.addthis.com/js/250/addthis_widget.js' type='text/javascript'/> </div></div>

    • Save template sobat dan selamat mencoba.

0 komentar:

Posting Komentar

Berkomentarlah dengan Bijak yang Bersifat Membangun demi Kemajuan Bersama. Komentar yang mengandung LINK aktif dan spam akan saya hapus. Saya mohon Maaf Apabila ada Artikel yang Kurang Berkenan di Hati Sobat Bloger dan Sebelumnya Saya Ucapkan TerimaKasih