Viewing 31 to 40 of 67 items
Archive | Tutorials RSS feed for this section

Take Control of the Box Model with box-sizing

The Traditional Box Model The “traditional” CSS box model, once implemented in Netscape 4 and IE 4-5, counted borders and padding as part of the width and height of a box, which at the time did not match the W3C’s standard. So when browsers started moving closer to standards compliance, it threw a monkey wrench  Full Article…

0

Mobile Navigation Toggle with jQuery

Taken from web designer wall. Here’s the demo. This tutorial shows you how to create a mobile navigation with jQuery as seen on the sites listed above. jQuery will be used to prepend the menu icon and toggle the navigation. This trick doesn’t require any extra/un-semantic HTML tags. HTML Below is the sample navigation HTML  Full Article…

0

Skrollr – Information

Skrollr is a stand-alone parallax scrolling library for mobile (Android + iOS) and desktop. No jQuery. Just plain JavaScript (and some love). https://github.com/Prinzhorn/skrollr The official skrollr demo. A great tutorial, and its demo.

0

Vertically align text in a div

This is loosely taken from this page: Here is the html structure: Here’s the css: Must have a height, be set to be a table and have the vertical-align set.

0

iOS Add to Home Screen prompt for website

See this project: http://cubiq.org/add-to-home-screen ….and it’s GIST: https://github.com/cubiq/add-to-homescreen A good article and piece of code for creating homescreen icons and start up images for iOS: https://gist.github.com/2222823

0

PHP date() Function

Taken from: http://www.w3schools.com/php/func_date_date.asp The date() function formats a local time/date. Syntax date(format,timestamp) The timestamp is optional, format options are listed below: Specifies how to format the result: d – The day of the month (from 01 to 31) D – A textual representation of a day (three letters) j – The day of the month without  Full Article…

0