JS special effect code-calendar Generator

webpage effects | Linkweb.cn/Js | --- calendar builder Step 2: Add the following code to the area: January February March limit L May June July August September October November December 1998 1999 2000 200

Simulate a scroll bar

webpage effect | www.wangqi.com | --- simulate a scroll bar ddd d / p> dd d d

Set the default homepage

special web page effects -- set the default homepage set this site as the homepage

Jquery Selection Sub-control "greater than" and "" differences and use examples

Parent> child Overview Match All child elements under a given parent ElementParameters ParentSelector any valid SelectorChildSelector is used to match the selector of an element, and it is a child element of the first selector.Example

Garbled Get and post when js calls AJAX

When "get" is used, the captured page is appended with the encoding typeThe Code is as follows: jsp Tutorial: response. expires =-9999 response. addheader "pragma", "no-cache" response. addheader "cache-ctrol", "no-cache" response. addheader

Js mouse followed by code click

cute mouse follow

Equivalent native Function Code of jQuery Functions

We have tested the performance of common jQuery methods and their equivalent native methods (1, 2, 3 ).I know what you're thinking. The native method is obviously faster than the jQuery method, because the jQuery method must handle browser

Text overflow is used to add the overflow part to a newly generated div.

text is automatically inserted into different div-Jason Yu

Several important attributes in JavaScript

ThisThis indicates the current object. If this is used globally, it indicates the current page Object window. If this is used in the function, this indicates what is called Based on the object on which the function is called at runtime. We can also

Iframe sub-parent page call

1. The iframe subpage calls the js function of the parent page. To call the function of the parent page on a child page, you only need to write window. praent. For example, if the () function is called, it is written: Window. parent. (); Take the

Js innerHTML changes div content

JavaScript innerHTML I never know what you can change, an HTML element? Maybe you want to replace the text section to reflect what the visitor selected just from the drop-down box. By manipulating the innerHtml of an element, you can change your

JavaScript checks whether the browser supports the SVG Method

Determine whether the browser supports SVG code (part of the code is taken from the Highcharts source code ): Js Code: Function hasSVG (){ SVG_NS = 'HTTP: // www.w3.org/2000/svg ', Return !! Doc. createElementNS && !! Doc. createElementNS

Add dynamic loading effect for the article title Link

  Many of my friends may find that moving and clicking titles in my blog have some dynamic effects. For the effect of right shifting, please move to the article "share the title link of this site smooth right shifting effect" written last time.

Use jquery to verify bank card number information

$ ("# BankAccountNumber"). change (function (){Alert ("1 ");Var account = $ ("channelForm. bankAccount. account"). val ();Alert ("2 ");Var reg =/^ d {19} $/g; // starts with a 19-digit number and ends with a 19-digit numberIf (! Reg. test (account ))

JavaScript to get/change the value of the text box

Although and are different elements, they all support the same features to obtain the text contained in the text box. Consider the following example: Retrieying a Textbox Value Example This example shows two text boxes, one is a single row,

Jquery achieves proportional scaling of images

Proportional scaling of images implemented using native JavaScript. max-width and max-height are incompatible in ie6. These problems are implemented using jQuery today.JQuery codePart of the css code:Html code:

Javascript and html determine the browser type

Javascript judges navigator. userAgent. indexOf ("iPhone ")Determine IE type in HTML1. All except IE can be recognized 2. all IE identifiable 3. only IE5.0 can recognize 4. only IE5.0 and IE5.5 can be recognized 5. both IE5.0 and IE5.0 can be

How to traverse HashMap in java

  I. HashMap staff = new HashMap (); Add a keyword value pair and write the traversal by yourself Set entries = staff. entrySet (); Iterator iter = entries. iterator (); While (iter. hasNext ()) { Map. Entry entry = (Map. Entry) iter. next

You need to learn JavaScript

If you want to learn a language now, you should learn JavaScript. Why? I think every Web developer should learn JavaScript. Many new technologies currently support this idea. The only reason for this is that it is too popular. You can use JavaScript

Javascript countdown jump page instance

In js, we need to use the setInterval or setTimeOut Function to implement regular page Jump. Of course, we can also use metea on the page. I will introduce two instances below. Example 1 Countdown refresh page The Code is as follows: 10 minutes

Total Pages: 5378 1 .... 4135 4136 4137 4138 4139 .... 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.