Get your free Sample of my Web Apps today!

Three five page web Apps come in the sample file, One buisness template that uses the default and One Club template that use the default jQuery themes, and One About me Web App with a customised skin. These come 'as is' with no support and are yours to play around with or use in non commercial and commercial projects.


Air Asia – Fooling around with forms

Written by: Cat | Article: Direct Link

The challange today is to recreate the Air Asia native App style on a jQuery mobile default template. Three pages have been chosen to be imitated the Air Asia home page, menu page and the online check in.

I used the open source script for the popular and mobile friendly FlexSlider courtesy of woo themes FlexSlider by Woo themes to create the homepage. I’ve used this slider a lot in creating mobile pages, sites and web apps – it really is completely flexible.

photo 2 (1)

photo 1 (1)

photo 3

In this article I’m going to focus on styling the online check in page, more precisly fooling around with the form elements. The Air Asia page has the label for a form element appear to be a part of the button selection.

First we change the font to the right color and size, then we get the actual element ready to have the labels moved, by giving it an 80px indent using the padding-left attribute.

.airasia label.ui-select,.airasia .ui-controlgroup-label
{
  color:#ea0b14;
  font-weight:900;
}

.airasia .ui-controlgroup-vertical .ui-controlgroup-controls .ui-btn
{
  text-align:left;
  padding-left:80px;
}

 
Next we are going to move the labels across to the left hand side by making their position: relative and placing them 2px from the top and left margins, creating the effect of a border. The background-color of the label element is usually transparent here we are changing it to #eee to match the light grey of the Air Asia App.


.airasia .labels
{
  width:80px;
  background-color:#eee;
  position:relative;
  top:2px;
  left:2px;
  margin-top:-2px;
  z-index:9;
  padding:8px 0 8px 8px;
}

 
Make sure the z-index is set high enough that the labels sit on top of all over content in this case that is 9, if you are unsure you can always set it to an extreamly high number such as z-index: 9999.


.airasia .ui-btn-active
{
  text-shadow:none;
  background-image:none;
  border:solid 1px #ea0b14;
  background-color:#ea0b14;
  color:#fff;
  font-weight:800;
}

 
The jQuery built in form elements are easy to use and manipulate for any purpose, combined with your smartphones operating system they work like a dream and look very slick.

photo 4

photo 2

photo 5

For a tutorial on creating a back button similar to that of the Air Asia App visit: http://appcropolis.com/how-to-make-iphone-back-button-in-jquery-mobile/


Smart Viewer


Smart Viewer


How did I do That?

  • Absolute Radio – A complete style overhaul

  • Today I am transforming the default jQuery mobile template into the Absolute Radio Native application which is very striking with its bold purples and unique looking design. Luckily the actual layout does not move too far from the old default jQuery
    More
  • Air Asia – Fooling around with forms

  • The challange today is to recreate the Air Asia native App style on a jQuery mobile default template. Three pages have been chosen to be imitated the Air Asia home page, menu page and the online check in. I used the open source script for the popula
    More
  • Netflix and Zillow – Manipulating lists

  • In order to create an app like appearance with jQuery mobile that imitates already exisiting Native Apps I have to spend a lot of time tweaking css - 1px this way 2px that way. This is a short article about manipulating lists which is the most commo
    More
  • iTunes Festival – App like toolbars

  • This is a quick tutorial about how to emulate the style of the 'original' ios native apps: made similar to iTunes. First we have to take some steps to turn the flat ui footer into a slick rounded app like navigation bar. Let's start by counteracti
    More

Other Great Habits Of Mine

CV

CV

Web Apps

Portfolio

Graphics

Writing