Quantcast
Channel: ilike2Flash
Browsing latest articles
Browse All 37 View Live

Image may be NSFW.
Clik here to view.

SwipeJS example

I needed a quick and simple touch page slider for a project and decided to use to the SwipeJS library. This library is compatible with all browsers from IE 7+ and supports the usual left/right touch......

View Article



Image may be NSFW.
Clik here to view.

Simon Says game in EaselJS

I have ported over one of my older post, the Simon Says game in Actionscript 3 to EaselJS. The code can be seen below and an example can been seen here. <!DOCTYPE html> <html> ... Copyright...

View Article

Image may be NSFW.
Clik here to view.

2D CSS3 Transitions and Transforms

I have written a few examples of 2D CSS3 transitions and transforms for future reference. I will firstly cover single transitions and transforms on a single element. Then move onto multiple......

View Article

Image may be NSFW.
Clik here to view.

3D CSS3 transitions and transforms

These are 3D examples of CSS3 transitions and transforms continuing on from the last post with 2D examples. I have again used the template HTML structure with inline style. This time I have included......

View Article

Image may be NSFW.
Clik here to view.

Preload images with Javascript

It is useful to preload large or multiple images to avoid long waiting times. I have used the Javascript plugin called 'imagesLoaded' which can trigger an event when all images have been loaded.......

View Article


Image may be NSFW.
Clik here to view.

HTML templating with Handlebars js

I was working on a small HTML project where small amount of data needed to be updated frequently. The updates could have been updated manually, but this was too much hassle as the updates were so......

View Article

Image may be NSFW.
Clik here to view.

Display location weather in Javascript

This is an example of a HTML/JS app to display the weather based on the current location using the public API from openweather.org. If the user denies permission to share the location, a dialog......

View Article

Image may be NSFW.
Clik here to view.

Sync browser and devices

I found a really good open source tool called Browser sync that syncs multiple browsers and devices at the same time. This means if you make a change in the HTML/CSS/JS all the browsers and devices......

View Article


Image may be NSFW.
Clik here to view.

Draggable container in EaselJS

I needed to create a dragging container in EaselJS whereby all objects in the container are moved by the mouse. I found a solution online and it suggested creating a rectangle shape the size of the......

View Article


Image may be NSFW.
Clik here to view.

Portrait or landscape screen in Android

The screen orientation of an Android application can be locked to portrait or landscape mode. It is relatively easy to set the screen orientation by using the screenOrientation property in the......

View Article

Image may be NSFW.
Clik here to view.

Start a new Activity in Android

I will be showing how to start a new activity in Android with Android studio. Firstly, this post assumes Android studio is already installed on your machine and a new project has already been setup......

View Article

Image may be NSFW.
Clik here to view.

Pass data between activities in Android

Continuing on from using Intents to Start a new Activity in Android from my last post I will be passing data between activities using Intent. I will be passing string data with Intents however a......

View Article

Image may be NSFW.
Clik here to view.

Fast Android Studio emulator

The Android studio default emulator can run sluggish at times and can often take up to five minutes to start depending on the power of your machine. Due to the long waiting times I found a quick......

View Article


Image may be NSFW.
Clik here to view.

Gulp image resize for multiple images

I was looking for a way to automate multiple image resizing and found a Gulp plugin called Gulp-image-resize. This plugin uses the GraphicsMagick and ImageMagicks image processing system for the......

View Article

Image may be NSFW.
Clik here to view.

HTML5 image place holders

Occasionally I use place holder images for web projects when an image asset has not been created or signed off yet. Often this would entail locating a random image online or even creating a...

View Article


Image may be NSFW.
Clik here to view.

Youtube player HTML5 wrapper

To make the Youtube Player API easier to use, Ginpei, has created an excellent Youtube Javascript wrapper called html5-youtube.js. With this plugin, Youtube players can be embedded into your HTML......

View Article

Image may be NSFW.
Clik here to view.

Git delete remote branches

Often when a feature branch has been merged and deployed, the branch will still exist on the remote server until it has been removed. To remove all remote branches from a git server than no longer......

View Article


Image may be NSFW.
Clik here to view.

Remove Node Modules from Git repo

On the rare occasion that anyone accidentally pushes the ‘Node_Modules’ folder into their Git repository. This snippet of code will remove and push the ‘Node_Modules’ folder back to your repository....

View Article

Image may be NSFW.
Clik here to view.

Speed up Brackets editor

When I am working on large projects I often find that Brackets becomes increasingly slow as the number of files increases. For example in your project you may have a node_modules and vendors...

View Article

Image may be NSFW.
Clik here to view.

Git multi-line commit message

It is possible to write multi-line commit messages instead of one single line message. In the terminal you would type the following command. git commit -m "this> is a multi-line> commit......

View Article

Image may be NSFW.
Clik here to view.

ReactJS simple example

The best way to learn a new Javascript library is to write a simple bare-bones example. In this post I have a written a simple ReactJS example that displays the classic ‘Hello World’ message. ......

View Article


Image may be NSFW.
Clik here to view.

JSX Gotchas

When working with JSX and React there are a few things to be aware. This list will avoid any headaches when trying to debug your application or website. 1. ClassName In JSX any html tags with......

View Article


Image may be NSFW.
Clik here to view.

Setup Gulp with Browserify

After reading many long-winded posts online about setting up Gulp with Browserify. I have decided to write a basic no-frills example to setup Gulp with Browserify in only two steps. Before we begin...

View Article

Image may be NSFW.
Clik here to view.

Loading external data in ReactJS

A quick example of how to load an external JSON file in React. This post assumes you have ReactJS already set up. I will be using Axios to load the external data, but you can use any library you......

View Article

Image may be NSFW.
Clik here to view.

Drop down menu with ReactJS

I will be showing three code examples of drop down menus with ReactJS. The first example will be pure static content. The drop down menu items will be loaded and rendered at run time. I have used......

View Article

Browsing latest articles
Browse All 37 View Live




Latest Images