Nonsense is not much to say, directly on the key code.
<include file= "Public:header"/> <style type= "text/css" > table{width:100%;margin:0;} </style> < Script type= ' text/javascript ' src= '/{:app_path}/public/js/unslider.min.js ' ></script> <script type= ' Text/javascript >//define Page Load Event/*$ (function () {$ (' #more '). addclass (' Moreno '); $ (' #more '). Click (function () {// Hidden elements (move left) if ($ (' #more '). Hasclass (' Moreno ')) {$ (' #sider '). Animate ({left:0},1000,function () {$ (' #more ').
Removeclass (' Moreno ');
});
}else{$ (' #sider '). Animate ({left:-120},1000,function () {$ (' #more '). addclass (' Moreno ');});}); *//define page Load event $ (function () {$ (' #more '). addclass (' Moreno ');//Click the interface except for the area where the container ID is more, hide $ (document) anywhere. Click (
Function () {$ (' #sider '). Animate ({left:-120},1000,function () {$ (' #more '). addclass (' Moreno ');});}; $ (' #more '). Click (Function (event) {event.stoppropagation ();///Hide Element (move left) event.stoppropagation (); if ($ (' #more ').
Hasclass (' Moreno ')) {$ (' #sider '). Animate ({left:0},1000,function () {$ (' #more '). Removeclass (' Moreno ');});
}else{$ (' #sider '). Animate ({left:-120},1000,function () {$ (' #more '). addclass (' Moreno ');});});
}); </script> <div class= "Header_one" > <div class= "" > <div class= "first_one" style= "position": absolute; " > </div> <div > </div> </div> </ div> <div class= "bg" > <div class= "pic" style= "height:180px;" > <div id= "Lunbo" style= "Overflow:hidden;" > <ul style= "margin:0px" id= "Lunboul" style= "position:relative"; > <volist name= "pic" id= "vo" > <li style= "float:left;text-align:center;" > </li> </volist> </ul> &
lt;/div> <script type= "Text/javascript" > $ (' #lunbo '). Unslider ({speed:0, delay:3000, Complete:function () {}, Keys:true, Dots: True, Fluid:false}); function AutoScroll (obj) {$ (obj). Find (' #voo '). Animate ({margintop: " -30px"},500,function () {$ (this). CSS ({margintop:
"0px"}). Find ("Li:first")-appendto (this);
} $ (function () {setinterval (' AutoScroll (' #xst ') ', 2000); }) </script> </div> <div style= "Width:100%;background-color: #EEEEEE; height:30px;margin:10px 0;" > <div class= "scroll" id= "xst" style= "Float:right;margin-left:10px;height:30px;width:75%;overflow:hidden"; > <ul id= ' voo ' style= ' margin-top:0px; > <volist name= ' Gonggao ' id= "vo" > <li style= "Line-height:30px;height:30px;padding-left:5px;padding-top" : 2px;text-align:left; " > <a href= "{: U ('/index/platdetail ', array (' ID ' => $vo [' ID '])} ' >{$vo [' name ']}</a> </li> </ volist> </ul> </div> <div style= "float:right;margin:5px 0;" > Latest Announcements </div> </div> <table id= "Fone" onclick= "javascript:location.href="/invest/investhp/biao_ Type/love ' "> <tr> <td class="Norrow "></td> <td class=" Secon "> Novice Mark </td
> <td><span class= "blo" >8-10%</span><span class= "Tblo" > expected annual return </span></td> <td><span class= "Blo" >7<span class= "Cao_one" > Day </span></span><span class= "Tblo" > Investment period </span></td> <td class= "Jian_rig" ></td> </tr> </table> <table class=" Bird "onclick=" javascript: location.href= '/invest/investlist/biao_type/yxlc ' "> <tr> <td class=" Norrow "></td> <td class=" Secon "> Fast series </td> <td><span class=" Blo ">8-10%</span><span class=" Tblo "> Expected annual returns </span></td> <td><span class=" Blo " >1<span class= "Cao_one" > Months </span></span><span class= "Tblo" > Investment term </span></td> <td class= "Jian_rig" ></ td> </tr> </table> <table class= "Se_cond" onclick= "javascript:location.href= '/invest/investlist/" Biao_type/gxd ' "> <tr> <td class=" Norrow "> </td> <td class= "Secon" > Stability series </td> <td><span class= "Blo" >12-14%</span><span class= "Tblo" > expected annual return </span></td> <td><span class= "Blo" >3-6<span class= "Cao_one" > Months </span></span><span class= "Tblo" > Investment term </span></td> <td class= "Jian_rig" >< IMG class= "rig_pic" src= "/{:app_path}/public/img/pic/rightshow.png"/></td> </tr> </table> < If condition= "$GLOBALS [' userinfo '] [' org_code '] eq ' fc '" > <table class= "LAST_FCB" onclick= "javascript: location.href= '/INVEST/INVESTLIST/BIAO_TYPE/FCB ' "> <tr> <td class=" Norrow "></td> <td class= "Secon" > Real estate Treasure </td> <td> <span class= "Blo" >8-16%</span><span class= "Tblo" > expected annual return </span></td> <td>< Span class= "Blo" >3-6<span class= "Cao_one" > Months </span></span><span class= "Tblo" > Investment term </ span></td> <td class= "Jian_rig ></td> </tr> </table> </if> <div class=" Bott_ton "onclick=" javascript: location.href= '/goods/index ' "> </div> <div Id= "Sider" > <ul id= "Usecond" > <li style= "line-height:36px" > <a href= "{: U (' Index/platann ')}" style= " Color: #FFF "> Platform Bulletin </a></li> <li style=" line-height:36px "> <a href=" {: U (' Index/helpcenter ')} " style= "COLOR: #FFF" > Help Center </a></li> <li style= "line-height:36px" > <a HREF= "{: U (' Index/platintro ')}" style= "Color: #FFF" > Platform introduction </a></li> <li style= "line-height:36px" > <a href= "{: U (' Index/contact ')}" style= "Color: #FFF" > Contact us </a></li> </ul> </div> </ div> <include file= "Public:footer"/>
The above is a small set for you to introduce the JavaScript based on the implementation of click on the page to return to any of the example code, I hope to help you, if you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!