Rabu, 13 November 2013

Menu Horizontal Lavalamp Special Dark Search Forum


Assalamu Alaikum. Wr.Wb..
Baiklah pada kesempatan kali ini saya akan berbagi lagi mengenai cara membuat Menu Horizontal Lavalamp Special Dark + Search Forum, dimana pada postingan saya yang lalu pernah juga membahas :

1. Menu Horizontal Dark With Sound jQuery Ala UTta. dan
2. Menu Horizontal Dark Lavalamp With jQuery.

Jika sobat tertarik ingin mencobanya, silahkan ikuti langkah-langkah berikut.
1. Login ke Akun Blogger anda masing-masing
2. Klik Design atau Rancangan, kemudian pilih edit html
3. Centang Expand Widget Template (saya anjurkan download dahulu template anda)
4. Cari kode : ]]></b:skin> , Jika Sudah Ketemu, letakkan Kode CSS berikut tepat diatasnya.

/* lavalampv2_ut menu */
.lavalampv2_ut {margin:0;
    position: relative;
    padding:15px;
 height: 20px;
font-family: PT Sans Narrow;
}
.lavalampv2_ut a {font-weight:bold;
text-transform:uppercase;font-weight:bold;
    color: #aaa;font-size:14px;
    line-height: 20px;
}
.lavalampv2_ut a:hover {
color:#fff;text-shadow: 0 1px 0 #000;
    }
.lavalampv2_ut ul {
    margin: 0;
    padding: 0;
    z-index: 300;
    position: absolute;
}
.lavalampv2_ut ul li {
    list-style: none;
    float:left;
    text-align: center;
    }
.lavalampv2_ut ul li a {
    padding: 0 20px;
    text-align: center;
    }
.akautlamp {
    position: absolute;
    top:8px;
    z-index:50;
    width:70px;
    height:30px;
-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;
background : rgba(5,171,224, 0.8);border:1px solid rgba(5,171,224,0.9);
transition: all .4s ease-in-out;-webkit-transition: all .4s ease-in-out;-moz-transition: all .4s ease-in-out;
}
.sepecialdark {background: rgb(30,30,30);background:-moz-linear-gradient(top, rgba(30,30,30,1) 0%, rgba(15,15,15,1) 100%);
background:-webkit-linear-gradient(top, rgba(30,30,30,1) 0%, rgba(15,15,15,1) 100%);border: 1px solid rgba(0,0,0,.20);
}

/* e-searchbox */
#e-searchbox{float:right;padding:0;margin-top:-6px;}
#search {}
#search input[type="text"] {background:rgba(5,171,224, 0.8) url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho9705ol_HBB3liCw26ey2FUH1OT0M2hnrrCbNGZTG3ZCKcz5WP3UdolaT7wzun1afETP2a4QB00JEGuLPECq0ydmZ6zl0vX2e88d7oixogI4jpV7tYOF39mgejNhkjaeeFGJc4nQkpqU/s1600/cari.png) no-repeat 10px 6px;font:normal 12px century gothic;color:#ddd;width:150px;padding:6px 15px 6px 35px;-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;
border:1px solid rgba(5,171,224,0.9);-webkit-box-shadow:0px 1px 0px rgba(255, 255, 255, 0.3), inset 0px 1px 3px rgba(0, 0, 0, 0.2);-moz-box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3), inset 0px 1px 3px rgba(0, 0, 0, 0.2);box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.3), inset 0px 1px 3px rgba(0, 0, 0, 0.2);
-webkit-transition: all 0.8s ease 0s;-moz-transition: all 0.8s ease 0s;-o-transition: all 0.8s ease 0s;transition: all 0.8s ease 0s;}

#search input[type="text"]:focus {background:rgba(0, 0, 0, 0.5) url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho9705ol_HBB3liCw26ey2FUH1OT0M2hnrrCbNGZTG3ZCKcz5WP3UdolaT7wzun1afETP2a4QB00JEGuLPECq0ydmZ6zl0vX2e88d7oixogI4jpV7tYOF39mgejNhkjaeeFGJc4nQkpqU/s1600/cari.png) no-repeat 10px 6px;width:190px;border:1px solid rgba(5,171,224,0.9);
-webkit-box-shadow:inset 0px 1px 4px rgba(5,171,224,1);-moz-box-shadow:inset 0px 1px 4px rgba(5,171,224,1);box-shadow:inset 0px 1px 4px rgba(5,171,224,1);}

5. Langkah selanjutnya letakkan kode script berikut diatas kode </head>

<script src=http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js type=text/javascript/>
<script src=http://-blogspot-com.googlecode.com/files/lavalamp_specialdark.js type=text/javascript/>

6. Selanjutnya letakkan kode berikut, di atas kode header-wrapper (sesuaikan template) Masing-masing :

<div class=lavalampv2_ut sepecialdark>
<ul>
<li class=active><a href=/><span style=color:#eee;text-shadow:0 1px 0 #000;>Home</span></a></li>
<li><a href=URL-HERE>Forum</a></li>
<li><a href=/search?max-results=20>Archive</a></li>
<li><a href=URL-HERE>SiteMap</a></li>
<li><a href=URL-HERE>Contact</a></li>
<li><a href=URL-HERE>Link Exchange</a></li>
<li><a href=URL-HERE>Guest Book</a></li>
</ul>
 <div class=akautlamp/>

<div id=e-searchbox><form action=/search id=search method=get>
<input name=q onblur=if (this.value == &quot;&quot;) {this.value = &quot;Find article here&quot;;} onfocus=if (this.value == &quot;Find article here&quot;) {this.value = &quot;&quot;;} size=40 type=text value=Find article here/>
</form></div>

</div>

7. Silahkan anda priview dulu, apabila semua berjalan dengan sempurna barulah anda save template.

Selamat mencoba, dan kembangkan sesuai keinginan masing-masing... :)

Jika ada pertanyaan jangan sungkan untuk meninggalkan jejak di kotak komentar trim atas kunjungannya ^_^

Tidak ada komentar:

Posting Komentar