A lightweight jQuery plugin to create 3d flip animation.
The post flip : jQuery 3d flip Animation Plugin appeared first on jQuery Rain.
by Admin via jQuery Rain
"Mr Branding" is a blog based on RSS for everything related to website branding and website design, it collects its posts from many sites in order to facilitate the updating to the latest technology.
To suggest any source, please contact me: Taha.baba@consultant.com
A lightweight jQuery plugin to create 3d flip animation.
The post flip : jQuery 3d flip Animation Plugin appeared first on jQuery Rain.
You’d be hard-pressed to find a manager/entrepreneur, who doesn’t dream of growing his or her business. While growing a business is usually good, unfortunately it’s more than common to see your successful small business go south when you try to grow. There are too many businesses that have shutdown because their managers/owners didn’t understand the […]
Continue reading %3 Risks When Growing Your Business%
React is an open source library for building user interfaces. It lets you create views easily while making sure your UI stays in sync with the underlying data model. This article, targeted towards beginners, covers the basics of React and JSX syntax.
To get started, head over to the official React official website and download the React starter kit. It contains all the files you need to get started.
Once you have download the .zip
, extract it to a location on your machine. You will see a directory named React-<version>
. On my machine the name of the directory is react-0.12.0
. Open it and go to the build
directory. We are going to need the following two files:
JSXTransformer.js
- Lets you create JavaScript objects through simple HTML.react.js
- The core React library.Let's create a file named index.html
inside the directory react-<version>
and add the following snippet:
The above snippet prints Hello, Universe
on the UI. You should note the following points:
Greeting
. In React, you create a component by calling React.createClass()
. Every component has a render()
method which returns markup to render. In the above snippet we simply returned <p>Hello, Universe</p>
, which is then displayed in the view.React.render()
with the component to render as the first argument. The second argument is the HTML element where you would like to render your component. In our case we render our Greeting
component into div#greeting-div
.<Greeting/>
really is? This syntax is known as JSX (JavaScript XML) which lets you build DOM nodes with HTML-like syntax. However, JSX is completely optional and you don't need it in order to use React. But it has a lot of nice features and there is no reason not to take advantage of it.Continue reading %Getting Started with React and JSX%
Using CSS3 properties can give your websites a huge boost in appeal and interactivity. 3D transformations, keyframe animations, background gradients, and columns are great tools, but they require extra work on the developer’s part. Various browsers support them experimentally and require vendor-specific prefixes for these properties. Here’s an example of what I mean:
In order to use this transform
property across modern browsers (that is, anything after IE8), two additional copies of the rule are needed: -webkit-
(for Safari, Mobile Safari, and recent Chrome) and -ms-
(for IE9). Firefox (16+) and Chrome (36+) read the unprefixed property correctly.
A site that uses lots of CSS3 properties therefore needs lots of prefixes. That raises two problems. First, how do you know which prefixes to use? Sometimes you’ll see a site that uses everything (-webkit-
, -o-
, -moz-
, -ms-
, and unprefixed). That’s just bloat. You could look up every property on Can I Use, but that’s time-consuming. The second problem is simply that nobody wants to write all those prefixes.
We need to automate this. Let’s look at some tools that help us automate vendor prefixes.
Continue reading %Write CSS3 without Worrying about Prefixes%
QR codes (or 'Quick Response codes') are one of the most popular types of barcodes in use today, with the ability to encode up to 4296 characters. The QR code has become incredibly popular due to their fast readability and greater storage capacity compared to other types of barcodes.
Typical QR code applications include product tracking, item identification, time tracking, document management, general marketing, URLs and much more. It's also used for the tracking of physical items, such as mail and packages. Barcodes are now commonly used for tickets which are scanned to allow to access to events.
QR codes are widely used on websites where they generally represent the URL of the website. When someone wants to read the content of your web page on their mobile phone, they can scan the QR code and which opens the URL in a browser instead of manually typing a long URL.
There are several types of QR codes, Model 1, Micro, IQR, SQRC and LogoQ. Model 1 is the most common type of QR code type and it's the one we'll be using in our example.
In this tutorial, I'll show you how to create a plugin that adds a QR code to the end of every WordPress post that represents the full URL.
Continue reading %How to Add QR Codes to WordPress Posts%