Responsive web design – HTML 5

What is responsive web design ?

Responsive web design (often abbreviated to RWD) is a web design approach aimed at crafting sites to provide an optimal viewing experience—easy reading and navigation with a minimum of resizing, panning, and scrolling—across a wide range of devices (from desktop computer monitors to mobile phones)

Elements of responsive web design :

It used css3 media query. Media queries allow the page to use different CSS style rules based on characteristics of the device the site is being displayed on, most commonly the width of the browser

Now learn how to create responsive web design :

portrait-landscape responsive web design

This shows the the most significant screen sizes, from the smallest to the largest.

Fashion phones:
128×220 Samsung F210
240×400 LG favorite. Prada and Viewty.
Handheld touchscreens of the iPhone variety:
240×440 Various Palm and HP
240×480 LG KF700
Typical Palm/Blackberry form factor. US enterprise with portrait or square displays:
240×240 Samsung F210
240×260 Blackberry Pearl 8100
320×240 Various
320×320 Palm and Samsung
Clamshell:
640×480 HTC X7500, Qtek 9000, etc.
800×352 Nokia E90 Communicator
800×400 Sony Ericsson Xperia X1

Example of responsive menu :

responsive-code

/* small screens */

@media screen and (max-width: 44em) {

body {

margin:1.5em 0;

}

nav[role=”full-horizontal”] {

ul {

padding:0 .5em;

}

ul > li {

width:100%;

padding:.45em .25em;

margin:0 0 .55em 0;

&:after {

box-shadow:none;

}

}

}

}

Output :

menu-responsive

 

Yahoo ties up with Google for using AdSense

yahoo

Yahoo Inc on Wednesday announced an advertising alliance with Google, the company that dethroned the pioneering Internet firm in the world of Internet search. Yahoo gave the example of someone online shopping for boots being shown an ad for something completely unrelated because no advertisements for footwear were available in inventory.

Google will use its online ad targeting skills at some Yahoo! properties, stepping in to put relevant marketing messages in available spaces, according to Sunnyvale, California-based Yahoo!. It also raised the possibility of Yahoo turning to Google to power Internet searches at its website, once freed from its current deal to use Microsoft’s Bing service.
Yahoo has been trying to reinvent itself since the once-flowering Internet search service found itself withering in Google’s shadow.

Source

 

 

 

 

Wireless router – Micromax MMX 400R

 micro max rounter

The MMX 400R is both a wireless router and Wi – Fi hotspot. It manages multiple roles as effortlessly as it manages multiple devices. Since it’s independent of operating systems, it’s easy to use; just plug it in and you’re good to go! Portable and handy, it provides high speed internet with secured access to any Wi – Fi device within 10 meters. And its lithium ion battery provides working power for up to four hours, which means you’ll run out of sites to surf before it runs out of energy.micromax rounter

Features :

Network : 3G
HSDPA : 3GPP Release6, up to 7.2Mbps DL,category 7/8
HSUPA : 3GPP Release6, up to 5.76Mbps UL,category 6
ROM : 128MB
RAM : 64MB
Dimensions : H:14mm, W:51mm, L:96mm
Weight : 90 Grams
HSDPA (Downlink) : Up to 7.2Mbps
HSUPA (Uplink) : Up to 5.76Mbps
Frequency Band : 850/900/1800/1900/2100 MHz
WLAN Band : 2.4 GHz
Expandable Memory : 16GB
SMS Feature : No
Phonebook Feature : No
Calling Facility : No
Battery Capacity : 1500 mAh

Download manual

jquery ui datepicker

Jquery is one of the easiest way to implement datepicker for form’s input field. You can also set on focus event to fire date popup. Choose a date, click elsewhere on the page (blur the input), or hit the Esc key to close. If a date is chosen, feedback is shown as the input’s value.

jquery date picker

Simple Source Code :

<html lang="en">
<head>
<meta charset="utf-8" />
<title>jQuery UI Datepicker - Default functionality</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.8.3.js"></script>
<script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css" />
<script>
$(function() {
$( "#datepicker" ).datepicker();
});
</script>
</head>
<body>
<p>Date: <input type="text" id="datepicker" /></p>
</body>
</html>
How to restrict or disable date in jquery date picker ?
jquery disable date range
Restrict date range: (Source code)
<html lang="en">
<head>
<meta charset="utf-8" />
<title>jQuery UI Datepicker - Restrict date range</title>
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.0/themes/base/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.8.3.js"></script>
<script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css" />
<script>
$(function() {
$( "#datepicker" ).datepicker({ minDate: -20, maxDate: "+1M +10D" });
});
</script>
</head>
<body>
<p>Date: <input type="text" id="datepicker" /></p>
</body>
</html>
Do you want get more tutorial, then just visit source

How do i put google analytics in my wordpress

Have you question like “How do i put google analytics in my wordpress ?” like me. No problem. I will explain in short regarding how to do it directly from wordpress admin panel. Steps are very simple and easy to understand.

There are 3 ways to install Google analytics in WordPress. Direct paste, functions.php, and plugins.

Direct Paste Method :

Copy the code that you received from google analytics panel, and paste it in your theme’s footer.php right above the </body> tag.

To do this open

appearance

and then click on “footer.php” in right side.

google analytic code in wordpress

Functions.php Method :

Add the following code in your theme’s functions.php file

function.php

Plugins Method :

There are tons of plugins available to add Google Analytics to your site. Paste the Google Analytics code in the plugin’s setting page.

Apple Takes 3 Of Top 5 Spots In U.S. Mobile Phone Sales

Apple has managed to nab three of the top 5 spots for the top-selling mobile phones in the U.S. during Q4 2012 according to the NPD Group, with the iPhone 5, iPhone 4S and iPhone 4 ranking first, third and fourth, respectively. Apple also retained the crown for best-selling overall smartphone maker, accounting for 39 percent of smartphone sales in Q4 2012, compared to Samsung’s 30 percent.

apple

Apple’s holiday quarter, which included 47.8 million iPhone sales and 22.9 million iPads, looks to have helped it in terms of remaining the leader in both smartphone and mobile device sales in the U.S., and in keeping the hold it has on mobile browsing. The strong quarter also accounts for Apple’s regaining the role of largest mobile phone maker by volume in the U.S., an honor it reclaimed according to the latest data from Strategy Analytics released earlier today.

Net Applications also released its monthly report on mobile OS share, which found that Apple’s iOS increased slightly in terms of traffic, accounting for 60.56 percent of all mobile operating systems, while Android actually took a bit of a dip to 24.51 percent, continuing a decline that has occurred over the past two months from a peak high in November of 28.02 percent. It looks like Apple’s release of the iPhone 5 might have essentially begun to erase earlier gains made by the longer availability of the Samsung Galaxy S III, but Apple still has some ground to make up if it wants to climb back to its 2012 high of nearly 66 percent web traffic share among mobile devices.

Source

Masking techniques in photoshop

I will try to describe you regarding how to  use masking techniques in photoshop.

Step-1 :

Make a duplicate layer of the image. This way the original is preserved on the background and we are working on a duplicated layer. Choose Select>Color Range from the Menu. When the Color Range Dialog box open, choose the Left Eye Dropper tool and click on the background color in the image window (pink). You will see the selected color turn white in the dialog box. More the Fuzziness slider until the image is mostly black and the background is a clean as you can get it. Tip: To add a color to the selection click on the eyedropper tool with the plus sign and click in the image. Click ok

photoshop mask

Step-2 :

With the selection active, switch to the Channels palette. Click the save selection as channel button, it’s the second one to the left on the bottom of the channels palette. A new alpha channel will now be visible. Press “Ctrl/Cmd+D” to Deselect and click on Alpha 1 in the channels palette. The main window will now turn black and white. The advantage of using a channel is the ability to fine tune the selection without effecting the original image. Black represents the areas that we want to keep and white, the areas to be discarded.

photoshop mask

Step : 3

Notice that there are areas of gray, these would be semi-transparent and need to become solid black and white (except for areas that should be semi transparent such as soft edges). There are tiny dots also visible, there will make for a very messy selection. Here is a quick solution that I have come up with: Click Image>Adjustments>Levels..
In the levels Dialog box, click the black point slider on the left and drag it to the right until the gray areas have become a solid black, Slide the White point slider to the left until the whites are nice and clean and the grainy effect has gone. Click ok to apply.

photoshop mask

Step-4 :

Time to fine tune the mask. Choose a black brush and make the edge hard. Paint over all the areas that belong in the object to mask out. Use a larger brush for large areas and a smaller brush for finer detail such as around the feathers. Use a white paint color to paint out the areas that should be removed.

photoshop mask

Step-5 :

Sometimes it can be hard to guess which part of the image belongs in the foreground and a peek at the original image is needed.  Click on eye icon to the left of RGB at the top of the Channels palette (Fig 5). The original photo is now visible and the mask appears as a reddish color. Click the eye icon to go back to the mask view. The mask can also be hidden by toggling the eye (visibility icon). Keep going until you have a clean mask.

photoshop mask

Step-6 :

Hold Cmd(Ctrl PC) and click on the Alpha 1 thumbnail. You will now see an active selection. Click on RGB to see the color image. Open the layers palette. Select the working layer and press the Delete key (Backspace on Windows). The masked area of the backround will now be removed to reveal a nice clean masking effect.  At this point In am only worried about removing the pink background on the left.

6

Step-7 :

If there are areas that still need to be removes such as on the right side of this image, repeat the proceeding steps. Because each image is unique, some will need several passes and some can be done in a single pass. As you can see, this technique is very effective and the image can be dropped onto any background. Look at the top left of the image to see how precise the cut out is on the detailed feathers.

photoshop mask

Source

 

we’re going to look at one of the most essential features in all of Photoshop – layer masks.

5 Best and simple Beautiful Business Card Design

We will like to share some  beautiful collection of business card  for you. As you know that Business card is the way to represent of your nature of work. Business card impress to your business as well. Attractive card attracts more people. This is the most important visual identity of every business man. Beautiful designs always attract users and make your identity different to others.

I have founded some beautiful business card as under for your reference :

attractive=business-card attractive=business-card business-card business-card business-card

 

How to verify with Google in wordpress

In order to use Google Webmaster tools for your website, you need to verify it with Google to prove that you own the website.

There are two ways to do this:

  1. Uploading a special file to your website
  2. Adding a Meta Tag to your website.

As a search engine prowls your site, it gathers information from the title, headings, content, and Meta Tags such as description or keywords. It compares the words within each of these sections and “ranks” the site dependent upon how well the information matches. We have more information on how to maximize your meta tag references below.

You can follow to the actions proven by Don Campbell in below video and add meta tag to header.php in your file.

d

Photoshop : Free Plugin For Dealing With Grids

photoshop

Take a moment and think about creating a multi-column grid in a Photoshop comp. Some designers just estimate and drag guides arbitrarily onto the stage. Others draw vector shapes, duplicate them to represent columns, then stretch them to fit their design.

How to calculate grid (formula) :

(siteWidth – (gutterWidth × (numberOfColumns – 1) ) ÷ numberOfColumns = columnWidth

COLUMNS AND ROWS

Designing a site that needs multiple columns and gutters? GuideGuide has your back.

photoshop grid

 

 

MIDPOINTS

GuideGuide makes finding the midpoint of items within your design a breeze. Simply draw a selection or  + click (ctrlclick on Windows) to create a selection around the item you want to find the midpoint of. To find its midpoint, click one of the midpoint buttons.

photoshop midpoint

 

GuideGuide places a guide at the midpoint of the selection. Now you can easily center align elements under the original item.

MEASURE NAVIGATION

  1. Make a selection the width of your site
  2. Enter your info, thinking of the columns field as the number of navigation items and the gutter field as the space you want between each item (if you want it).

ELEMENT PADDING

  1.  + click (ctrl + click on Windows) the item to make a selection around it.
  2. Enter a negative margin in one of GuideGuide’s margin fields, and click the icon next to it. GuideGuide will fill that value into all the margin fields.
  3. Use the newly placed guides to draw your box.

BASELINE GRID

Using GuideGuide’s explicit row height, you can easily create a baseline grid for your design.

  1. Enter your desired line height in the row height field.
  2. Align your type and other elements to your new baseline grid.