Pages

Cara Membuat Social Networking Menu Dengan CSS

Social networking menu adalah link yang menghubungkan blog kita dengan jejaring sosial. Menu ini sangat penting dan wajib ada di sebuah blog karena kini jejaring sosial seperti facebook, twitter, digg adalah media yang sangat baik untuk mempromosikan isi blog kita pada semua friendlist. Menu sosial networking yang baik adalah yang punya tampilan yang menarik, sehingga pengunjung dengan sukacita akan sharing ke jejaring sosial tentang postingan yang dianngap berbobot bagi mereka.

Screen Shot :
View Demo :

https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZmn_9gPA5bW75RHdSrw9Co1iUwMVKxUsKEU70CV0N2OUE4E1kOGt0fa9ImvnZ-jsFETt0eymVSGdD63w2MI7lZLjOnoIA8KjHUBIDDxcQv4fh0UqwLvli8K5vU19-ZW8Lte2eClZBkIo/s400/view-blogger-tutorial-demo.png


Kode menu ini terbagi dua, pertama kode CSS yang akan diletakkan pada CSS blog. Caranya: Login ke blogger >> Element Halaman >> Edit HTML dan letakkan kode di bawah ini sebelum kode ]]></b:skin>

ul.topul, ul.topul ul {padding:0; margin:0; list-style:none; position:relative;} ul.topul ul {position:absolute; left:-9999px; background:url(); opacity:0; -webkit-transition: opacity 0.5s ease-in-out; -moz-transition: opacity 0.5s ease-in-out; -o-transition: opacity 0.5s ease-in-out; transition: opacity 0.5s ease-in-out; } ul.topul {margin:50px auto; width:80px; height:80px;} ul.topul ul li {width:48px; height:48px; float:left; display:inline;} ul.topul li.topli {width:80px; height:80px; float:left;} ul.topul :hover ul {left:-48px; top:-48px; width:176px; height:176px; opacity:1;} ul.topul ul li img {width:48px; height:48px; display:block; border:0; position:relative; left:0; top:0; -webkit-transition: 0.2s ease-in-out; -moz-transition: 0.2s ease-in-out; -o-transition: 0.2s ease-in-out; transition: 0.2s ease-in-out; } ul.topul li.p1 {margin-left:16px; margin-top:16px;} ul.topul li.p3 {margin-top:16px;} ul.topul li.p5 {margin-left:80px;} ul.topul li.p6 {margin-left:16px;} ul.topul li.p7 {margin-top:16px;} ul.topul :hover ul li a:hover {position:relative; z-index:100;} ul.topul li:hover ul li a:hover img {width:64px; height:64px; left:-8px; top:-8px; z-index:100;} /* for IE6 */ ul.topul table {border-collapse:collapse: position:absolute; left:0; top:0; margin:-4px;} ul.topul li a:hover {direction:ltr;} ul.topul li a:hover ul li a:hover img {position:absolute; width:64px; height:64px; left:-8px; top:-8px; z-index:100;}


Kemudian Simpan template anda lalu tambahkan kode di bawah ini ke sidebar. Caranya: Klik Element Halaman >> Add Widget >> HTML/javascript. Paste kode berikut ini:

<div id="jahe">
<ul class="topul">
<li class="topli" id="s1"><!--[if lte IE 6]><a href="#url"><table>
<tr><td><![endif]--><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtMeahimmdgr0GegwSb16l5lnqdnF9cJ37toSQx5ZdErraHR8SLTtJF2SupyPCo2mFFyQBFV1paxl3HL8i9svm5fL-tIwLY0Eys6ngKj4UN70p65z1VD6taBvXqN9kzRAUoaYtxar4DZk/s400/social.png" alt="">
<ul>
<li class="p1"><a href="#url"><img src="http://4.bp.blogspot.com
/-X3H0LV1IcM4/TbaWoIx7GuI/AAAAAAAAAoY/J8_fUGpn5mM/s400/delicious.png" alt=""></a></li>
<li class="p2"><a href="#url"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZYDUPxHICpA1lnKCPNLA6HQYEeHl4CPf7CE02ik2MOxfGprmA0TD_BkLkTFxZhWvUrRU99BhitbSfY-T5cULhjHFa9_nuudcmC-BLqjExbXlIxDZEQzcGNr4Nn1Tl36lKgImJ9vQg7tY/s400/digg.png" alt=""></a></li>
<li class="p3"><a href="#url"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5XEXoSCGz8j9RxQddjtW_hwSG5enMNGt7zd49Od-5k-7Q_ToeU22vBPSHKiJdUBaiYnF6cVtnqWo3ZWy0Xd05kuJBN16ZCBadCRHjGE7s4Mrs3Yqs8iMtA6lUTruhC3VBpeWplB-Z4HE/s400/facebook.png" alt=""></a></li>
<li class="p4"><a href="#url"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbzRtdjW1OmElgpwzyKhVAV84uzIqi8XGZHJettNw0fpcp8sEXmEl6s9V2oriBoFdDLb-4748RdablNQbt7uyzaJK4eyn4RPE8qu2cQ9uF_VXck98mFDA-k50U4aIp1XViWTvg7ei8yQ8/s400/flickr.png" alt=""></a></li>
<li class="p5"><a href="#url"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaHMvVbQ4iwPHwSSajo186SlfKLCcKD__5gZNsz6TiRhUPIOpte4HAekrqfk_Jv_N19TAokxwpFskkGV4mmTRHPLnwIulErpuWlIGDQSitBx3WpZhFTZiws9tEyEdntfBBP6Z90h6xdeU/s400/linkedin.png" alt=""></a></li>
<li class="p6"><a href="#url"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc45Zs0-q9yO1lug-Mdd-vWdOOs4dsggVXtiLq2MogfTIx0y1pQoG01LQao5qeGa54Ool2KuMmpira_lqSl0ndMm4GP82cRwqmprq4drO-Hqjt7yfqid6O7jRRAFkxFLZo-I5yAXNL3Y0/s400/myspace.png" alt=""></a></li>
<li class="p7"><a href="#url"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHYyOIM2mznaci52Zfop_B_na8EHpfg4DAXIu2vRn-9fLS8HAVmbpAriVpmmSiG1YaMBzYfrJ7ZRE-M_yMcMBOoBG7eV06RDkPifwHsFXW7ehukoGdvM0BUd5vG9q9lb1gkUKWCPP5Uv4/s400/stumbleupon.png" alt=""></a></li>
<li class="p8"><a href="#url"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgztAOSKj_4RXH9kWubRg8deoo2W7a0RAYwPHybEThusVtDr-V-XLCBJmw6j9V7RUvdTJT9aligkxV7AVpseFoNBDBzIKBD2CHlv1mRlyCl_a8X5kWPv-B8W1xC6nSf7kUi8cdwjNnRK4/s400/twitter.png" alt=""></a></li>
</ul>
<!--[if lte IE 6]></td></tr></table></a><![endif]-->
</li>
</ul>
</div>


Kemudian Save dan lihat hasilnya. Setelah itu anda hanya perlu mengelola link agar sesuai dengan alamat jejaring sosial anda.

Selamat mencoba.


Description: Cara Membuat Social Networking Menu Dengan CSS