Social Icons

twitter facebook google plus

Pages

Wednesday, 28 August 2013

HOW TO USE CONTROL BUTTONS IN HTML DURING MARQUEE..

THINK DIFFERENT

THINK DIFFERENT

Copy this HTML code and paste in notepad and save it with .html format then open it..


<HTML>
<title>
THINK DIFFERENT
</title>
<BODY bgcolor="cyan">
<marquee id="think different" behavior="scroll" direction="left" scrollamount="10">
<h3>THINK DIFFERENT</h3>
</marquee>
<center><input type="button" value="slower" onClick="document.getElementById('think different').setAttribute('scrollamount',2,0);">
<input type="button" value="Normal" onClick="document.getElementById('think different').setAttribute('scrollamount', 10, 0);">
<input type="button" value="faster" onClick="document.getElementById('think different').setAttribute('scrollamount',25,0);">
</center>
</BODY>
</HTML>

Wednesday, 21 August 2013

MAKE A MOVING CAR USING GRAPHICS IN C ..

Hello friends...  
   I think my previous post "how to recover unallocated size of USB flash drive" is useful for you. 
this time i come here with a very interesting graphics programming using C language..  
here i give you a C code .. when you run it with your TURBO C then you see a  magic ...


#include <graphics.h>
 void main()
{
   int i, j = 0, gd = DETECT, gm;
   initgraph(&gd,&gm,"..\\BGI");
   outtextxy(25,240,"Press any key to start car");
    
  
   getch();
   
   for( i = 0 ; i <= 420 ; i = i + 10, j++ )
   {
      rectangle(50+i,275,150+i,400);
      rectangle(150+i,350,200+i,400);
      circle(75+i,410,10);
      circle(175+i,410,10);
      setcolor(j);  //use for change the color of car
      delay(100);
      if( i == 420 )
         break;
      clearviewport();
   }
   getch();
   closegraph();
  
}

Friday, 9 August 2013

How To Recover Unallocated Size Of USB Flash Drive.

This problem of USB is generally done after making bootable and then install LINUX operating  system from USB..

 When this problem occour then our disk management looks like this...

Step to solve this problem..
1. Open command line by Administrative permission and write command   diskpart and press Enter.

2. Now write command  list disk and press Enter. in command line you see like this...

Disk ###  Status         Size     Free     Dyn  Gpt 
  --------  -------------  -------  -------  ---  --- 
  Disk 0    Online          298 GB      0 B 
  Disk 1    Online         7509 MB  6619 MB

3. Now you select disk by select disk<disk number> Ex.. select disk 1

4.Now write command  clean

5. Now write create partition primary. Now  you see in your command line
     "DiskPart succeeded in creating the specified partition."

 6. And last write command exit.     




NOW ENJOY WITH YOUR FULL SIZE OF USB... THANKYOU...
 

OUR VISION

think different

ABOUT US