Konnichiwa! ILYSM Ravenaa~ Don't go away from my live please :) search something? in below box! Walkie Talkie! Flashback Now! Status Credits © 2014 -Template by AvenaAldenGradiana Helped by Rahmaniar and the basecode from Arrien Amani | Anugerah Salsa . Big thanks to google.Best view just in google chrome. |
Widget Change Background Jumat, 03 Oktober 2014 | 0 Note(s) Kalian pasti udah pernah lihat, kan? Itu lho, jadi biasanya ada dua atau tiga background lalu kalau kita klik backgroundnya, background blog tersebut akan berubah. langsung saja deh..Designer ke layout > add a gadget > javascript Blogskins ke template lalu copy paste code dibawah ini pada code sidebar kalian. <style>#background a img{width:50px;height:50px;display:inline;margin-right:10px;margin-top:0px;border: 1px solid #C4E1FF;}#background a:hover img{border: 1px solid #C4E1FF;}</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(URL Background 1)"}); }); }); $(document).ready(function(){ $("#bgcolor2").click(function(){ $("body").css({"background":"url(URL Background 2)"}); }); }); $(document).ready(function(){ $("#bgcolor3").click(function(){ $("body").css({"background":"url(URL Background 3)"}); }); }); </script> <div style="text-align:center;"><a href="javascript:void(O)" id='bgcolor1' title="Judul Background 1"><img alt='Tooltips Background1' src="URL Background 1" width="50"height="50" /></a> <a href="javascript:void(O)" id='bgcolor2' title="Judul Background 2"><img alt='Tooltips Background 2' src="URL Background 2" width="50" height="50"/></a> <a href="javascript:void(O)" id='bgcolor3' title="Judul Background 3"><img alt='Tooltips Background 3' src="URL Background 3" height="50" width="50" /></a></div></div> Merah : URL background kalian Hijau : Judul Background kalian.
Okey, sekian ~
|
Posting Komentar