Jquery-based web Front-end 10 different application previews and source code, and jqueryweb front-end 10

Source: Internet
Author: User

Jquery-based web Front-end 10 different application previews and source code, and jqueryweb front-end 10

1. Web page gray (css + js), compatible with IE7-10, FF, Chrome, Opera

On that day, many media have stopped some entertainment activities, and some websites have dimmed their themes or logos. So how can we make the pictures or text on the webpage gray?

Download demo source code online

2. The webpage side pop-up box created by Javascript

Today, a pop-up box on the side of a webpage is created to create sharing buttons, online customer service, and message boxes. These effects are the same in principle, they can closely follow the browser's top, bottom, left, right four sidebar, the following example provides four styles to show the effect of closely following different sidebar.

Download demo source code online

3. Create a login box with verification, which can be scanned to log on with a mobile phone.

Today, I created a login box with verification, and I can use my mobile phone to scan the QR code and use my mobile phone to log on. This QR code is actually the address of the login page. After mobile phone scanning, I use my mobile phone to access the login page, then log on to the ECS instance by using your mobile phone. Let's take a look at the details below.

Download demo source code online

4. A simple color palette made by HTML5 + Js

Today, I made a color palette using HTML5 and Javascript. The main function is to move the slider to see the color changes, and the rgb value also changes, you can also enter the rgb value to preview the color. The technology used is actually very simple. The slide uses the form in html5. as for the color change, that is, js operations on dom.

Download demo source code online

5. Drag and Drop HTML5 to upload images. You can upload multiple images at the same time.

In HTML5, you can use the method provided in the DataTransfer object to drag files between the browser and other applications. Although versions earlier than HTML4 also support drag-and-drop Data operations, they are only limited to browsers and do not support data outside browsers.

Download demo source code online

6. A Metro style menu made with pure CSS

The menu element is an old tag re-enabled in HTML5. In fact, it exists in HTML2, but it is abolished in HTML4, And it is resumed in html5, new functions are provided. It is often used together with li to define a functional menu. In fact, this small menu made today is mainly used for CSS applications, and can be fully implemented without using ul.

Download demo source code online

7. Implementation of CSS3 multi-background (Multiple backgrounds)

You should be familiar with the background attribute background-image. In CSS2, the attributes related to this attribute are also background-repeat (set whether the background is repeated or not) background-position (set the position of the background image in the container) and background-attachment (set whether the background is scrolled along with the page). These attributes are used to control how the background image is displayed in the container, however, we can only provide one background image for the container. If we want to use multiple images for the background of a container, what should we do? Then add some useless elements to the container?

The birth of CSS3 solves this problem. In CSS3, multiple background images can be set for a container through background-image or background, that is to say, we can put different background images in only one block element.

First, let's look at the Syntax:

Background: [background-image] | [background-origin] | [background-clip] | [background-repeat] | [background-size] | [background-attachment] | [background-position]

Separate URLs of multiple background images with commas (,). If there are multiple background images and only one other attribute (for example, background-repeat) exists ), this attribute value is applied to all background images.

Download demo source code online

8. JQuery-based plug-in for web page snow Effect

In this special day, I wish you a special blessing! May you be happy and happy at night! The snow floated out of the window, and the snow floated out and smiled. Smile cold winter, every day wishing you... "I am still engaged in code at night, even if I am not named. GIF ..., I saw a jquery web page plug-in during my blog today. It feels pretty good. Let's share it with you...

Download demo source code online

9. A navigation bar with a bubble prompt created using the grumble. js plug-in

Grumble. js is a very special bubble shape prompt control. Today I use it to make a navigation bar. When the mouse moves into the menu option, a bubble prompt will appear, and the bubble prompt will disappear when the mouse moves out.

Download demo source code online

10. Javascript achieves typewriter Effect

Javascript achieves the typewriter effect: There are two knowledge points: one is the use of the timer, the other is the use of the string truncation function substring (start, end ).

Download demo source code online


It is better to learn which website jquery and other web Front-ends are on.

Jquery's official website is fine. Learning jquery is mainly used for multiple purposes. First, write it according to the basic example. The best way is to directly look at jquery's source code. After getting familiar with jquery, you can check it out. It is very enlightening.

After two years of web Front-end development, I am engaged in developing web apps for HTML5 and jQuery Mobile apps. It will soon end in my junior year and start school next semester.

I tell you: it may take some money to find a company that is both engaged in app R & D and app training, but you need to be diligent and concentrate on copying the master's experience for a few months, you are experienced.
 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.