JavaScript Tips (first episode)

Source: Internet
Author: User
Javascript| Tips The first episode how to control a Web page with a mouse

The JavaScript feature that you'll first show in this section is to move your mouse to this different color link, and look at the results of the Status column in the browser, and then we can combine the functionality with JavaScript. How do you do that? The following is the approach of this link:
Here you can achieve the effect you want by adding OnMouseOver method to the traditional

In the syntax, you can see that the message part is surrounded by the ' enclosed part, not the '. After the end of the message section, it must be added; return true. Well, using the above features can be very simple to complete the second link example, fairly simple. With onmouseover method, and then to match the event to call the function hello () on the line, no more explanation.

Practice is as follows

Related Article

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.