tuto : ubah energy saving mode
Posted 1/30/11 // 1:49 AM

direquestkan oleh LILO LOLLYPOP

1) copy code dibawah :
var idleTime=0;var standby=false;function CheckInactivity(){idleTime+=10;if(idleTime>60){InitializeStandBy()}}function InitializeStandBy(){if(!standby){var a=0;a=jQuery(window).height();jQuery("#energysaving").show().css({height:"0",width:"0",left:"50%",top:"50%"}).
animate({width:"100%",height:a,left:"0",top:"0",opacity:"1"},1000);standby=true}}function StopStandBy(){if(standby){jQuery("#energysaving").animate({width:"0",height:"0",opacity:"0",left:"50%",top:"50%"},
500);setTimeout('jQuery("#energysaving").hide();',800);standby=false}}document.write('<link rel="stylesheet" href="http://www.onlineleaf.com/savetheenvironment.css" type="text/css">');if(typeof(jQuery)=="undefined")
{document.write('<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"><\/script>')}function InitJQuery(){if(typeof(jQuery)=="undefined"){setTimeout("InitJQuery();",50)}else{jQuery(function(){jQuery
(document).ready(function(){setInterval("CheckInactivity();",10000);jQuery(this).mousemove(function(a)
{idleTime=0;StopStandBy()});jQuery(document).keypress(function(a){idleTime=0;StopStandBy()});jQuery
("body").append('<div id="energysaving"><p><font style="color: #2fb2fa;">SCREEN SAVER MODE IS "<blink>ACTIVE</blink>"</font><br/><span><font style="color: #FFFFFF;">please move the cursor if you want to "<blink>NONACTIVE</blink>" the Screen Saver</font></span></p><div id="copyrightOnlineLeaf"><font style="color: #00FF00;">Copyright 2010 - Helwie | visit my blog | http://helwie-ahmad.blogspot.com/</font> <font style="color: #FFFFFF;">Supported by: www.onlineleaf.com</font></div></div>');jQuery("#energysaving").hide()})})}}InitJQuery();
2) pastekan di notepad atau sejenisnya , ubah mengikut kreativiti anda =)

3) dah abis edit , copy code yang anda edit tadi

4) cari kode <head> dan paste code tadi di atas kode <head> tu

5) dah,PREVIEW dulu sebelum SAVE !
8 Comments:
Blogger lilo lollipop said...

thank you dear .. kamu baik hati !
tapi kan .. mmg bole letakpic cartoon ea ?

January 30, 2011 at 1:32 PM  


Blogger beela said...

mekasih~ x tau r.. :)

January 31, 2011 at 12:07 AM  


Blogger YumiKumiko said...

erm. sye tk beberapa fhm la..

March 5, 2011 at 1:34 AM  


Blogger inisnisanasitusaia said...

susoh arh beela =="

March 14, 2011 at 1:36 AM  


Anonymous Anonymous said...

Code tu berserabut laa ........ cam ne ?

March 17, 2011 at 11:58 PM  


Blogger beela said...

humm.. jap, baiki :)

March 18, 2011 at 3:56 AM  


Blogger Niemmo Riesa said...

haish , saya buat tak jadi la , dia asyik cakap error je terus , macm mane ?

April 5, 2011 at 2:29 AM  


Blogger ..cik gugu.. said...

xde pon head..

June 24, 2011 at 10:09 PM  


Post a Comment

... Back to the blog?

Since 2012