الأمثلة على النحو التالي:
<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 event/*$ (function () {$ ('#more'). addClass ('moreno') ؛ $ ('#more'). انقر فوق (function () {// إخفاء العنصر (تحرك يسارًا) إذا ($ (#more '). hasclass (' moreno ')) {$ ('#sider '). $ (#more '). removeclass (' moreno ') ؛ */// تحديد حدث تحميل الصفحة $ (function () {$ ('#more'). addClass ('moreno') ؛ // إخفاء العنصر (المزيد إلى اليسار) Event.StopPropagation () ؛ if ($ ('#more') }) ؛ $ ('#more'). انقر فوق (function (event) {event.stoppropagation () ؛ // إخفاء العنصر (المزيد إلى اليسار) event.stoppropagation () ؛ if ($ ('#more'). hasclass ('moreno')) {$ (#sider '). $ (#more '). removeclass (' moreno ') ؛ }) ؛ </script> <viv> <viv> <viv> <div style = "الموضع: absolute ؛"> <img id = "more" style = "margin-top: 8px ؛" src = "/{: app_path} /public/img/pic/more.png"/> </viv> <viv> <img style = "height: 30px ؛" src = "/{: app_path} /public/img/main/logo1.png"/> </viv> </viv> </viv> <viv> <div style = "الارتفاع: 180px ؛ id = "lunboul" style = "الموضع: النسبية ؛"> <volist name = "pic" id = "vo"> <li style = "float: left ؛ text-align: center ؛"> <img src = "{$ vo ['pic']}" style = height: 176px ؛ margin: auto ؛ " > </li> </volist> </ul> </viv> <script type = "text/javaScript"> $ ('#lunbo'). unslider ({السرعة: 0 ، التأخير: 3000 ، كاملة: function () {} ، المفاتيح: صواب ، نقاط: fluid: falsa}) ؛ الوظيفة autoscroll (obj) {$ (obj) .find ("#voo"). animate ({margintop: "-30px"} ، 500 ، function () {$ (this) .css ({margintop: "0px"}). find ("li: first"). setInterval ('autoscroll ("#xst")' ، 2000) ؛ name = 'gonggao' id = "vo"> <li style = "line-height: 30px ؛ الارتفاع: 30px ؛ padding-left: 5px ؛ padding-top: 2px ؛ text-align: left ؛"> <a href = "{: u ('/index/platdetail' ، Array ('id' => $ vo ['id'])}"> {$ vo ['name']} </a> </li> </list> </ul> </ul> </div> <div style = "float: right ؛ الهامش: 5px 0 ؛"> onClick = "javaScript: location.href = '/invest/investhp/biao_type/love'"> <tr> <td> <img src = "/{: app_path} /public/img/pic/new.png"/> </td> العائدات </span> </td> <td> <span> 7 <span> اليوم </span> </span> <span> فترة الاستثمار </span> </td> <td> <img src = "/{: app_path} /public/img/pic/rightshow.png"/> </td> onClick = "javaScript: location.href = '/invest/investment/biao_type/yxlc'"> <tr> <td> <img src = "/{: app_path} /public/img/pic/fast.png"/> </td> series fast </td> العائدات </span> </td> <td> <span> 1 <span> الشهر </span> </span> <span> فترة الاستثمار </span> </td> <td> <img src = "/{: app_path} /public/img/pic/rightshow.png"/> </td> </tr> onClick = "javaScript: location.href = '/invest/investment/biao_type/gxd'"> <tr> <td> <img src = "/{: app_path} /public/img/pic/stable.png"/> العائدات </span> </td> <td> <span> 3-6 <span> الشهر </span> </span> <span> فترة الاستثمار </span> </td> <td> <img src = "/{: app_path} /public/img/pic/rightshow.png"/>/td> الشرط = "$ globals ['userInfo'] ['org_code'] <td> الكنز العقاري </td> <td> <span> 8-16 ٪ </span> <span> الدخل السنوي المتوقع </span> </td> <td> <span> 3-6 <span> الشهر </span> </span> فترة الاستثمار </span> </td> <td> <img src = "/{: app_path} /public/img/pic/rightshow.png"/> </td> </tr> </table> </fire> <div onClick = "javaScript: location.href = '/good/index' <div id = "sider"> <ul id = "usecond"> <li style = "line-height: 36px"> <a href = "{: u ('index/platann')}" style = "color: #fff"> إعلان النظام الأساسي </a> </li> <li style = line-hiigh: style = "color: #fff"> مركز المساعدة </a> </li> <li style = "line-height: 36px"> <a href = "{: u ('index/platintro')}" style = "color: #fff" href = "{: u ('index/platintro')}}" style = "color: #fff"> مقدمة النظام الأساسي </a> </li> <li style = "line-height: 36px"> <a href = "{: u ('index/contact') style =" color: #fff " file = "public: footer" />المقالة أعلاه هي طريقة إخفاء divs في أي مكان على صفحة النقر. إنه كل المحتوى الذي أشاركه معك. آمل أن تتمكن من إعطائك مرجعًا وآمل أن تتمكن من دعم wulin.com أكثر.