22 Desember 2012

Membuat search



<b:if cond='data:blog.url == data:blog.homepageUrl'>
<center><div class='search'>
<form action='/search' id='searchthis' method='get'>
<input accesskey='s' class='textfield' name='q' placeholder='Cari Aktikel di Sini Coy' type='text' value=''/>
<input class='button' type='submit' value='Search'/>
</form>
</div></center>
</b:if>

<style type='text/css'>
    <b:if cond='data:blog.url != data:blog.homepageUrl'>
.post-outer{
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 5px 5px 5px 5px;
    margin: 0 -20px 20px;
    padding: 15px 20px;
}
<b:else/>

</b:if>
</style>

<style type='text/css'>
<b:if cond='data:blog.pageType == &quot;item&quot;'>
     
</b:if>
</style>

<style type='text/css'>
     <b:if cond='data:blog.pageType != &quot;item&quot;'>
     <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
     .post-body, .post-author, .post-footer-line, .databarleft, .datebarright, .feed-links, .blog-pager, .date-header, .column-right-outer{display:none;}
     </b:if>
     </b:if>
</style>

<style type='text/css'>
<b:if cond='data:blog.url == data:blog.homepageUrl'>

.search {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.3);
    border-radius: 3px 3px 3px 3px;
    display: inline-block;
    float: none;
    margin: 75px auto 0;
    padding: 10px;
    position: relative;
    z-index: 1;
}
.button {
    background-color: #FFC61A;
    background-image: -moz-linear-gradient(center top , #FFC61A 0%, #FFB31A 100%);
    border-radius: 0 3px 3px 0;
    bottom: 11px;
    color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
    font-weight: 700;
    height: auto;
    opacity: 1;
    padding: 10px;
    right: 10px;
    text-indent: 0;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.7);
    top: 11px;
    width: 90px;
    border: 0 none;
    box-shadow: none !important;
    cursor: pointer;
    overflow: hidden;
    position: absolute;
}
.search .button:hover {
    background: none repeat scroll 0 0 #FF9500;
}
.textfield {
    border-radius: 3px 3px 3px 3px;
    box-shadow: none;
    font-size: 16px;
    padding: 10px 100px 10px 10px;
    transition: all 0.2s linear 0s;
    width: 450px;
    border: 1px solid #AAAAAA;
    color: #484848;
    display: inline-block;
    height: 18px;
    line-height: 18px;
    vertical-align: middle;
}

.main-outer {
    background: url(&quot;//www.blogblog.com/1kt/transparent/white80.png&quot;) repeat scroll left top transparent;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
margin: 20px 0;
height: 296px;
    max-width: 40%;
    min-width: 460px;
    width: 100%;
    float: left;
}

.main-outer a:before {
    content: url(&quot;http://cdn1.iconfinder.com/data/icons/fatcow/16/bullet_orange.png&quot;);
    left: -25px;
    position: absolute;
}

.main-outer a:hover {
    background-image: -moz-linear-gradient(left center , #FFFFFF 0%, #FFEE99 9%, #FFEE99 60%, #FFFFFF 100%);
}

     </b:if>
</style>

<style type='text/css'>
<b:if cond='data:blog.url != data:blog.homepageUrl'>

      .main-inner .columns {
        padding-left: 0;
        padding-right: 280px;
      }

     </b:if>
</style>


19 Desember 2012

Membuat Buku Tamu



<style type="text/css">
#at{
position:fixed;
right:450px;
z-index:+1000;
}
* html #at{position:relative;}
.attab{
height:100px;
width:30px;
float:left;
cursor:pointer;
background:url();
}
.atcontent{
float:left;
border:2px solid #ff0000;
background:url(http://lh5.ggpht.com/_yF0--u7KSSI/TKgzluISmnI/AAAAAAAAAxE/PC55GBEXvig/kembangApi.gif) #000000 repeat-y center;
-moz-border-radius-topleft:15px;
-moz-border-radius-topright:15px;
-moz-border-radius-bottomleft:15px;
-moz-border-radius-bottomright:15px;
padding:10px;
}
</style>
<script type="text/javascript">
function showHideAT(){
var at = document.getElementById("at");
var w = at.offsetWidth;
at.opened ? moveAT(0, -200-w) : moveAT(20-w, 0);
at.opened = !at.opened;
}
function moveAT(x0, xf){
var at = document.getElementById("at");
var dx = Math.abs(x0-xf) > 25 ? 35 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
at.style.top = x.toString() + "px";
if(x0!=xf){setTimeout("moveAT("+x+", "+xf+")", 10);}
}
</script>
<div id="at">
<div class="attab" onclick="showHideAT()"> </div>
<div class="atcontent">
<div align="center">
<div style="background:url(http://lh4.ggpht.com/_yF0--u7KSSI/TKYaaJhxVdI/AAAAAAAAAvY/nBUewsjG-Ck/bg-cbox.jpg) no-repeat;">

<!-- BEGIN CBOX - www.cbox.ws - v001 -->
<div id="cboxdiv" style="text-align: center; line-height: 0">
<div><iframe frameborder="0" width="380" height="105" src="http://www6.cbox.ws/box/?boxid=526402&amp;boxtag=bn8j0f&amp;sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border: 0px solid;" id="cboxmain"></iframe></div>
<div><iframe frameborder="0" width="380" height="75" src="http://www6.cbox.ws/box/?boxid=526402&amp;boxtag=bn8j0f&amp;sec=form" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border: 0px solid;border-top:0px" id="cboxform"></iframe></div>
</div>
<!-- END CBOX -->

</div>
</div>

<br />
<div align="right"><a href="javascript:void(0);" onclick="showHideAT()"><img border="0" src="http://lh4.ggpht.com/_yF0--u7KSSI/TKAy32pYhuI/AAAAAAAAArM/68dgmHYFy8M/close.png" alt="close" title="Click here to Close Cbox" /></a></div>
<div align="left"><font size="2"><a http://exeloph.blogspot.com/2010/10/showhide-cbox-pada-posisi-atas.html"target=_blank"><div style="color: #444444;">
</div></a></font></div>
</div></div>


<script type="text/javascript">
var at = document.getElementById("at");
at.style.top = (-200-at.offsetWidth).toString() + "px";
</script>


15 Desember 2012

Membuat title berbeda





<b:if cond='data:blog.url != data:blog.homepageUrl'>
<title><data:blog.pageName/> | <data:blog.title/></title>
<b:else/>
<title></title>
</b:if>


13 Desember 2012

Cara Buat Widget Facebook


<iframe src="http://www.facebook.com/plugins/likebox.php?href=http://www.facebook.com/pages/Chibi-Hacker/162753643735644&amp;width=600&amp;colorscheme=dark&amp;connections=20&amp;stream=false&amp;header=true&amp;height=287" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:600px; height:287px;" allowtransparency="true"></iframe>