ฉันจะไม่พูดเรื่องไร้สาระมากแค่อัปโหลดรหัสคีย์
<รวมไฟล์ = "สาธารณะ: ส่วนหัว"/> <style type = "text/css"> ตาราง {width: 100%; margin: 0;} </style> <script type = 'text/javascript' src = "/{: app_path} /public/js/unslider.min.js" Event/*$ (function () {$ ('#more'). addClass ('moreno'); $ ('#more') คลิก (ฟังก์ชั่น () {// ซ่อนองค์ประกอบ (ย้ายซ้าย) ถ้า ($ ('#more'). hasclass ('moreno')))))))) {$ ('#sider') animate ({left: 0}, 1000, function () {$ ('#more'). RemoveClass ('moreno');});} else {$ ('#s ider '). animate ({ซ้าย: -120}, 1000, function () {$ ('#more '). addClass (' moreno ');});}});});*/// define การโหลดหน้าเหตุการณ์ $ (function () {$ ('#more'). addclass ('moreno'); // point $ (เอกสาร) .Click (ฟังก์ชั่น () {$ ('#sider') animate ({ซ้าย: -120}, 1000, ฟังก์ชัน () {$ ('#more'). addClass ('moreno');});}); $ ('#more') คลิก (ฟังก์ชั่น ($ ('#more'). hasclass ('moreno'))) {$ ('#sider'). animate ({left: 0}, 1000, function () {$ ('#more'). RemoveClass ('moreno');});} else {$ ('#sider ') .animate ({ซ้าย: -120}, 1000, function () {$ ('#more '). addclass (' moreno ');});}); </script> <div> <div> <div style = "ตำแหน่ง: Absolute;"> <img id = "more" style = "margin-top: 8px;" /> </div> </div> <div> <div style = "ความสูง: 180px;"> <div id = "lunboul" style = "overflow: ซ่อน;"> <ul style = "margin: 0px;" id = "lunboul" style: src = "{$ vo ['pic']}" style = "ความสูง: 176px; margin: auto;">/li> </volist> </ul> </div> <script type = "text/javascript"> $ ('#lunbo') autoscroll (obj) {$ (obj) .find ("#voo"). animate ({margintop: "-30px"}, 500, ฟังก์ชั่น () {$ (นี่) .css ({margintop: "0px"}) ค้นหา ("li: ครั้งแรก") setInterval ('autoscroll ("#xst")', 2000); name = 'gonggao' id = "vo"> <li style = "line-height: 30px; ความสูง: 30px; padding-left: 5px; padding-top: 2px; text-allign: left;"> <a href = "{: u ('/index/platdetail', array ('id' => $ vo ['id']))}"> {$ vo ['name']} </a> </li> </olist> </ul> </div> onclick = "JavaScript: location.href = '/Invest/InvestHP/BIAO_TYPE/LOVE'"> <tr> <td> <img src = "/{: app_path} /public/img/pic/new.png"/> </td> <td> <td> ผลตอบแทนประจำปี </span> </td> <td> <pan> 7 วัน </span> </span> <pan> ระยะเวลาการลงทุน </span> </td> <td> <img src = "/{: app_path} /public/img/pic/rightshow.png"/> onclick = "JavaScript: location.href = '/Invest/InvestList/BIAO_TYPE/YXLC'"> <tr> <td> <img src = "/{: app_path} /public/img/pic/fast.png"/> </td> ส่งคืน </span> </td> <td> <span> 1 <pan> เดือน </span> </span> <pan> ระยะเวลาการลงทุน </span> </td> <td> <img src = "/{: app_path} /public/img/pic/rightshow.png"/> onclick = "JavaScript: location.href = '/Invest/InvestList/BIAO_TYPE/GXD'"> <tr> <td> <img src = "/{: app_path} /public/img/pic/stable.png"/> </td> ส่งคืน </span> </td> <td> <span> 3-6 <pan> เดือน </span> </span> <pan> ระยะเวลาการลงทุน </span> </td> <td> <img src = "/{: app_path} /public/img/pic/rightshow.png"/> เงื่อนไข = "$ globals ['userinfo'] ['org_code'] eq 'fc'"> <table onclick = "javascript: location.href = '/invest/investlist/biao_type/fcb'"> <td> <td> /> </td> <td> สมบัติอสังหาริมทรัพย์ </td> <td> <span> 8-16%</span> <span> ผลตอบแทนที่คาดว่า src = "/{: app_path} /public/img/pic/rightshow.png"/> </td> </tr> </table> </if> <div onclick = "javaScript: location.href = '/goods/index'"> <img src = "/{: app_path} /public/img/pic/logobean.png"/> </div> <div id = "sider"> <ul id = "usecond"> <li style = "leight line: 36px"> <a href = "{: u ( การประกาศ </a> </li> <li style = "line-height: 36px"> <a href = "{: u ('ดัชนี/platintro')}" style = "color: #fff"> ศูนย์ช่วยเหลือ </a> </li> <li style = "line-height: 36px"> การแนะนำแพลตฟอร์ม </a> </li> <li style = "line-height: 36px"> <a href = "{: u ('ดัชนี/ติดต่อ')}" style = "color: #fff"> ติดต่อเรา </a> </li> </ul>ด้านบนเป็นรหัสตัวอย่างที่แนะนำโดยตัวแก้ไขให้คุณโดยคลิกที่ตำแหน่งใด ๆ ของหน้าเว็บตาม JavaScript ฉันหวังว่ามันจะเป็นประโยชน์กับทุกคน หากคุณมีคำถามใด ๆ โปรดฝากข้อความถึงฉันและบรรณาธิการจะตอบกลับทุกคนในเวลา ขอบคุณมากสำหรับการสนับสนุนเว็บไซต์ Wulin.com!