Cursor Effect Jet Fighter merupakan widget dengan tema pesawat tempur yang sedang terbang mengikuti arah kusor mouse di blog... Widget ini menggunakan script Watching Girl hanya gambarnya saja yang saya ganti menggunakan gambar gif animasi pesawat tempur. Widget ini sangat menarik dan atraktif, untuk contoh seperti yang terlihat pada postingan artikel ini... Oke sob buat yang tertarik monggo langsung ke TKP....
Penting !!! ada baiknya sobat blogger mem-backup terlebih dahulu template blog sobat untuk menghindari hal-hal yang tidak diinginkan dalam menerapkan widget ini.
Cara Pemasangan :
- Login ke blog sobat...
- Klik "More Options" selector box kemudian klik "Tata Letak" setelah itu pilih "Add Widget" dan pilih "HTML / Javascript", seperti gambar di bawah ini.
- Copy-paste kode di bawah ini dan taruh di kotak gadget blog. Silakan sesuaikan beberapa parameter kode tersebut agar sesuai dengan tema blog sobat.
<script> if(typeof(jQuery) == 'undefined'){document.write("<scr" + "ipt type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js'></scr" + "ipt>");} </script> <script language="javascript"> var ImageURL="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw0xjE1SoHodvteQHA38jAo7QruWBtkwZNsIbUFrFYq7qckBrr1icUpV6PqJoKdVnwP4mW5d1cVXMpzx6oqjByJ9Im4mQeeB83ZmzGQRMOjvWXLgfyB3MNRh_gY0HKIqvKiO9nuo25dnQ/s1600/jetFighter.gif"; </script> <script> var heightPic = ""; var widthPic = ""; var urlImg = ""; if (ImageURL=="" || ImageURL==null){ ImageURL="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcVBFglKWmG3q2PfogfHXcait-llbfFzPNu_GFrScqwYC-eS73g3nC1QBS-_wb-8nb47V_9Sl8AkYbclsjzo6bJFFcQRcGRKNkT2a7QbN0uHXmi-PmcWwx8NSYb7AnZ0cTxxKa_wQzCkQ/s1600/mozGirl.png"; } urlImg = new Image(); urlImg.src = ImageURL; var imgPic0 = urlImg.src; heightPic = urlImg.height; widthPic = urlImg.width; if (heightPic == 0 || widthPic == 0 || heightPic == "" || widthPic == "" || heightPic == null || widthPic == null || heightPic == "undefined" || widthPic == "undefined"){ heightPic = 200; widthPic = 250; } var n4Pic=(document.layers); var n6Pic=(document.getElementById&&!document.all); var iePic=(document.all); var OPic=(navigator.appName.indexOf("Opera") != -1)?true:false; var _dPic=(n4Pic||iePic)?'document.':'document.getElementById("'; var _aPic=(n4Pic||n6Pic)?'':'all.'; var _rPic=(n6Pic)?'")':''; var _sPic=(n4Pic)?'':'.style'; if (n4Pic){ $("body").append('<layer name="imgPic" top=0 left=0 width="'+widthPic+'" height="'+heightPic+'"><img src="'+imgPic0+'" width="'+widthPic+'" height="'+heightPic+'"></layer>'); } else{ if (iePic) $("body").append('<div id="icPic" style="position:absolute;top:0;left:0;"><div style="position:relative;">'); $("body").append('<div id="imgPic" style="position:absolute;top:50px;left:50px;width:'+widthPic+'px;height:'+heightPic+'px;z-index:+999;"><img src="'+imgPic0+'"/></div>'); if (iePic) $("body").append('</div></div>'); } $("body").append("<div id=\"power\" style=\"font-family:Georgia, 'Times New Roman', Times, serif; font-size:10px; position:fixed; left:5px; bottom:5px; z-index:+99;\"><a href=\"http:\/\/monozcore.blogspot.com\" target=\"blank\" style=\"text-decoration:none;color:dimgrey;\">Powered by MonozCore<\/a><\/div>"); var ymPic=0; var xmPic=0; if (n4Pic||n6Pic){ window.captureEvents(Event.MOUSEMOVE); function mouseNS(e){ ymPic = e.pageY-window.pageYOffset; xmPic = e.pageX; } if (n4Pic)window.onMouseMove=mouseNS; if (n6Pic)document.onmousemove=mouseNS; } if (iePic||OPic){ function mouseIEO(){ ymPic = (iePic)?event.clientY:event.clientY-window.pageYOffset; xmPic = event.clientX; } document.onmousemove=mouseIEO; } var etempPic=eval(_dPic+_aPic+"imgPic"+_rPic+_sPic); dyPic=0; dxPic=0; fyPic=0; fxPic=0; function makefollow(){ syPic=(!iePic)?window.pageYOffset:0; wyPic=(iePic)?document.body.clientHeight:window.innerHeight; wxPic=(iePic)?document.body.clientWidth:window.innerWidth; //Keep eyes on screen. Netscape 6 plays up otherwise! var chyPic = Math.floor(fyPic-heightPic); if (chyPic <= 0) {chyPic = 0;} if (chyPic >= wyPic-heightPic) {chyPic = wyPic-heightPic;} var chxPic = Math.floor(fxPic-widthPic); if (chxPic <= 0) {chxPic = 0;} if (chxPic >= wxPic-widthPic){chxPic = wxPic-widthPic-50;} if (chyPic+syPic <= 0 && chxPic <= 0){ etempPic.top=ymPic+20+"px"; if(chxPic >= wxPic-widthPic){etempPic.left=chxPic+"px";} else{etempPic.left=xmPic+20+"px"; } }else{ if(chyPic+syPic <= 0){etempPic.top=ymPic+20+"px";} else{etempPic.top=chyPic+syPic+"px";} etempPic.left=chxPic+"px"; } } function move(){ if (iePic)icPic.style.top=document.body.scrollTop; dyPic=fyPic+=(ymPic-fyPic)*0.12+15; dxPic=fxPic+=(xmPic-fxPic+(widthPic/2))*0.12+15; makefollow(); setTimeout('move()',10); } move(); </script>
KETERANGAN :- var ImageURL="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw0xjE1SoHodvteQHA38jAo7QruWBtkwZNsIbUFrFYq7qckBrr1icUpV6PqJoKdVnwP4mW5d1cVXMpzx6oqjByJ9Im4mQeeB83ZmzGQRMOjvWXLgfyB3MNRh_gY0HKIqvKiO9nuo25dnQ/s1600/jetFighter.gif"; // merupakan URL gambar pesawat silakan sobat sesuaikan dengan gambar pesawat yang sobat inginkan.
Pilihan Pesawat :
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjw0xjE1SoHodvteQHA38jAo7QruWBtkwZNsIbUFrFYq7qckBrr1icUpV6PqJoKdVnwP4mW5d1cVXMpzx6oqjByJ9Im4mQeeB83ZmzGQRMOjvWXLgfyB3MNRh_gY0HKIqvKiO9nuo25dnQ/s1600/jetFighter.gifhttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuJqo0L_0tiNaFlqLBwxLYdBzqYL1X7Q46KZQBEKxn0Y3bBqz1gmM1y3llmCLA5e7mwWJo-zMmlUsXUB_yZilz_oe5e59NW4ZA3fyVmnEmanFqEKrm1c_RcwXJqPqipMPkmou-QtcLY2Y/s1600/graphics-jets-597008.gifhttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKyMj_Z1OPi4TnpjNgbN8SSoGGqVDI-pBSC9zcmDyPeEzdAp3GaOAGTE6vdvVeZtC7FELAsEU2k3cZYCfU5loUh-rbOoouSvcnl2H_nhT3pAhGmOiZBjSwXmSZ_ZN-PME6lvlEI8ElCmw/s1600/graphics-jets-803796.gifhttps://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9LyxGv3b777FCDkRmMeSMgn_wOpxfAZOpEC9RIbTdvIA45o7ApNVGoNGC9SCL1IxXDQubgcQt3zcxgFOhdS-y_u2mJZlRoIlcG9gkUTX6mHQJ65IUphB6BLIt4aV1GZ4W3Nrp_48Do_Q/s1600/jetFighter2.gif - Klik "Save" dan lihat hasilnya...
Oke sobat monozcore jangan lupa meninggalkan jejak komentarnya yaa... biar postingan berikutnya semakin unik dan menarik.. happy blogging...
.: Semoga Bermanfaat :.
0 Comments