Blog Archives

Retrieve public page content from Facebook without user login

facebook-api1

Abstract Facebook upgraded it’s API, cause some issue on our social micro page in our company. The public page content can not be retrieved anymore without creating an application, and I have to spend one day to look through the

Tagged with: , ,
Posted in Javascript

Draw Bezier and B-spline curve with HTML5 + Javascript

Draw Bezier and B-spline curve by HTML5 and Javascript

This is a online tool for drawing Bezier and B-spline curve. Main technologies used in this tool are HTML5, Javascript and Paper.js which one is a great framework that runs on top of the HTML5 Canvas.

Tagged with: , , ,
Posted in CG, HTML5, Javascript

How to download the data from EasyUI grid into excel?

Picture

  EasyUI is a good jQuery plugin for web application user interface,  especially for showing data in grid format. Sometime, we need to add a download link under data grid table like above picture, so that user can easily download

Tagged with:
Posted in Javascript

A simple online canvas base on HTML5

html5canvas

  Demo This is not a completed application, still in development. Main technologies are HTML5, Javascript and css. I used local storage technology of HTML5 for online data storage, so it only support modern browser. There are some tools can

Tagged with: , ,
Posted in HTML5

Gallery thumb fan spin effect with CSS and jQuery

Gallery thumb fan spin effect with CSS and jQuery

Use CSS animation and javascript we can create a fancy fan spin effect for showing gallery thumb items.

Tagged with: , ,
Posted in CSS3, Javascript

Some cool css techniques with demo

SwatchBook

SWATCH BOOK WITH CSS3 AND JQUERY A tutorial about how to create a swatch book like component that let’s you open and rotate the single swatches revealing some details. We will be using CSS transforms and transitions and create a

Tagged with: , ,
Posted in CSS3

XOR operator in javascript

logic

How to predicate every character  in a string is number (0-9)? normal way 1: validate by regular express

normal way 2: use parseInt() function

normal way 3: use isNaN() function

There are some other method also can

Tagged with:
Posted in Javascript

How to make jQuery validation engine works well for select2()

How to make jQuery validation engine works well for select2()

When we use select2 to prettify selector element , the jQuery validation engine will do not work well for it. A lot of people have to do custom validation function to hand over it.

It’s very troublesome, is there any way to solve this problem?

Tagged with: , ,
Posted in Javascript

Featured projects base on three.js

carvisualizer

Never Seen The Sky URL: http://christmasexperiments.com/23/ It’s a very nice project based on three.js, the polar lights pulse by following music rhythm, and the camera fly over the earth surface in different angle of view. The broad starlit sky and mountain looks  very beautiful with

Tagged with: , ,
Posted in HTML5, Javascript

Begin the Solar System project based on WebGL with three.js

earh-moon

Three.js is a great library, there are a lot of excellent examples in its site. I decide to begin learning this library and created a simple earth-moon system, I want to improve it into bigger and bigger, finally, hope it become a whole Solar System.

Tagged with: , ,
Posted in HTML5, Javascript