» » page 8

 
Sort articles by: Date | Most Rates | Most Views | Comments | Alphabet

Use PHP generate a unique membership number

Author: bamboo06 on 4-11-2014, 03:55, views: 6064

40 When we want a huge number of data, while the median number have restrictions, such as license plate numbers 5, 10 of a document number, serial number of orders, short URL, etc., we can use the 36-ary calculated not repeat the numbers in line with the median.
Use PHP generate a unique membership number

We will use 0-Z (0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ) to represent the values ​​0-35, such as the letter Z represents 35. So I want to get a five numbers, the greatest amount of information is 36 5 th, and 36 ^ 5 = 60,466,176, which is equivalent to the maximum number of five decimal numbers: 60466176.
In order to do presentations in this article, we assume that a group of 10 paid a club membership number, membership number by three city ID card encoding +2 +5 bit checksum components. City number with area code indicated as 755 representatives of Shenzhen, five card numbers from card number consisting of 36 hexadecimal, followed by two check code is generated by a certain algorithm is able to use the checksum to verify the card number legitimacy. In this case, we generate 10 card number corresponds to the maximum to meet the 60 million membership number, and is not repeated unique card number.

Category: PHP Scripts / Javascript

 

Using jQuery to achieve photo gallery over the information effect

Author: bamboo06 on 4-11-2014, 03:34, views: 4568

0 When you want to display more information in a limited space, we often take the mouse over pop more information layer to improve interaction. In particular, photo wall can be applied in the company, job recruitment website information display, and so the scene.
Using jQuery to achieve photo gallery  over the information effect

In this paper, with examples and share using jQuery to achieve over the picture show information effect. When the mouse slid photo will pop up the corresponding detailed information about the photo, see the demonstration effect.

Category: Javascript / Plugins

 

Create a parallax scrolling effect using Skrollr page

Author: bamboo06 on 3-11-2014, 01:50, views: 4729

4 Parallax scrolling refers to a multi-layer background move at different speeds, the formation of three-dimensional motion effects, bringing excellent visual experience. As users of the increasing demands of visual experience, WEB developers to start adding various special effects elements in web pages to meet the needs of users. Today, this article has given you recommend a good parallax animation javascript library --Skrollr.js
Create a parallax scrolling effect using Skrollr page

Skrollr is a use of HTML5 and CSS3 parallax scrolling lightweight javascript library. It is not dependent on the independent libraries of other frameworks that lets you quickly create a parallax scrolling effect. It allows us to set the CSS property keyframes to any element, then it will automatically form animation. The more important point is that the use of these libraries do not write complex JS code and compatible with mainstream browsers, mobile phones and other mobile terminal adapter and other features.

Category: Javascript / CSS / HTML5 / Plugins

 

Use jQuery and HTML5 to create circular chart

Author: bamboo06 on 3-11-2014, 01:29, views: 6528

28 Today I give you about a circular chart circliful, which is based on the HTML5 Canvas and jQuery, without the use of images for easy circular chart, and there are many property settings, very easy to use.
Use jQuery and HTML5 to create circular chart

Category: Javascript / HTML5

 

Use flexslider to create picture carousel, combining text and graphics slide transition/scrolling effects

Author: bamboo06 on 2-11-2014, 03:28, views: 7417

8 Flexslider is based on a rolling jQuery plugin content. It allows you to easily create content scrolling effect, with a very high customizability. Developers can easily create a variety of images using Flexslider carousel effect, the effect of the focus map, Text and graphics scrolling effect.
Use flexslider to create picture carousel, combining text and graphics slide transition/scrolling effects

Flexslider has the following features.

Category: Javascript / Plugins

 

4 html5/jquery scratch card effect scripts or tutorials

Author: bamboo06 on 31-10-2014, 23:21, views: 13265

16 HTML5 Scratch Card
4 html5/jquery scratch card effect scripts or tutorials

Scratch.js is a standalone library which brings interactivity to your website by allowing you to generate scratch cards for your visitors. Based on HTML5, scratch.js generate canvas on the fly and is optimized for all modern browsers and has touch support for mobile devices. You can use it to make scratch cards, coupons, promotionnal game and even advertisement.

Category: Javascript / HTML5

 

Page redirect/jump method in WEB development

Author: bamboo06 on 31-10-2014, 17:25, views: 3578

9 Page Jump may be due to the user to click a link, button trigger, also may be the system automatically generated. Page automatically jump is often used in WEB development, and according to the demand can be with a jump in different ways, such as the prompt operation information delay jump, this paper summarizes some common page Jump method in WEB development.
Page redirect/jump method in WEB development

PHP header () function jump
PHP header () function is very powerful, which in the URL page Jump also called simple, using header () to jump directly to the specified URL page, then the page Jump is a 302 redirect:

Category: PHP Scripts / Javascript

 

Use JQuery to realize scratch cards with different cursors

Author: bamboo06 on 31-10-2014, 02:44, views: 3986

2 Few days ago, we write two articles about creating scratch cards effect by HTML5 canvas tag. Today we show you another way to make scratch card effect using jquery and wScratchPad.js.
Use JQuery to realize scratch cards with different cursors

Category: Javascript

 

Use HTML5 canvas to creat scratch card effect

Author: bamboo06 on 31-10-2014, 01:39, views: 8887

22 Few days ago, we introduced one method using html5 to realize scratch card effect. Today we will create scratch card effects using HTML5 canvas too.
Use HTML5 canvas to creat scratch card effect

Category: Javascript / HTML5

 

Cross-browser compatible HTML5 video and audio player

Author: bamboo06 on 29-10-2014, 01:48, views: 4261

7 The HTML5 video and audio tags are used to join the video and audio tags in the page, with the support html5 browsers do not need to be pre-loaded Adobe Flash browser plug-in will be able to quickly and easily play video and audio files. And html5media.js can make video and audio tags take effect on the browser does not support html5.
Cross-browser compatible HTML5 video and audio player

Use html5media.js can be viewed on all browsers html5 video and audio files, which make up the lower versions of IE browser does not support the [video] and [audio] tag, you only need to load html5media.js use the [video] and [audio] tag will be able to cross-browser play video and audio.

Category: Javascript / HTML5