Slide float widget ni bila klik kat dia ..akan keluar macam ni
2. Copy kod awah ni dan paste pada ruangan HTML tadi
<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() #000000 repeat-x bottom center scroll ;-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() no-repeat;">Save
KOD WIDGET YG NAK DIJADIKAN SLIDE FLOAT WIDGET
</div></div>
<br /><div align="right"><a href="javascript:void(0);" onclick="showHideAT()"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqKj6yJ51iei9Hb_CwFSWR9RzDXudX8JPgqybF3i1snMjBmwBBnJnSuEjNUxMCRP1-bnnxLlyk4qSwLGY3YlHvDF8SJCk0S0AK-vL6NtAmrXHKgeK3quZ_hyphenhyphenGaBMq59paFeHxeH9gHvKA/s1600/close_button.gif" alt="close" title="Close" /></a></div><br><div align="right"><font size="3"><a href="http://wanhazel.blogspot.com/"><div style="color: #FF0000;"><span ></span></div></a></font></div></div></div></div>
<script type="text/javascript">var at = document.getElementById("at");at.style.top = (-200-at.offsetWidth).toString() + "px";</script></center>
* yg kaler biru tu kod untuk benda apa contohnya senarai nama or exchange link pon boleh
* yg kaler merah untuk background untuk slide float widget
Kemudian, Step seterusnya ialah..
1. Dashboard > Design > Add a Gadget > HTML/JavaScript
2. Copy kod ni dan paste pada ruangan HTML
<div style='display:scroll; position:fixed; top:21px; left:-0px;'>
<a href="javascript:void(0);"onclick="showHideAT()"/><img class="expando" width="180" height="180"src="http://s2.kimag.es/share/13001159.png" alt="PUSH" title="Perbualan Islam"/></a>
</div>
Save
* biru untuk tinggi mana slide tu nak letak.
* purple untuk saiz
* merah untuk url gambar
* Untuk tajuk benda tu. Kalau nak letak KLIK pun boleh.
No comments:
Post a Comment