JS CSS Web page simple right hover

Source: Internet
Author: User

 <!--Right Effect---

<Script>$ (). Ready (function() { $(". ORM"). Hover (function() { $( This). CSS (" Right", "-2px"); }, function() { $( This). CSS (" Right", "-175px"); });});</Script>  <Divclass= "ORM"style= "position:absolute; z-index:1000; top:160px; right:-175px; Background:url ('./images/fxico.png ');">
  <    spanstyle= "margin-left:80px;">Working with 500 well-known e-commerce companies/span>
</    Div>  <Divclass= "ORM"style= "position:absolute; z-index:1000; top:240px; right:-175px; Background:url ('./images/czico.png ');">
<    spanstyle= "margin-left:80px;">Online recharge with our Hao Cheng assured</span>
</    Div>  <Divclass= "ORM"style= "position:absolute; z-index:1000; top:320px; right:-175px; Background:url ('./images/lxico.png ');">
<    spanstyle= "margin-left:80px;">Provide a more professional booking service</span>
</    Div>  <Divclass= "ORM"style= "position:absolute; z-index:1000; top:400px; right:-175px; Background:url ('./images/tgico.png ');">
<    spanstyle= "margin-left:80px;">Dining Entertainment, leisure hotel various life</span>
</    Div>

JS effect page Fixed

<style> *{margin:0}Body{Height:1000px;width:1000px;}#a{width:300px;Height:100px;background:Red;} </style> <Script> varIsie6=window. XMLHttpRequest?false:true; Window.onload= function(){ vara=document.getElementById ('a'); varD=document.getElementById ('D'); if(isie6) {a.style.position= 'Absolute'; Window.onscroll= function() {d.innerhtml= "'; } }Else{a.style.position= 'fixed'; }
A.style.right= '0'; A.style.bottom= '0';
} </Script> <DivID= ' a '>Test</Div>

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.