Je ne dirai pas beaucoup de bêtises, téléchargez simplement le code clé.
<inclure file = "public: header" /> <style type = "text / css"> Table {width: 100%; margin: 0;} </ style> <script type = 'text / javascript event / * $ (function () {$ ('# More'). addClass ('moreno'); $ ('# More'). Cliquez sur (fonction () {// masquer l'élément (déplacer à gauche) if ($ ('# More'). Hasclass ('Moreno')) ? ider '). animate ({Left: -120}, 1000, function () {$ (' # more '). addClass (' moreno ');});}});}); * /// define Événement de chargement de page $ (function () {$ ('# More'). addClass ('Moreno'); // point $ (document) .click (function () {$ ('# sider'). Animate ({Left: -120}, 1000, function () {$ ('# More'). AddClass ('moreno');});}); $ ('# More'). Click (function (event) {event.stoppropagation (); // hide element ($ ('# More'). Hasclass ('Moreno')) gens ') .animate ({Left: -120}, 1000, function () {$ (' # more '). addClass (' moreno ');});}); </cript> <div> <div> <div> style = "position: absolue;"> <img id = "plus" style = "margin-top: 8px;" src = "/ {: app_path} /public/img/pic/more.png" /> </ div> <div> <img style = "height: 30px;" src = "/ {: app_path} /public/img/main/logo1.png" /> </ div> </div> <div> <div style = "height: 180px;"> <div id = "lunboul" style = "overflow: Hidden;"> <ul style = "margin: 0px;" name = "pic" id = "vo"> <li style = "float: left; text-align: Center;"> <img src = "{$ vo ['pic']}" style = "height: 176px; margin: auto;" 3000, complet: function () {}, touches: true, dots: true, fluid: false}); fonction autoScroll (obj) {$ (obj) .find ("# voo"). Animate ({margintop: "-30px"}, 500, function () {$ (this) .csss ({margintop: "0px"}). Trouver ("li: premier"). APPENDTO (this);})} $ (function () {setInterval ('AutoScroll ("# xst")', 2000);}) </cript> </div> <div> <div id = "xst" style = "float: droite; margin-left: 10px; hauteur: 30px; largeur: 75%; overflow: Hidden;"> <ul id = 'voo' style = "margin-top: 0px;"> <voliste name = 'gonggao' id = "vo"> <li style = "Line-Height: 30px; hauteur: 30px; padding-left: 5px; padding-top: 2px; text-align: gauche;"> <a href = "{: u ('/ index / platdetail', array ('id' => $ vo ['id']))}"> {$ vo ['name']} </a> </li> </volist> </ul> </div> <div style = "float: right; margin: 5px 0;"> Dernier annonce </v> </ div> onClick = "JavaScript: location.href = '/ investisseur / inveshp / biao_type / love'"> <tr> <td> <img src = "/ {: app_path} /public/img/pic/new.png" /> </td> <td> Newbie's's's standard </td> <td> <span> 8-10% </span> <span> Retours annualisés attendus </span> </td> <td> <span> 7 jours </span> </span> <span> Période d'investissement </span> </ td> <td> <img src = "/ {: app_path} /public/img/pic/RightShow.png" /> </ td> </ tr> </ table> <table onclick = "javascript: location.href = '/ investig Série </td> <td> <span> 8-10% </span> <span> Retours annualisés attendus </span> </span> <td> <span> 1 <span> mois </span> </span> <span> Période d'investissement </sparisque </pd> <td> <img src = "/ {: app_path} /public/img/pic/right.png" /> </ td> </ tr> </ table> <table onclick = "javascript: location.href = '/ investig Série </td> <Td> <span> 12-14% </span> <span> Retours annualisés attendus </span> </span> <span> Période d'investissement </span> </sprim> <td> <img/pic/rightshow.p_path} /public/img/pic/rightsh.pandshow " /> </ td> </ tr> </ table> <if condition = "$ globals ['userInfo'] ['org_code'] eq 'fc'"> <table onclick = "javascript: location.href = '/ investig src = "/ {: app_path} /public/img/pic/house.png" /> </td> <td> Real Estate Treasure </td> <td> <span> 8-16% </span> <span> Retours annualisés </span> </pan> <td> <spandé> Période </span> </ td> <td> <img src = "/ {: app_path} /public/img/pic/rightshow.png" /> </ td> </ tr> </ table> </ if> <div onClick = "javascrip src = "/ {: app_path} /public/img/pic/logobean.png" /> </ div> <div id = "sider"> <ul id = "ucond"> <li style = "line-height: 36px"> <a href = "{: u ('index / platinstro')}" style = "couleur: #fff" Annonce </a> </li> <li style = "Line-Height: 36px"> <a href = "{: u ('index / platintro')}" style = "Color: #fff"> Help Center </a> </li> <li style = "line-height: 36px"> <a href = "{: u ('index / platentro')}" ". Introduction de la plate-forme </a> </li> <li style = "Line-Height: 36px"> <a href = "{: u ('index / contact')}" style = "Color: #fff"> Contactez-nous </a> </li> </ul> </div> <inclure file = "public: Footer" />Ce qui précède est l'exemple de code qui vous est présenté par l'éditeur en cliquant sur n'importe quelle position de la page basée sur JavaScript. J'espère que ce sera utile à tout le monde. Si vous avez des questions, veuillez me laisser un message et l'éditeur répondra à tout le monde à temps. Merci beaucoup pour votre soutien au site Web Wulin.com!