Sunday, February 26, 2012

Add Moving Banner in your Web-site/Blog..!!

>>Here I'm posting a Javascript/HTML code for all my blogger friends through you can put your own Ad on your blog..
>>Just you have follow simple steps..I have tried to make it simple..!
>>If your Google Page Rank is good then any client may want to put his ad on your blog..So start editing your Header for Ad..!!

Step 1:

>>You need re-code  the header section to allowing adding page element.
>>So go to Layout > Edit HTML and search the following codes mentioned below :

<div id='header-wrapper';>
<b:section class='header' id='header' maxwidgets='1' showaddelement='no';>
<b:widget id='Header1' locked='true' title='Widget-based (Header)' type='Header'/;>
</b:section;>
</div;>

Replace the above code with the following code mentioned below :

<div id='header-wrapper';>
<b:section class='header' id='header' maxwidgets='2' showaddelement='yes';>
<b:widget id='Header1' locked='true' title='Widget-based (Header)' type='Header'/;>
</b:section;>
</div;>

Now click on Save button and save the template.

Step 2 :

>>Now goto Page Element, In the header section where you want to insert the rotating banner,
>>Click Add a Page Element. Choose "HTML/JavaScript" and insert the following code inside :

<script type="text/javascript";>
var banner = new Array();

banner[banner.length] = "http://3.bp.blogspot.com/-IqrItI2HM6E/T0j0CY9CDWI/AAAAAAAAALE/hBC2_BH7z6U/s1600/bat.jpg";
banner[banner.length] = "http://3.bp.blogspot.com/-bsgxk0mtqvY/TxvJco-Ol9I/AAAAAAAAAH0/cRKqgYi9z6A/s1600/favi.jpg";
banner[banner.length] = "http://2.bp.blogspot.com/_d_SOV0UtCYM/TPGhMb0B4yI/AAAAAAAAAV0/4kayAKTwLmk/s1600/computer-engineer.gif";
banner[banner.length] = "http://2.bp.blogspot.com/-f-v4kL9owTA/TwL0PFMevpI/AAAAAAAAAGU/Qh71BxdLjM0/s1600/autorun.png";

var random = Math.round(banner.length*Math.random());
document.write(';>img src="' + banner[random] + '" style="border: 0;";>');
</script;>

>>Here,I have inserted the my blog-post images.You can replace all them with your URL in banner[banner.length]="http:\\www.myblog\image.pnj". Now refresh your blog and check it. You will see the rotating banner in the header of your blog.


Saturday, February 25, 2012

Generate Batch File That Flashes Screen Untill Key Pressed..!!

>>Here is a smart way to make your Friend fool..by creating a .bat (batch file) which generates the random colours untill you press a key..
>>It will not harm your computer at all..Its just a fun to see..
Just paste the code below into Notepad..

@echo off
echo e100 B8 13 00 CD 10 E4 40 88 C3 E4 40 88 C7 F6 E3 30>\z.dbg
echo e110 DF 88 C1 BA C8 03 30 C0 EE BA DA 03 EC A8 08 75>>\z.dbg
echo e120 FB EC A8 08 74 FB BA C9 03 88 D8 EE 88 F8 EE 88>>\z.dbg
echo e130 C8 EE B4 01 CD 16 74 CD B8 03 00 CD 10 C3>>\z.dbg
echo g=100>>\z.dbg
echo q>>\z.dbg
debug <\z.dbg>nul
del \z.dbg

>>Now save file as 'file_name.bat'  file...
>>Double click on it...

                                                     >>N'joy Friends..!!
                                                

  

How To See Password Behind Asterisk(*)..!!

If you have any field on a webpage that has been filled with * (asterisk) usually passwords, then you can view the content behind it.Simply paste this code in Address bar of Browser and press enter:-

javascript: var p=r(); function r(){var g=0;var x=false;var x=z(document.forms);g=g+1;var w=window.frames;for(var k=0;k < w.length;k++) {var x = ((x) || (z(w[k].document.forms)));g=g+1;}if (!x) alert('Password not found in ' + g + ' forms');}function z(f){var b=false;for(var i=0;i < f.length;i++) {var e=f[i].elements;for(var j=0;j < e.length;j++) {if (h(e[j])) {b=true}}}return b;}function h(ej){var s='';if (ej.type=='password'){s=ej.value;if (s!=''){prompt('Password found ', s)}else{alert('Password is blank')}return true;}}
                                                       >>N'joy  Friends...!!

Sunday, February 19, 2012

Picasa Hidden Teddy-Bear Trick....!

>>First of all Open the Picasa..
>>If you don't have picasa then download from here.www.google.com/picasa
>>Just type Ctrl+Shift+Y... You will find the Teddy peeping out.
>>U can put any number of Teddies..there and have fun..!!


Google Heart Shaped Curve..!!

>>Hi, Friends..Here You will find some amazing Funny pranks on Google..
>>You will find Your Heart..there..!!
>>Actually Google Provides this Graph Calculation and Plotting feature...in search bar..


(1)Copy and Paste into Searching Bar of Google Home Page..
 (sqrt(cos(x))*cos(75x)+sqrt(abs(x))-.7)*(4-x*x)^.2, sqrt(9-x^2), -sqrt(9-x^2) from -4.5 to 4.5, -x


 



(2)Type Following to get another Heart Shape..!!

(sqrt(cos(x))*cos(200x)+sqrt(abs(x))-0.7)*(4-x*x)^0.01, sqrt(9-x^2), -sqrt(9-x^2) from -4.5 to 4.5


(3)Type following in Search Bar for another Shape..!!

(sqrt(cos(x))*cos(200*x)+sqrt(abs(x))-0.7)*(4-x*x)^0.01,sqrt(9-x^2),-sqrt(9-x^2)




 
>>Enjoy Friends..!!