» » page 7

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

Use jQuery + PHP + Mysql to achieve lottery program

Author: bamboo06 on 8-11-2014, 03:41, views: 5619

6 Lottery program widely used in real life, due to the different application scenarios draw the way they are varied. This article will use examples to explain how to use jQuery + PHP + Mysql achieve a similar TV with a simple common lottery program.
Use jQuery + PHP + Mysql to achieve lottery program

In this case the lottery program to achieve massive phone numbers from a random sample of a number as the winning numbers, lottery multiple times, was drawn numbers will not be drawn again. Lottery process: Click the "Start" button, the program get number information, scroll the display number, click on the "Stop" button, the number stops rolling, then the number is the winning number is displayed, you can click the "Start" button to continue the draw.

Category: PHP Scripts / Javascript

 

jQuery + PHP dice Sweepstakes

Author: bamboo06 on 8-11-2014, 02:46, views: 2846

3 In this paper, Monopoly game as the background, the integrated use of jQuery and PHP knowledge, designed to throw the dice points to achieve the effect of the draw, of course, lottery probability is controllable, developers can use this example to some modifications to the site the raffle scene.
jQuery + PHP dice Sweepstakes

HTML
First, we need to prepare two dice and prizes clips. We will write the html page in the following html structure of the code, .wrap used to place the dice and message, # prize is used to place the prize.

Category: PHP Scripts / Javascript

 

Use dice to play guessing the size game (which can control probability)

Author: bamboo06 on 8-11-2014, 02:07, views: 2531

25 In this paper, we explain with examples of how to implement a dice to guess the size of the games. On stage we give you all about jQuery dice animation, this issue on the basis of the previous period, related to HTML, CSS, jQuery and PHP knowledge, the article focuses on the background PHP program will calculate the probabilities based on the size selected by the user, control the final throw points out, in this case a 20% chance to guess the user.
Use dice to play guessing the size game (which can control probability)

Category: Javascript

 

jQuery dice animation

Author: bamboo06 on 8-11-2014, 01:52, views: 11100

25 We must have played dice game, and today I have to share is how to use jQuery to animate dice through the jQuery animate () function in conjunction with custom animation CSS background images switchover animation behind helloweba will have articles published on dice lottery program.
jQuery dice animation

The principle: When the dice thrown by the jQuery animate () function to change the dice displacement, intermediate added delay effect, and transform boson background, the final animation when you run into randomly generated points to stop and throw the show points. In fact, the process of adding a number of different animated picture frames (with flash animation movie frame), the more the better frames, frame by frame and then run after the formation of the animation.

Category: Javascript

 

Create bottom right corner of suspended ad by jQuery

Author: bamboo06 on 4-11-2014, 04:55, views: 1435

6 Lower right corner of the suspension advertising is a common web advertising presentation, but also interfere with the user's browser is suspected but the site is very popular with webmasters earnings welcome. Today I have to share a web page using jQuery to achieve the lower right corner advertising instance. Its advantage is slowly rising from the bottom right corner, showing a certain time automatically disappear, and you can change the website message prompt window.
Create bottom right corner of suspended ad by jQuery

Category: Javascript / Plugins

 

Use PHP generate a unique membership number

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

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: 4092

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: 3179

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: 3966

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: 4381

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