25/02/12

Membuat Footer Berefek Gradient


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/AVvXsEhPW4SW3uZyLK8Evh0B_KIauLoBuwIOlrcUQYo8-QJZLYus5TWLM9Hs61_YKAvyzzU5v6BOYvbvRISq6yF5k62z5lvXQnsW1sQ3jpwZM3D4iOBxuQ-sDteY7kEsE8zzZw9Tn2tp8-72bw8L/) 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/AVvXsEiYSywnyVTtV-AA_NRJewFoq2ID6SOPCYxxZMNI9a6LjXw7QEqTq1Gsaby2AlXAIkPhQ34Ks7gOx7hZ8YRRLJCLqRAtKPvv7uQxTK2YaOWv6pn5lCTIQ-6P4cUHvyrsyc5ZjYc1QSW6_Lct/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYSywnyVTtV-AA_NRJewFoq2ID6SOPCYxxZMNI9a6LjXw7QEqTq1Gsaby2AlXAIkPhQ34Ks7gOx7hZ8YRRLJCLqRAtKPvv7uQxTK2YaOWv6pn5lCTIQ-6P4cUHvyrsyc5ZjYc1QSW6_Lct/"></a>  

  • <a onmouseout="tooltip.hide()" onmouseover="tooltip.show('<div class=fs_atrbks><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHhwuGZNdR3uNEzta26SAqHEgkZ5ymi5ui_qq0_eW3eaJQSnDEvN77CtLFTSCh0zYbTUKc4iCLoGY5_6aTUPWp9O6vIZp7xQB0ALDH6DxZBtOs09-rg2Iwpn4BHqhdfSmr-LYQKMqROAY-/"></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/AVvXsEjHhwuGZNdR3uNEzta26SAqHEgkZ5ymi5ui_qq0_eW3eaJQSnDEvN77CtLFTSCh0zYbTUKc4iCLoGY5_6aTUPWp9O6vIZp7xQB0ALDH6DxZBtOs09-rg2Iwpn4BHqhdfSmr-LYQKMqROAY-/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHhwuGZNdR3uNEzta26SAqHEgkZ5ymi5ui_qq0_eW3eaJQSnDEvN77CtLFTSCh0zYbTUKc4iCLoGY5_6aTUPWp9O6vIZp7xQB0ALDH6DxZBtOs09-rg2Iwpn4BHqhdfSmr-LYQKMqROAY-/"></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/AVvXsEj_3XHuLxTp8HrOG2_8BIGKU5E4F2AFlaepuCrS1MgxyfvNzScRWi1te7djqOfeYMIR0EzrzMvEC_DR1i7qjXGWXQ7We8zNw9s-XOs9Ob1fYZeif3l2cVH9e2FMzpM4YftL58gjqSe-RHPx/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_3XHuLxTp8HrOG2_8BIGKU5E4F2AFlaepuCrS1MgxyfvNzScRWi1te7djqOfeYMIR0EzrzMvEC_DR1i7qjXGWXQ7We8zNw9s-XOs9Ob1fYZeif3l2cVH9e2FMzpM4YftL58gjqSe-RHPx/"></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/AVvXsEizLnKMhEVYD5wRa0bOfUTK3KoTFRvgcTawrAuEYRvRQZQpVy-8IVAy-o6tzalpoOjfhzzQoTTlyYrgNsasGJFIrLHjhZg2hFNkA6p-1XKt9YB1afkwEWPdhI2Ig_zK7Qt8CXVEjYBQZkOA/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizLnKMhEVYD5wRa0bOfUTK3KoTFRvgcTawrAuEYRvRQZQpVy-8IVAy-o6tzalpoOjfhzzQoTTlyYrgNsasGJFIrLHjhZg2hFNkA6p-1XKt9YB1afkwEWPdhI2Ig_zK7Qt8CXVEjYBQZkOA/"></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/AVvXsEhPW4SW3uZyLK8Evh0B_KIauLoBuwIOlrcUQYo8-QJZLYus5TWLM9Hs61_YKAvyzzU5v6BOYvbvRISq6yF5k62z5lvXQnsW1sQ3jpwZM3D4iOBxuQ-sDteY7kEsE8zzZw9Tn2tp8-72bw8L/) 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/AVvXsEiYSywnyVTtV-AA_NRJewFoq2ID6SOPCYxxZMNI9a6LjXw7QEqTq1Gsaby2AlXAIkPhQ34Ks7gOx7hZ8YRRLJCLqRAtKPvv7uQxTK2YaOWv6pn5lCTIQ-6P4cUHvyrsyc5ZjYc1QSW6_Lct/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYSywnyVTtV-AA_NRJewFoq2ID6SOPCYxxZMNI9a6LjXw7QEqTq1Gsaby2AlXAIkPhQ34Ks7gOx7hZ8YRRLJCLqRAtKPvv7uQxTK2YaOWv6pn5lCTIQ-6P4cUHvyrsyc5ZjYc1QSW6_Lct/"></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/AVvXsEjHhwuGZNdR3uNEzta26SAqHEgkZ5ymi5ui_qq0_eW3eaJQSnDEvN77CtLFTSCh0zYbTUKc4iCLoGY5_6aTUPWp9O6vIZp7xQB0ALDH6DxZBtOs09-rg2Iwpn4BHqhdfSmr-LYQKMqROAY-/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHhwuGZNdR3uNEzta26SAqHEgkZ5ymi5ui_qq0_eW3eaJQSnDEvN77CtLFTSCh0zYbTUKc4iCLoGY5_6aTUPWp9O6vIZp7xQB0ALDH6DxZBtOs09-rg2Iwpn4BHqhdfSmr-LYQKMqROAY-/"></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/AVvXsEj_3XHuLxTp8HrOG2_8BIGKU5E4F2AFlaepuCrS1MgxyfvNzScRWi1te7djqOfeYMIR0EzrzMvEC_DR1i7qjXGWXQ7We8zNw9s-XOs9Ob1fYZeif3l2cVH9e2FMzpM4YftL58gjqSe-RHPx/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_3XHuLxTp8HrOG2_8BIGKU5E4F2AFlaepuCrS1MgxyfvNzScRWi1te7djqOfeYMIR0EzrzMvEC_DR1i7qjXGWXQ7We8zNw9s-XOs9Ob1fYZeif3l2cVH9e2FMzpM4YftL58gjqSe-RHPx/"></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/AVvXsEizLnKMhEVYD5wRa0bOfUTK3KoTFRvgcTawrAuEYRvRQZQpVy-8IVAy-o6tzalpoOjfhzzQoTTlyYrgNsasGJFIrLHjhZg2hFNkA6p-1XKt9YB1afkwEWPdhI2Ig_zK7Qt8CXVEjYBQZkOA/>')" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizLnKMhEVYD5wRa0bOfUTK3KoTFRvgcTawrAuEYRvRQZQpVy-8IVAy-o6tzalpoOjfhzzQoTTlyYrgNsasGJFIrLHjhZg2hFNkA6p-1XKt9YB1afkwEWPdhI2Ig_zK7Qt8CXVEjYBQZkOA/"></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.
    Description: Membuat Footer Berefek Gradient Rating: 4.5  
    4.5