Translate

Sabtu, 30 Maret 2013

Gambar Ke Link


Pilih Tata Letal / Layout
Tambah HTML/javascript dan
Copast Javascript dibawah ini"

</style>
<script type="text/javascript">
function showHideGB(){
var gb = document.getElementById("gb");
var w = gb.offsetWidth;
gb.opened ? moveGB(0, 30-w) : moveGB(20-w, 0);
gb.opened = !gb.opened;
}
function moveGB(x0, xf){
var gb = document.getElementById("gb");
var dx = Math.abs(x0-xf) > 10 ? 5 : 1;
var dir = xf>x0 ? 1 : -1;
var x = x0 + dx * dir;
gb.style.top = x.toString() + "px";
if(x0!=xf){setTimeout("moveGB("+x+", "+xf+")", 10);}
}
</script>
<div id="gb">
<div class="gbtab" onclick="showHideGB()"> </div>
<div class="gbcontent">
<div style="text-align:right">
<a href="javascript:showHideGB()">
<img src="http://imherry.blogdetik.com/files/2011/07/close.gif" border="0" width="53" height="24" />
</a>
</div>

<center>
<a href="#" alt=""/></a>
</center>

<script type="text/javascript">
var gb = document.getElementById("gb");
gb.style.center = (30-gb.offsetWidth).toString() + "px";
</script></div></div>

# Link yang akan dituju misal "http://www.xxxxxx"
Setelah Copast Simpan.

Semoga Bermanfaat

Tidak ada komentar:

Posting Komentar

Dimohon!!! ketika berkomentar dengan sopan!!
Terima Kasih