Js simple web page clock

untitled document www.2cto.com From the column of youngerhao

Js achieves floating ad Effect

From the column of youngerhao

Event bubbling and event capture in js

1. IE only bubbles, W3c first captures and then bubblesIn view of my understanding of the difficult process of event bubbling and capturing (after reading several blog posts, I guess this problem is not very difficult ~ Later I found that it is not.

JQuery prevents page bounce

Sometimes we need to prevent the page with the backspace key from moving back. Generally, it is best not to use this function because it is not good for UX. Below are the Js snippets tested in IE9 and Firebox 10.0.2:$ (Document). keydown (function

DOM case ----- multiattachment upload

use the DOM method to upload multiple attachments to the client From the column by Liu haicao

DOM case --- classic imitation 163 homepage scaling Advertisement

ad shrinking effect on the 163 homepage webpage advertisement Webpage advertisement Webpage advertisement Webpage advertisement Webpage advertisement Webpage advertisement Webpage advertisement Webpage advertisement Webpage advertisement Webpage

Simple Jquery Mask Layer

Css code # Brg{Width: 100%;Height: 100%;Background: #333;Position: absolute;Top: 0;Left: 0;Filter: alpha (opacity = 60 );-Moz-opacity: 0.6;Opacity: 0.6;Position: absolute;Top: 0;Left: 0;Display: none;}# Showdiv{Width: 100%;Height: auto;Position:

Use javascript and Ajax to write provincial/municipal connections respectively

First, use javascript to write provincial/municipal connections:1. Use arrays to optimize provincial/municipal connections-Based on Indexes0102 03 0405312. Use arrays to optimize provincial/municipal connections-based on values0102 03 04053101020304

Prototype usage in js

Prototype is a method introduced in IE 4 and later versions for a certain type of objects, and it is particularly convenient: it is a method for adding methods to class objects! This may sound a little messy. Don't worry. I will explain this special

Five methods for calling functions using JavaScript

Again and again, I found that Javascript code with bugs is caused by failing to really understand how Javascript Functions work (by the way, I wrote a lot of such code ). javaScript has the feature of functional programming. When we choose to face

Introduction to Jquery 1

For web developement, I want to explain my understanding and summary of Jquery knowledge. I hope to help you and welcome comments.Introduction: jquery was created by John Resig, an American. jquery's purpose is: writer less. do more can learn more

Operations on tables in javascript: Create a table to delete rows Delete columns swap row Columns

Insert title here Number of rows created: Number of columns created: Row to be deleted: Column to be deleted: The row to be swapped: , Columns to be exchanged: ,  From Dai junjian's column

Jquery fades in and out images

Excellent jquery instance Performance fade in and out of images   From xweina's column

Select a panel using tabs in jquery plug-in ui

tab table   tab 1 tab 2 tab 3 tab 4 News: Tang Miao killed Bai Gujing Entertainment News: Zhang Jie's IT news: Apple argues Lele  From xweina's column 

Jquery requests ie cache, data not updated

When I did not refresh the ajax page, I encountered Ajax cache in IE, because I didn't know this bad problem at the beginning. I had to wait for a long time and finally solved the problem. To sum up the solution:When Ajax is used in IE to request a

JavaScript advanced events, registration events, and a large number of examples (8)

I am going to work with you to learn how to handle events and events. This article is still widely used and I hope you will like it.1. Move the mouse over the element and display the tooltip.I. Basic events in level 0 DOM1. events as Html attributes

Javascript scaling Nav

When learning javascript, I made a javascript Application: Scaling navigation.Key knowledge points: Get the elements of the trigger event handle, such as . When an onclick event is triggered, obtain the elements of the event, the 'target' attribute

Details about this in js

This is a keyword in Javascript. It indicates an internal object automatically generated during function running and can only be used within the function. For example, Function test (){ This. x = 1; } The value of this varies with the function usage.

Three message boxes are created in JavaScript: Warning box, confirmation box, and prompt box.

warning box[Html]1. 2. 3. 9. 10. 11.12. 13.14. 15.    confirmation box[Html]1. 2. 3. 17. 18. 19.20. 21.22. 23.      [Html]1. 2. 3. 13. 14. 15.16. 17.18. 19.    From sunset hut

Native javascript learning: move the mouse in and out to change the style

This is a simple example. first look at the demo:Http://cssplusplus.com/demo/js/1_5_mouse_move_change_style0.htmlThe source code is as follows:01 02 03 04 0809 20 21 22 23 move the mouse to change the style, move the mouse to restore.24 25 26 Modify

Total Pages: 5378 1 .... 5351 5352 5353 5354 5355 .... 5378 Go to: GO

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.