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…
Small business guides to SEO, Analytics & Social Media
http://www.simplybusiness.co.uk/microsites/google-analytics-guide/ http://www.simplybusiness.co.uk/microsites/guide-business-blogging/ http://www.simplybusiness.co.uk/microsites/guide-to-social-media-success/
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…
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.
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.
Piped Navigation Bar Links with CSS
Here’s the gas! And use this css: Taken from this page: http://www.dillerdesign.com/css/cookbook/links_pipes_list_elements.html
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
Twitter Bootstrap – Code to switch stationary navbar to fixed – Bootstrap
This has been used in the trial sfor the BlackBocks Nylex website. Originally taken from this pastebin. This is an untried piece of code, but still interesting: Fixed Navigation Bar With Twitter Bootstrap
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…