"JQuery" mouse touch button after changing picture

Source: Internet
Author: User

1 <%@ Pagelanguage= "Java"Import= "java.util.*"pageencoding= "UTF-8"%>2 <%@ taglibprefix= "C"URI= "Http://java.sun.com/jsp/jstl/core" %>3 <%4 StringPath= Request.getcontextpath ();5 String BasePath= Request.getscheme () + "://" +request.getservername () + ":" +request.getserverport () +path+ "/";6 %>7 8 <!DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en">9 <HTML>Ten   <Head> One     <Basehref= "<%=basePath%>"> A      -     <title>My JSP ' jsp2.jsp ' starting page</title> -      the     <Metahttp-equiv= "Pragma"content= "No-cache"> -     <Metahttp-equiv= "Cache-control"content= "No-cache"> -     <Metahttp-equiv= "Expires"content= "0">     -     <Metahttp-equiv= "keywords"content= "Keyword1,keyword2,keyword3"> +     <Metahttp-equiv= "description"content= "This is my page"> -     <!-- + <link rel= "stylesheet" type= "Text/css " href= "Styles.css" > A      - at <Scripttype= "Text/javascript"src= "<c:url value= '/jquery-1.5.1.js '/>"></Script><!--tags, import the c tag library - - <Scripttype= "Text/javascript"> - $ (function () { - $ ("#d1"). Hover ( - function () {//mouse enters element - $ ("#d1"). Text ("1"); in             }, - function () {//mouse left element to $ ("#d1"). Text ("2"); +             } -         )     the     }); *  $ </Script>Panax Notoginseng <styletype= "Text/css"> - . xxx{ the border:1px solid red; + width:100px; A height:100px; the } + </style> -   </Head> $    $   <Body> -This is my JSP page.<BR> -     <DivID= "D1"class= "XXX">Nihao</Div> the   </Body> - </HTML>

"JQuery" mouse touch button after changing picture

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.