0

Membuat Footer Berefek Gradient

Sabtu, 19 Mei 2012
Share this Article on :
Nah setelah sekian lama tidak update, sekarang ane akan postingin artikel membuat Footer dengan efek gradien. Seperti gambar disamping. Sebetulnya ini merupakan perminta'an dari sobat ane tapi ini ane postingin biar bisa bermanfa'at untuk semuanya
Pada dasarnya sama dengan kebanyakan footer ang digunakan oleh para blogger mania. Hanya saja ane menggunakan backgrund yang sudah saya buat dengan efek gradient. Sehingga akan nampak seperti hilang sebelum menyentuh bagian bawah browser. Biar ga penasaran yuk coba codingnya.......

Coding 1 :


<style type="text/css">
#navbar-footer p.info {
float: right;
padding-right:40px;
line-height: 1.2;
height: 40px;
vertical-align: bottom;
}

#navbar-footer p {  
  • float: left;  


  • margin: 0px;  


  • padding-top:4px;  


  • padding-left:40px;  


  • vertical-align: bottom;  


  • line-height: 1.2;  


  • }  


  •  


  • #navbar-footer a {  


  • color: #333;  


  • }  


  •  


  • #navbar-footer {  


  • align: center;  


  • position: fixed;  


  • background: url(https:https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0iaf_x7sRf15_j7zbi_xM-B9kH_fbFsSWFt7Zp-VygpNbXRZWoFnB7B5fWsiKn7h7_SJdw-3xWqEcZ6368vXaBfvGNZbjCcyJxvkB1YOKR3GlXar81cTVdQ23tN3HvI_O6jwK1cSscsk_/) repeat-x left bottom;  


  • width: 100%;  


  • height: 100px;  


  • left: 0px;  


  • text-align: left;  


  • color: #888;  


  • font-family: Verdana;  


  • font-size: 11px;  


  • z-index:10000;  


  • filter: alpha(opacity: 90);  


  • bottom:0;  


  • }  


  •  


  • #iconfooter{display:scroll;position:fixed;bottom:10px;right:20px;z-index:99}  


  • #iconfooter a{filter:alpha(opacity=65);-moz-opacity:0.65;opacity:0.65;border:0}  


  • #iconfooterr img{border:0}  


  • #iconfooter a:hover{filter:alpha(opacity=100);-moz-opacity:1;opacity:1}  


  • </style>  


  •   


  • <div id="navbar-footer"><div class="info"></div><div id="iconfooter"><a onmouseout="tooltip.hide()" onmouseover="tooltip.show('Reload page')" href="http://www.blogger.com/post-edit.g?blogID=117511900341815330&postID=5482683147276192730#">  


  • <img onmouseout="tooltip.hide()" onmouseover="tooltip.show('<img class=fs_atrplusImg src=https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzGtrtvHz0afDOG9X38OXCGymjwj4hAYaDfw01e2rHuZ_n3ujubrGU4j_j757JscAgjdQatG5oxQla63uu34l_WvheLi5_5oeAPlmvYKu0059X7hFUsl-FrgV5pqtK7qSrNecl8WhD2-ov/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzGtrtvHz0afDOG9X38OXCGymjwj4hAYaDfw01e2rHuZ_n3ujubrGU4j_j757JscAgjdQatG5oxQla63uu34l_WvheLi5_5oeAPlmvYKu0059X7hFUsl-FrgV5pqtK7qSrNecl8WhD2-ov/"></a>  


  • <a onmouseout="tooltip.hide()" onmouseover="tooltip.show('<div class=fs_atrbks><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVPdVJc1aPOJWxYmd0T118bM-QHks62_iELGGymIdrp-7nL5Hfxou6QzLfQX04uuamUSYDLTPBgKsBiPIhcPwf5rsgyP6NpAkX7BOI98hu7lVT0erjX5epcHi1JPzRM4wfb9fWpu2628cD/"></div>')" expr:href="data:blog.homepageUrl" href="http://www.blogger.com/post-edit.g?blogID=117511900341815330&postID=5482683147276192730"><img onmouseout="tooltip.hide()" onmouseover="tooltip.show('<img class=fs_atrplusImg src=https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVPdVJc1aPOJWxYmd0T118bM-QHks62_iELGGymIdrp-7nL5Hfxou6QzLfQX04uuamUSYDLTPBgKsBiPIhcPwf5rsgyP6NpAkX7BOI98hu7lVT0erjX5epcHi1JPzRM4wfb9fWpu2628cD/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVPdVJc1aPOJWxYmd0T118bM-QHks62_iELGGymIdrp-7nL5Hfxou6QzLfQX04uuamUSYDLTPBgKsBiPIhcPwf5rsgyP6NpAkX7BOI98hu7lVT0erjX5epcHi1JPzRM4wfb9fWpu2628cD/"></a>  


  • <a onmouseout="tooltip.hide()" onmouseover="tooltip.show('Ke Atas Halaman')" href="http://www.blogger.com/post-edit.g?blogID=117511900341815330&postID=5482683147276192730#"><img onmouseout="tooltip.hide()" onmouseover="tooltip.show('<img class=fs_atrplusImg src=https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjorbJt_AGmFMrtaurv7fb4IftCB-UHs0tGvC0XAk7m3TE76oHBTH3tLpaL61EiF-QgFEobJrECORnhWz59XqTAt83coJjxFlZmjmNiXtvi24tVqIZ66SaXKJYkksD17JXF_PXbnwrOvwJc/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjorbJt_AGmFMrtaurv7fb4IftCB-UHs0tGvC0XAk7m3TE76oHBTH3tLpaL61EiF-QgFEobJrECORnhWz59XqTAt83coJjxFlZmjmNiXtvi24tVqIZ66SaXKJYkksD17JXF_PXbnwrOvwJc/"></a>  


  • <a onmouseout="tooltip.hide()" onmouseover="tooltip.show('Ke bawah halaman')" href="http://www.blogger.com/post-edit.g?blogID=117511900341815330&postID=5482683147276192730#footbar">  


  • <img onmouseout="tooltip.hide()" onmouseover="tooltip.show('<img class=fs_atrplusImg src=https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFGPtzQqhi0tKBJ3VPM8i9Rw_wBQlMla39zkuPYracDPJD0bHD1fJ7NLviR9n0mVHCGR_ygjvx2njaLuzGUYei1gVH85wqg19JQwy4AML6eoRcGgXNsxICBQlioAHISfgKIxoNMS7Lix0v/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFGPtzQqhi0tKBJ3VPM8i9Rw_wBQlMla39zkuPYracDPJD0bHD1fJ7NLviR9n0mVHCGR_ygjvx2njaLuzGUYei1gVH85wqg19JQwy4AML6eoRcGgXNsxICBQlioAHISfgKIxoNMS7Lix0v/"></a>  


  • </div></div> 


  • Coding 2 :

    <style type="text/css">
    #navbar-footer p.info {
    float: right;
    padding-right:40px;
    line-height: 1.2;
    height: 40px;
    vertical-align: bottom;
    }

    #navbar-footer p {
    float: left;
    margin: 0px;
    padding-top:4px;
    padding-left:40px;
    vertical-align: bottom;
    line-height: 1.2;
    }

    #navbar-footer a {
    color: #333;
    }

    #navbar-footer {
    align: center;
    position: fixed;
    background: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0iaf_x7sRf15_j7zbi_xM-B9kH_fbFsSWFt7Zp-VygpNbXRZWoFnB7B5fWsiKn7h7_SJdw-3xWqEcZ6368vXaBfvGNZbjCcyJxvkB1YOKR3GlXar81cTVdQ23tN3HvI_O6jwK1cSscsk_/) repeat-x left bottom;
    width: 100%;
    height: 100px;
    left: 0px;
    text-align: left;
    color: #888;
    font-family: Verdana;
    font-size: 11px;
    z-index:10000;
    filter: alpha(opacity: 90);
    bottom:0;
    }

    #iconfooter{display:scroll;position:fixed;bottom:10px;right:20px;z-index:99}
    #iconfooter a{filter:alpha(opacity=65);-moz-opacity:0.65;opacity:0.65;border:0}
    #iconfooterr img{border:0}
    #iconfooter a:hover{filter:alpha(opacity=100);-moz-opacity:1;opacity:1}
    </style>

    <div id="navbar-footer">
    <div class="info">
    </div>
    <div id="iconfooter">
    <a href="http://www.blogger.com/post-edit.g?blogID=117511900341815330&postID=5482683147276192730#">
    <img onmouseout="tooltip.hide()" onmouseover="tooltip.show('<img class=fs_atrplusImg src=https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzGtrtvHz0afDOG9X38OXCGymjwj4hAYaDfw01e2rHuZ_n3ujubrGU4j_j757JscAgjdQatG5oxQla63uu34l_WvheLi5_5oeAPlmvYKu0059X7hFUsl-FrgV5pqtK7qSrNecl8WhD2-ov/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzGtrtvHz0afDOG9X38OXCGymjwj4hAYaDfw01e2rHuZ_n3ujubrGU4j_j757JscAgjdQatG5oxQla63uu34l_WvheLi5_5oeAPlmvYKu0059X7hFUsl-FrgV5pqtK7qSrNecl8WhD2-ov/"></a>
    <a expr:href="data:blog.homepageUrl" href="http://www.blogger.com/post-edit.g?blogID=117511900341815330&postID=5482683147276192730"><img onmouseout="tooltip.hide()" onmouseover="tooltip.show('<img class=fs_atrplusImg src=https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVPdVJc1aPOJWxYmd0T118bM-QHks62_iELGGymIdrp-7nL5Hfxou6QzLfQX04uuamUSYDLTPBgKsBiPIhcPwf5rsgyP6NpAkX7BOI98hu7lVT0erjX5epcHi1JPzRM4wfb9fWpu2628cD/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVPdVJc1aPOJWxYmd0T118bM-QHks62_iELGGymIdrp-7nL5Hfxou6QzLfQX04uuamUSYDLTPBgKsBiPIhcPwf5rsgyP6NpAkX7BOI98hu7lVT0erjX5epcHi1JPzRM4wfb9fWpu2628cD/"></a>
    <a href="http://www.blogger.com/post-edit.g?blogID=117511900341815330&postID=5482683147276192730#"><img onmouseout="tooltip.hide()" onmouseover="tooltip.show('<img class=fs_atrplusImg src=https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjorbJt_AGmFMrtaurv7fb4IftCB-UHs0tGvC0XAk7m3TE76oHBTH3tLpaL61EiF-QgFEobJrECORnhWz59XqTAt83coJjxFlZmjmNiXtvi24tVqIZ66SaXKJYkksD17JXF_PXbnwrOvwJc/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjorbJt_AGmFMrtaurv7fb4IftCB-UHs0tGvC0XAk7m3TE76oHBTH3tLpaL61EiF-QgFEobJrECORnhWz59XqTAt83coJjxFlZmjmNiXtvi24tVqIZ66SaXKJYkksD17JXF_PXbnwrOvwJc/"></a>
    <a href="http://www.blogger.com/post-edit.g?blogID=117511900341815330&postID=5482683147276192730#footbar">
    <img onmouseout="tooltip.hide()" onmouseover="tooltip.show('<img class=fs_atrplusImg src=https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFGPtzQqhi0tKBJ3VPM8i9Rw_wBQlMla39zkuPYracDPJD0bHD1fJ7NLviR9n0mVHCGR_ygjvx2njaLuzGUYei1gVH85wqg19JQwy4AML6eoRcGgXNsxICBQlioAHISfgKIxoNMS7Lix0v/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFGPtzQqhi0tKBJ3VPM8i9Rw_wBQlMla39zkuPYracDPJD0bHD1fJ7NLviR9n0mVHCGR_ygjvx2njaLuzGUYei1gVH85wqg19JQwy4AML6eoRcGgXNsxICBQlioAHISfgKIxoNMS7Lix0v/"></a>
    </div>
    </div>


    Untuk pemasangan, sobat dapat mengikuti step-stepnya......
    1. Login ke akun bloger sobat....
    2. Pilih Rancangan, disini sobat bisa meletekan pada dua tempat, yang pertama pada Edit Laman dan Edit HTML terserah sobat lebih mudah yang mana.
    3. Jika sobat pilih Edit Laman, tambah gadget pilih Html/Javascript, lalu copy pastekan kode di atas kedalamya, setelah itu simpan.
    4. Jika sobat pilih Edit Html, cari kode </body> lalu letakan script tersebut diatasnya. setelah itu klik simpan.
    5. Klik lihat blog untuk melihat....

    Gimana, sobat tinggal menyesuaikan backgroun sesuai dengan selera sobat.
    Ok teruslah berkreasi dan terus bersemangat.


    Artikel Terkait:

    0 komentar:

    Posting Komentar