반응형
반응형

 

60+ Responsive Web Design Tutorial Roundup – Spoil Your Mobile visitors!

by Lars on February 19, 2013

responsive-web-design-tutorial

Time to learn responsive web design and development techniques? In this huge collection, I am sure you will find the responsive web design tutorial you need to get started!

With more than 1 billion mobile Internet users, the demand for building professional and user-friendly mobile websites is exploding right now. Up to date statistics show that close to 12% of internet users are browsing from mobile devices and the number is constantly growing. This leaves us with no doubt about investing time and money into spoiling mobile visitors on our website.

Many web designers use responsive frameworks as the foundation in their web project to leverage the many hours of work, experience and maturity experts put into many of them. It is also a popular trend to take offset in a responsive website HTML5 template or a WordPress theme with a build in responsive layout.

Ethan Marcotte started the responsive web design trend back in May 2010. He wrote an article about the need for a more flexible approach to web design, “Responsive Web Design,” for A List Apart. Today most new websites are responsive somehow, but the responsive behavior vary a lot. Some websites and templates have several designs that are perfectly adapted to specific view port sizes, while many still only have one layout for pc screens and one for small mobile devices. The effort required to do it right should not be underestimated. Checking a few well-written responsive web design tutorials is a good start to learn and find inspiration.

Please take time to leave a comment and share this resource with co-workers that you think need to learn about responsive web design.

 

Responsive Column Layouts – MORE INFO

responsive-column-design

In this tutorial you will learn a very simple CSS trick to create a responsive column layout using nth-of-type pseudo class.

Responsive Web Design using CSS3 - MORE INFO

resposive-web-design-tutorial-1

This responsive web design tutorial explain you how to use CSS 3 @media property (known as media queries) and working with Internet Explorer using Modernizr.

CSS Only Responsive Layout With Smooth Transitions – MORE INFO

css-responsive

A tutorial on how to create a 100% width and height smooth scrolling layout with CSS only.

Responsive Design With CSS3 Media Queries – MORE INFO

css3-with-media-design-queries

This responsive web design tutorial will show you how to create a cross-browser responsive design with HTML5 & CSS3 media queries.

Responsive Pricing Tables Using :target for Small Screens – MORE INFO

responsive-target

In this tutorial you will learn how to make a fluid pricing table, then alter the way it’s displayed at different viewport sizes using media queries.

Creating a CSS3 Responsive Menu – MORE INFO

creating-css3-responsive-menu

This tutorial aims to provide step by step instructions to enable you to create a responsive navigation menu that adapts to varying screen sizes, with the help of CSS media queries.

Create a Responsive Web Design Template – MORE INFO

create-reponsive-web-design-template

In this tutorial, you will learn how to make a (very simple looking) web template that is responsive from desktop size down to mobile version.

Responsive Design in 3 Steps – MORE INFO

responsive-design-in-3-steps

In this tutorial you will learn how to do the basic logic of responsive design and media queries in 3 steps (assuming you have the basic CSS knowledge)

Responsive Data Tables – MORE INFO

responsive-data-tables

This tutorial will show you how to create and format a responsive data table.

Turn Any Site Into a Responsive Site – MORE INFO

turn-responsive

This tutorial will teach you some techniques on how to take your current site and turn it into a mobile friendly one, with little effort.

Typography Responsive Web Design – MORE INFO

typography-responsive-web-design

This tutorial will be discussing typography vis a vis responsive web design. Our focus will be on typography strictly in relation to responsive web design only.

Responsive Menu Concepts – MORE INFO

responsive-menu-concepts

This tutorial will teach you four concepts on how to handle navigation menus for small screens.

CSS Effect: Space Image Out to Match Text Height – MORE INFO

spacing-out

This responsive website tutorial will teach you how to properly space out images to match text height.

Scalable Navigation Patterns in Responsive Web Design – MORE INFO

scalable-navigation-patterns-responsive

This tutorial focuses on how to deal with deep navigation in the landscape of a templated environment.

Building a Responsive Layout with Skeleton: jQuery Plugins – MORE INFO

building-layout

In this tutorial you will learn various jQuery plugins to utitlize in order to pull Twitter and Flickr feeds to a page, plus a responsive slider plugin for our features area at the top.

Responsive Resume – MORE INFO

reponsive-resume

This tutorial will teach you how to create a mobile responsive resume to attract new projects.

Techniques for Gracefully Degrading Media Queries – MORE INFO

broken-media

This tutorial will teach you how to implement CSS Media Queries for mobile web.

CSS Elastic Videos – MORE INFO

css-elastic-videos

In this responsive web design tutorial, you will learn how to make embedded videos elastic (responsive) to browsers.

Build a Responsive Filterable Portfolio with CSS3 Twists – MORE INFO

responsive-portfolio

This tutorial will teach you how to inherent visual appeals of filterable portfolios using straight-forward markup, CSS3 and a little bit of jQuery.

How to Build a Responsive Thumbnail Gallery – MORE INFO

responsive-thumbnail-gallery

In this tutorial you will learn how to build a responsive thumbnail gallery.

Responsive Content Navigator With CSS3 – MORE INFO

responsive-content-navigator

This tutorial will show you how to create a content navigator with CSS only.

Responsive Coming Soon HTML5 Page Tutorial – MORE INFO

responsive-html-5

In this tutorial we’ll create a coming soon template, 100% responsive, that will help you keep your users informed while you are building a new website.

Convert Menu to Dropdown – MORE INFO

convert-menu-to-dropdown

This tutorial will teach you how to convert your regular row of links into a drop down menu.

Build Responsive Site Week Designing Responsively Part 1 – MORE INFO

build-responsive-in-a-week

This tutorial will teach you the basics of creating a responsive website for mobile devices.

Create a Responsive Web Design with Media Queries – MORE INFO

responsive-web-design

In this tutorial how to convert a previous WordPress theme design into a responsive layout, while taking into consideration the design’s original grid structure.

Beginner’s Guide to Responsive Web Design – MORE INFO

beginners-responsive

This tutorial is intended both for beginners and advanced web designers in creating mobile responsive websites.

Designing for a Responsive Web – MORE INFO

designing-responsive-web

In this tutorial, you will learn the do’s and don’ts of designing websites for mobile responsiveness.

CSS Responsive Navigation Menu – MORE INFO

css-responsive-navigation

This tutorial will teach you how make a responsive toggle on hover menu which is more user friendly.

Build a Responsive, Mobile-Friendly Web Page With Skeleton – MORE INFO

built-with-skeleton

In this tutorial you will learn how to use a boilerplate called Skeleton to take the headaches out of designing and building a responsive web page.

How to Use CSS3 Orientation Media Queries – MORE INFO

css3-orientation

This tutorial will focus on the orientation of media queries and also demonstrate on how to use it.

Adaptive Layout Media Queries – MORE INFO

adaptive-layout

This tutorial will teach you how to create a beautiful website employing adaptive layouts and optimized for the latest mobile devices.

Responsive Images Experimenting with Context Aware Image Sizing – MORE INFO

responsive-images

This tutorial will teach you how to deliver optimized, contextual image sizes for responsive layouts that utilize dramatically different image sizes at different resolutions.

Responsive Web Design: A Visual Guide – MORE INFO

responsive-design-visual

This tutorial shows how to build a mobile responsive site thru a video presentation. It covers all the basic things needed to get you started.

Elements of Responsive Web Design – MORE INFO

elements-design

In this tutorial, an in depth discussion of the elements of web design is presented.

Responsive Web Nav – MORE INFO

response-nav

This tutorial walk you through on how to build a simple navigation from the ground using the CSS3 media queries and jQuery to display it in a small screen size like the smartphones properly.

User Opt-out Responsive Web Design – MORE INFO

user-opt-out-responsive-design

Responsive Design – MORE INFO

responsive-design

This tutorial is going to walk you through how to create an adaptive web experience that’s designed mobile-first

How to Use CSS3 Media Queries to Create a Mobile Version of Your Website – MORE INFO

mobile-version

In this tutorial, you will learn how to convert an existing website into a mobile responsive website.

Handling Typography Responsive Design – MORE INFO

typography-responsive

This tutorial covers how to effectively format font types to be responsive as well.

The Sparkbox Responsive Design Process – MORE INFO

sparkbox

A graphic tutorial about responsive web design process.

Big Menus, Small Screens: Responsive, Multi Level Navigation – MORE INFO

big-menu-small-screen

In this responsive website tutorial to responsive navigation, you will learn how to use an approach that can accommodate large, multi-level navigation menus using media queries and jQuery, whilst trying to keep markup simple and external resources minimal.

Responsive Horizontal Layout – MORE INFO

responsive-layout

This tutorial will show you how to create a horizontal layout with several content panels.

Responsive Web Design – MORE INFO

responsive-web

This responsive web design tutorial aims to show how to create a responsive design of a web page adaptable to different screen resolutions, and providing a concrete example.

Optimizing your emails for mobile devices With the @media query – MORE INFO

mobile-devices

A quick tutorial on how to properly handle emails using the @media query.

Fluidgrids – MORE INFO

fluidgrids

This tutorial pretty much discusses how to make grids fluid and resize according to the browser’s window.

Responsive Design – MORE INFO

bootstrap

This tutorial is about how to apply responsive design feature into your web layout.

Creating Responsive Stylish with CSS3 and HTML5 – MORE INFO

responsive-form

This tutorial provides a basic introduction on how to make responsive sites using HTML5 and CSS3.

5 Useful CSS Tricks for responsive Design – MORE INFO

useful-css

A tutorial of 5 most commonly used CSS tricks along with sample cases for coding responsive designs. They are simple CSS properties such as min-width, max-width, overflow, and relative value — but these properties play an important part in responsive design.

Responsive Web Design – MORE INFO

responsive-web-design

Working with Fluid Images in Dreamweaver CS6 – MORE INFO

dreamweaver-cs6

In this tutorial, you will see how to manage fluid images integrated within the website using Dreamweaver CS6.

반응형
반응형

Technical Reference – Intel® HTML5 App Porter Tool - BETA


Introduction

The Intel® HTML5 App Porter Tool - BETA is an application that helps mobile application developers to port native iOS* code into HTML5, by automatically translating portions of the original code into HTML5. This tool is not a complete solution to automatically port 100% of iOS* applications, but instead it speeds up the porting process by translating as much code and artifacts as possible.

It helps in the translation of the following artifacts:

  • Objective-C* (and a subset of C) source code into JavaScript
  • iOS* API types and calls into JavaScript/HTML5 objects and calls
  • Layouts of views inside Xcode* Interface Builder (XIB) files into HTML + CSS files
  • Xcode* project files into Microsoft* Visual Studio* 2012 projects

This document provides a high-level explanation about how the tool works and some details about supported features. This overview will help you determine how to process the different parts of your project and take the best advantage from the current capabilities.

How does it work?

The Intel® HTML5 App Porter Tool - BETA is essentially a source-to-source translator that can handle a number of conversions from Objective-C* into JavaScript/HTML5 including the translation of APIs calls. A number of open source projects are used as foundation for the conversion including a modified version of Clang front-end, LayerD framework and jQuery Mobile* for widgets rendering in the translated source code.

Translation of Objective-C* into JavaScript

At a high level, the transformation pipeline looks like this:

This pipeline follows the following stages:

  • Parsing of Objective-C* files into an intermediate AST (Abstract Syntax Tree).
  • Mapping of supported iOS* API calls into equivalent JavaScript calls.
  • Generation of placeholder definitions for unsupported API calls.
  • Final generation of JavaScript and HTML5 files.

About coverage of API mappings

Mapping APIs from iOS* SDK into JavaScript is a task that involves a good deal of effort. The iOS* APIs have thousands of methods and hundreds of types. Fortunately, a rather small amount of those APIs are in fact heavily used by most applications. The graph below conceptually shows how many APIs need to be mapped in order to have certain level of translation for API calls .

Currently, the Intel® HTML5 App Porter Tool - BETA supports the most used types and methods from:

  • UIKit framework
  • Foundation framework

Additionally, it supports a few classes of other frameworks such as CoreGraphics. For further information on supported APIs refer to the list of supported APIs.

반응형
반응형

Backgrid.js – A set of core Backbone UI elements

http://codevisually.com/backgrid-js/


Dated Added → Feb 16, 2013Categories → Framework

Backgrid.js is a set of components for building semantic and easily stylable data grid widgets. It offers a simple, intuitive programming interface that makes easy things easy, but hard things possible when dealing with tabular data.
The goal of Backgrid.js is to produce a set of core Backbone UI elements that offer you all the basic displaying, sorting and editing functionalities you'd expect, and to create an elegant API that makes extending Backgrid.js with extra functionalities easy.
Backgrid.js - A set of core Backbone UI elements


반응형
반응형

jquery와 angulars 같이 사용하기.

requireJS로 시작했다가 무거운거 같아서 그냥 같이 쓰는걸로 해봤다.

문법적인 문제는 발견되지 않았다. 너무 간단한 테스트라서 그럴지도.

 

AS-IS

 : index.html에 require.js와 main.js, angular.js, controllers.js 등을 녹여넣었다.

* index.html

<!doctype html>
<html lang="en" ng-app>
    <head>
        <title>jQuery+RequireJS Sample Page</title>
        <!-- This is a special version of jQuery with RequireJS built-in -->
        <script data-main="scripts/main" src="scripts/require-jquery.js"></script>
               </script>
    </head>
    <body ng-controller="PhoneListCtrl" >
        <h1>jQuery+RequireJS Sample Page</h1>
        <p>Look at source or inspect the DOM to see how it works.</p>
       
       
       
        <div id="mydiv">aaa</div>
        <p>Total number of phones: {{phones.length}} </p>
        <p>Angulars Templates - http://docs.angularjs.org/tutorial/step_02</p>

 <p>Nothing here {{'yet' + '!'}}</p>
 
 <p>1 + 2 = {{ 1 + 2 }}</p>
 
 <p class="hello">{{hello}}______</p>
    </body>
</html> 

* main.js - require.js에서 사용함. 

 require(["jquery"], function($) {
  $("#mydiv").html("Hello this is RequireJS talking");
});


require(["jquery", "jquery.alpha", "jquery.beta"], function($) {
    //the jquery.alpha.js and jquery.beta.js plugins have been loaded.
    $(function() {
        $('body').alpha().beta();
    });
});

// angular.JS, controllers.js 를 LOAD.
require(["angular"], function($) {

});
require(["controllers"], function($) {

});

* controllers.js - angular.js에서 사용 

 function PhoneListCtrl($scope) {
  $scope.phones = [
    {"name": "Nexus S",
     "snippet": "Fast just got faster with Nexus S.",
     "age": 0},
    {"name": "Motorola XOOM™ with Wi-Fi",
     "snippet": "The Next, Next Generation tablet.",
     "age": 1},
    {"name": "MOTOROLA XOOM™",
     "snippet": "The Next, Next Generation tablet.",
     "age": 2}
  ];
 
  $scope.orderProp = "age";  
  $scope.hello = "Hello, world!"; 
}

 

TO-BE

* index.html 에 다 순차적으로 호출하였다.(require.js 사용안함) 

 <!doctype html>
<html lang="en" ng-app>
    <head>
        <title>jQuery+RequireJS Sample Page</title>
        <!-- This is a special version of jQuery with RequireJS built-in -->
        <script src="scripts/angular.js" ></script>
      <script src="scripts/controllers.js"></script>
      <script src="scripts/jquery-1.5.2.min.js"></script>
      <script src="scripts/jquery.alpha.js" ></script>
      <script src="scripts/jquery.beta.js" ></script>
        <script>        
         $(document).ready(function(){
             $("#mydiv").html("Hello this is RequireJS talking");
             $('body').alpha().beta();
         });
   
        </script>
    </head>
    <body ng-controller="PhoneListCtrl" >
        <h1>jQuery+RequireJS Sample Page</h1>
        <p>Look at source or inspect the DOM to see how it works.</p>
       
       
       
        <div id="mydiv">aaa</div>
        <p>Total number of phones: {{phones.length}} </p>
        <p>Angulars Templates - http://docs.angularjs.org/tutorial/step_02</p>

 <p>Nothing here {{'yet' + '!'}}</p>
 
 <p>1 + 2 = {{ 1 + 2 }}</p>
 
 <p class="hello">{{hello}}______</p>
    </body>
</html>

 

 

 

 

 

 

반응형
반응형

 

RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node. Using a modular script loader like RequireJS will improve the speed and quality of your code.

 

http://requirejs.org/

 

 

프로젝트에 require.js와 main.js 파일이 필요하다.

아래에서 main.js를 호출하는 구문이다.

<script src="require.js" data-main="main"></script>

main.js( data-main="main" )에 로드할 JSLibrary와 해당 JSLabrary의 구문을 입력하면 된다.

아래에는 "jquery.js" 가 있어야 실행이 된다.

require(["jquery"], function($) {
  $(‘#mydiv”).html(‘Hello this is RequireJS talking”);
});

 

** Optimize your JavaScript with RequireJS

http://www.webdesignerdepot.com/2013/02/optimize-your-javascript-with-requirejs/

 

 

IE 6+ .......... compatible ✔
Firefox 2+ ..... compatible ✔
Safari 3.2+ .... compatible ✔
Chrome 3+ ...... compatible ✔
Opera 10+ ...... compatible ✔

Get started then check out the API.

 

require.js 2.1.4MinifiedWith Comments

All you need to start using require.js in the browser.

Sample RequireJS 2.1.4 + jQuery 1.9.1 projectDownload

A zip file containing a sample project that uses jQuery and RequireJS.

r.js: Optimizer and Node and Rhino adapterDownload

The r.js file allows you to run the optimizer as well as run modules in Node or Rhino.

If you are running in Node, and want to use npm to install this file via npm, see the Use with Node page for more information.

For information on its use, as well as how to get the JAR files to run it under Rhino, see the r.js README.

Plugins§ 2

These are useful loader plugins that have the same license terms as require.js itself. Download the plugin file and place it as a sibling to your "data-main" main.js script.

textDownload

Load text files and treat them as dependencies. Great for loading templates. The text strings can be inlined in an optimized build when the optimizer is used.

domReadyDownload

Wait for the DOM is ready. Useful for pausing execution of top level application logic until the DOM is ready for querying/modification.

cs (CoffeeScript)Download

Load files written in CoffeeScript. With this plugin, it is easy to code in CoffeeScript in the browser, it can participate in the optimizer optimizations, and it works in Node and Rhino via the RequireJS adapter. This is the best way to do cross-environment, modular CoffeeScript. The project home has more information on how to install and use it.

i18nDownload

Load string bundles used in internationalization (i18n) that are made up of separate country/language/locale-specific bundles.

반응형
반응형

Modularized JavaScript with JBoss Portal Platform 6 – Avoid Conflicts, Promote Re-usability

http://howtojboss.com/2013/02/05/modularized-javascript-with-jboss-portal-platform-6-avoid-conflicts-promote-re-usability/

 

JBoss Portal Platform 6

JBoss Portal Platform 6 Beta is now available.
http://www.redhat.com/promo/jpp6/

Many new features are documented there:

  • Built on blazingly fast, lightweight JBoss Enterprise Application Platform 6 technology
  • Develop with JSF2 and Rich Faces 4 in portlets, via Portlet Bridge
  • Implement single sign-on (SSO) using SAML 2.0
  • Launch fast with Maven quick starts

Portlet and JavaScript

However, to developers and architects, one of the first issues and most difficult issue we face in any portal implementation is – what are the best practices to use JavaScripts in a portal platform?

Imagine if you have 2 portlets both using a shared JavaScript, such as jQuery – how would you share the JavaScript between the 2 portlets?

  • Each Portlet include its own
    • This is largely a no-no.  If each portlet include its own jQuery in a <script> tag, they’ll most likely run into conflicts or unnecessarily reload a script already loaded.
  • Deploy a single version
    • Then what if you need multiple versions?
    • What if some portlets needs a different version of the JavaScript library?

Now, expand this dilemma to not just common JavaScripts libraries, but to all of your application’s JavaScripts!

Oh, and don’t forget, you may also want to minify and combine scripts to reduce latency, to be Content Delivery Network (CDN) friendly, and ultimately, to improve your customer’s browsing  experience.

반응형

+ Recent posts