3 WIDGET CHANGE BACKGROUND
credit:Kak Jauza'
Ikuti langkah-langkahnya,ya!
- Dashboard >>> Tata Letak >>> Tambah Gadget >>> HTML/Javascript
- Copy kode ini :
<style></style><div id="background"> <script src='http://code.jquery.com/jquery-1.6.2.min.js' type='text/javascript'></script> <script> $(document).ready(function(){ $("#bgcolor1").click(function(){ $("body").css({"background":"url(BACKGROUND 1)"}); }); }); $(document).ready(function(){ $("#bgcolor2").click(function(){ $("body").css({"background":"url(BACKGROUND 2)"}); }); }); $(document).ready(function(){ $("#bgcolor3").click(function(){ $("body").css({"background":"url(BACKGROUND 3)"}); }); }); </script> <div style="text-align:center;"><a href="javascript:void(O)" id='bgcolor1' title="Click!"><img alt='Tooltips Background1' src="BACKGROUND 1" width="50"height="50" /></a> <a href="javascript:void(O)" id='bgcolor2' title="Click!"><img alt='Tooltips Background 2' src="BACKGROUND 2" width="50" height="50"/></a> <a href="javascript:void(O)" id='bgcolor3' title="Click!"><img alt='Tooltips Background 3' src="BACKGROUND 3" height="50" width="50" /></a></div></div>
- Paste >>> Simpan
Re-post ?sertakan link blogku & kak Jauza' ya!
THANKS, KAK. AMAZING SEKALI
ReplyDelete