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.


iTunes Festival – App like toolbars

Written by: Cat | Article: Direct Link

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 counteracting the faded opacity that is applied to toolbars in jQuery mobile by default when using data-role=”fullscreen”


/* Apply gradient to footer and contents for app like navigation*/
.itunes .ui-footer-fullscreen {
opacity: 1;
}
.itunes .ui-navbar {
margin-top: -6px;
}

 

Next we want to change the font size of the text in our navbar tab, this needs to be very small to fit underneath an icon much like in an iTunes styled app.


/* Change text size and font color to create app like navigation*/
.itunes .ui-navbar .ui-btn-text {
font-size: 11px; color: #999;
}
.itunes .ui-navbar .ui-btn-active .ui-btn-text {
font-size: 11px; color: #fff;
}
.itunes .ui-navbar .ui-btn .ui-btn-inner {
padding-top: 34px !important;  
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4F4F4F), to(#1F1F1F), color-stop(.5,#000000));
}

 

Now we are going to add the icons, once again we need to prepare the tabs in the nav bar first. Adding width and height attributes to the ui-icon ensures that the icon is not cut off and given more space then the default icons have.


/* Overide usual icon size and display*/
.itunes .ui-navbar .ui-btn .ui-icon {
width: 34px!important; 
height: 30px!important; 
margin-left: -15px !important; 
box-shadow: none!important; 
-moz-box-shadow: none!important; 
-webkit-box-shadow: none!important; 
-webkit-border-radius: 0 !important; 
border-radius: 0 !important; 
}

 

Next we add the actual icons, there are two for each tab, one white icon and one blue icon for when the tab is active. To add these we use the ui-icon- and then the title of the icon, in this case section of the web app and the ui-btn-active class for the identicle blue versions.


/* Change icons to create app like navigation*/
.itunes .ui-icon {
background:  rgba(0,0,0,0);
}
.itunes .ui-icon-gigs {
	background-image: url(images/gigs.png);
	background-repeat: no-repeat;
}
.itunes .ui-btn-active .ui-icon-gigs {
	background-image: url(images/gigs-blue.png);
}
.itunes .ui-icon-live {
	background-image: url(images/live.png);
	background-repeat: no-repeat;
}
.itunes .ui-btn-active .ui-icon-live {
	background-image: url(images/live-blue.png);
}
.itunes .ui-icon-news {
	background-image: url(images/news.png);
	background-repeat: no-repeat;
}
.itunes .ui-btn-active .ui-icon-news {
	background-image: url(images/news-blue.png);
}
.itunes .ui-icon-about {
	background-image: url(images/about.png);
	background-repeat: no-repeat;
}
.itunes .ui-btn-active .ui-icon-about {
	background-image: url(images/about-blue.png);
}
.itunes .ui-navbar .ui-btn-active {
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4F4F4F), to(#1F1F1F), color-stop(.5,#000000)); 
border-top: 1px solid #666;
}
.itunes .ui-navbar .ui-btn-active .ui-btn-inner {
background-color: #999999; 
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#999999), to(#333333), color-stop(.5,#0F0F0F)) !important; 
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
}

 

Thats it, your web app should now have shiny slick toolbar and tabs thanks to a few css tweeks.

photo1 (1)

For a tutorial on creating a back button similar to that of the iTunes Festival 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