Categories
Featured iPhone

Forgot Your Android Lock xt Password

If you forgot your Android Lock xt Password for your iPhone 3g, 3GS, iPhone 4 or iPod Touch, here are the steps to remove it without restore:

Categories
CSS HTML jQuery Tutorials

Cross Fading images using CSS3 Transition

For Live Demo: Click here

HTML Code:

Cross Fading images using CSS3 Transition

Click me to toggle

Categories
C#

Find Factors of Given Number

Here is the C# Solution to find the factors of given number:

– To improve the Performance of finding Factors of a given Odd number, we can increment i in the for loop by 2 instead of 1.

 public List findFactors(int n)
        {
            List factors = new List();

            int max = Convert.ToInt32(Math.Sqrt(n));

            for (int i = 1; i <= max; i++)
            {
                if(n % i == 0)
                {
                    factors.Add(i);
                    if(i != max) // add square-root factors only once.
                        factors.Add(n/i);
                }
            }
            return factors;
        }
Categories
CSS HTML jQuery Tutorials

Tabs using JQuery

For Live Demo: Click here

CSS Code:

*{margin:0; padding: 0;}

body{
	margin: 0px;
	font-family: verdana;
	font-size: 12px;
	color: #ddd;
	line-height: 20px;
}

h2{
	font-size: 18px;
	font-weight: normal;
	color:#333;
	padding: 0 0 5px 0;
}

h3{
	font-size: 16px;
	font-weight: normal;
	color:#aaa;
	padding: 0 0 5px 0;
}

#wrapper{
	width: 600px;
	margin: 0px auto;
	padding: 15px;
}

ul{
	list-style: none;
}

li{
	display:inline;
	font-size: 14px;
	background-color: #ccc;
}
/*
li:first-child
{
	padding-left: 0px !important;
}
*/

li a{
	text-decoration: none;
	color: #333;
	padding: 5px 10px;
	background-color: #ccc;
	
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

li a:hover{
	color:#ccc;
	background-color: #666;
}

.selected{
	color:#ddd;
	background-color: #333;
	font-weight: bold;
	
	padding:8px 15px 5px 15px;
}

#content div,
#content2 div{
	margin-top: 2px;
	padding: 15px;
	background-color: #333;
	
	border-top: 4px solid #666;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}
Categories
jQuery Tutorials

Find Empty Elements using JQuery

Following is the code to find empty elements from the webpage:

JQuery code:

$('*').each(function(){ if($(this).text() == ""){ //Empty Element found..! } }); 
Categories
Microsoft News

Internet explorer 9 RC available for download

Click Here to Download IE 9 RC.

Features:

  • Pinned Site: With Pinned Sites, you can get to your favorite sites directly from the Windows taskbar—without having to open Internet Explorer first.
  • Enhanced Tabs: To have the tabs show on their own row below the address bar, right-click in the open area to the right of the New tab button, and then click Show tabs below Address bar.
  • Windows 7 integration : Snap, Jump Lists, Thumbnail preview controls, and Icon overlays
  • Notification Bar: Instead of dialog boxes popping up unexpectedly and getting in your way, all notification messages are consolidated in the Notification Bar, located at the bottom of the browser frame.
  • Web-focused browsing

Click Here to Download IE 9 RC.

Categories
CSS HTML Tutorials

Arrow using CSS

For Live Demo: Click here

CSS Code:

body { margin:0px auto;}

#content{margin:0px auto; width:200px;}

#arrow-top
{
	width:0px;
	height: 0px;
	
	border-bottom: 30px solid #999;
	border-left: 30px solid transparent;
	border-right: 30px solid transparent;
}

#arrow-right
{
	width:0px;
	height: 0px;
	
	border-top: 30px solid transparent;
	border-bottom: 30px solid transparent;
	border-left: 30px solid #777;	
}

#arrow-bottom
{
	width:0px;
	height: 0px;
	
	border-top: 30px solid #444;
	border-left: 30px solid transparent;
	border-right: 30px solid transparent;
}

#arrow-left
{
	width:0px;
	height: 0px;
	
	border-top: 30px solid transparent;
	border-bottom: 30px solid transparent;
	border-right: 30px solid #000;	
}

Categories
CSS

Stylesheet Media types

Media types for Stylesheet:


Categories
CSS HTML Tutorials

PopOut Details on Hover using CSS

For Live Demo: Click here

CSS Code:

body
{
	margin: 0;	padding: 0;
	background: #1d1d1d;
	font-size: 10px;
	font-family: verdana;
}

h1{ 
	font-weight: normal; 
	font-size:3em; 
	font-family: serif, verdana;
	color:#fff;
}

h3{ font-weight: normal; font-size:1.4em;}

img {border: 1px solid #666;}

.info p{ font-weight: normal; font-size:1.0em;}

ul.popout
{
	width: 700px;
	list-style: none;
	margin: 0 auto; padding: 0;
}

ul.popout li
{
	display:inline;
	width: 100px;
	float: left;
	margin: 20px; padding: 0;
	position: relative;
}

ul.popout li:hover {z-index: 99;}
 
ul.popout li img{
	position: relative;
	filter: alpha(opacity=40);
	opacity: 0.4;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
}

ul.popout li:hover img{
	z-index: 999;
	filter: alpha(opacity=100);
	opacity: 1;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
 

ul.popout li .info {
	position: absolute;
	left: -20px; top: -20px;
	padding: 80px 10px 10px;
	width: 120px;
	display: none;
	background: #fff;

	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

ul.popout li:hover .info {display: block;}

HTML Code:

  • popout details using css

    Heading

    Nostrud nostrud quidne pneum imputo, capio quis. Feugiat valetudo praemitto molior abdo.

  • Heading

    Nostrud nostrud quidne pneum imputo, capio quis. Feugiat valetudo praemitto molior abdo.

  • popout details using css

    Heading

    Nostrud nostrud quidne pneum imputo, capio quis. Feugiat valetudo praemitto molior abdo.

  • popout details using css

    Heading

    Nostrud nostrud quidne pneum imputo, capio quis. Feugiat valetudo praemitto molior abdo.

  • Heading

    Nostrud nostrud quidne pneum imputo, capio quis. Feugiat valetudo praemitto molior abdo.

  • Heading

    Nostrud nostrud quidne pneum imputo, capio quis. Feugiat valetudo praemitto molior abdo.

  • popout details using css

    Heading

    Nostrud nostrud quidne pneum imputo, capio quis. Feugiat valetudo praemitto molior abdo.

  • popout details using css

    Heading

    Nostrud nostrud quidne pneum imputo, capio quis. Feugiat valetudo praemitto molior abdo.

  • Heading

    Nostrud nostrud quidne pneum imputo, capio quis. Feugiat valetudo praemitto molior abdo.

  • popout details using css

    Heading

    Nostrud nostrud quidne pneum imputo, capio quis. Feugiat valetudo praemitto molior abdo.

  • Heading

    Nostrud nostrud quidne pneum imputo, capio quis. Feugiat valetudo praemitto molior abdo.

  • popout details using css

    Heading

    Nostrud nostrud quidne pneum imputo, capio quis. Feugiat valetudo praemitto molior abdo.

  • popout details using css

    Heading

    Nostrud nostrud quidne pneum imputo, capio quis. Feugiat valetudo praemitto molior abdo.

  • Heading

    Nostrud nostrud quidne pneum imputo, capio quis. Feugiat valetudo praemitto molior abdo.

  • popout details using css

    Heading

    Nostrud nostrud quidne pneum imputo, capio quis. Feugiat valetudo praemitto molior abdo.

For Live Demo: Click here

Categories
CSS HTML Tutorials

Border-Radius, Text Shadow, Box Shadow, RGBA using CSS3

For Live Demo: Click here

Border Radius

  • “border-radius: 15px;”
  • For Mozilla Browser: “-moz-border-radius: 15px;”
  • For Webkit Browser: “-webkit-border-radius: 15px;”

CSS Code:

.borderRadius
{
	border-radius: 15px;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
}