//Forever Imperfect
Click On The Board

Minggu, 07 September 2014 @ 01.44 | 0 Comment [s]


Aku mau buat tutorial lagi nih. Kali ini tutonya click on the board. Daripada nunggu-nunggu lama lagi, ayo kita lihat!

  • BLOGSKINS 
 Paste di bawah kode </style>
  •  DESIGNER TEMPLATE 
Paste di Add Gadget > HTML/JAVASCRIPT 

<style type="text/css">
#at{
position:fixed;
right:350px;
z-index:+1000;
top:6;
}
* html #at{position:relative;}
.attab{
height:500px;
width:30px;
float:right;
cursor:pointer;
background:url();
}
.atcontent{
float:left;
background:url(http://i.imgur.com/l9R9RO3.png)
no-repeat 0 0 transparent;
width:800px;
height:700px;center scroll ;
padding:56px 0 20px 5px;
}
</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() no-repeat;">
<center><div id="author">
<a href="javascript:void(0);" onclick="showHideAT()">
</a></div></center></div>
<script type="text/javascript">
var at = document.getElementById("at");
at.style.top = (-500-at.offsetWidth).toString() + "px";
</script>
<style type='text/css'>
a.linkopacity img {
filter:alpha(opacity=50);
-moz-opacity: 0.5;F
opacity: 0.5;
-khtml-opacity: 0.5;}
a.linkopacity:hover img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
-khtml-opacity: 1.0; }
</style>
<div style='display:scroll; position:fixed; top:100px; right:5px;'>
<a href="javascript:void(0);"onclick="showHideAT()"/>
<img src="http://i.imgur.com/NpWHr1W.gif"
alt="PUSH" title="KLIK ME" /></a>
</div></div></div></div>
oren : jarak hover drop down
merah : image 
hijau : kata-kata.  bisa kalian ganti dengan kata "KLIK HERE" etc.
   
Cr post :Kak Safira
Cr code:  Atin


Older Post | Newer Post
The Disclaimer

Hi peeps. Im Fasya, 10 years old. My hobby is blogging, writing, ex-link, and reading. Please dont open my page source!

underlined, bold

Dreamer!


Navigations!

Diary About Site


Let's Talk!

No Anonymous
No Spamming
No Rusuh
Chat with me!


The Credits!

Template by : Farisyaa Awayy
Basecode by : Nurynn
Full Edited : Fasya

Best View at GOOGLE CHROME!