Exemplos são os seguintes:
<incluir file = "public: cabeçalho"/> <style type = "text/css"> tabela {width: 100%; margin: 0;} </style> <script type = 'text/javascript' src = "/{: app_path} /public/jsslider.min.js"> </script> Event/*$ (function () {$ ('#mais'). addclass ('moreno'); $ ('#mais'). clique (function () {// ocultar elemento (mover para a esquerda) se ($ ('#mais'). hasclass ('moreno')) {($ sider). $ ('More'). Removeclass ('moreno'); */// Defina o evento de carregamento da página $ (function () {$ ('#mais'). Addclass ('moreno'); // ocultar o elemento (mais para a esquerda) event.stoppropagation (); if ($ ('#mais'). Hasclass ('mais') {$ ('mais'). }); $ ('#mais'). Clique em (function (event) {event.stopPropagation (); // ocultar o elemento (mais à esquerda) event.stopPropagation (); if ($ ('#mais'). $ ('mais'). Removeclass ('moreno'); }); </script> <div> <div> <div> <div style = "position: absoluto;"> <img id = "mais" style = "margin-top: 8px;" src = "/{: app_path} /public/img/pic/more.png"/> </div> <div> <img style = "altura: 30px;" src = "/{: App_Path} /public/img/main/logo1.png"/> </div> </div> </div> <div> <div style = "altura: 180px;"> <div id = "lunbo" style = "Overflow: Hidden;"> <ul Style = "margin: 0px; id = "lunboul" style = "position: relativo;"> <volista name = "pic" id = "vo"> <li style = "float: esquerda; text-align: Center;"> <img src = "{$ vo ['pic']}" style = "altura: 176px; margin: auto;" > </li> </olist> </ul> </div> <script type = "text/javascript"> $ ('#lunbo'). Unslider ({speed: 0, atraso: 3000, complete: function () {}, chaves: true, Dots: true, fluid: false}); função function automatia (obj) {$ (obj) .find ("#voo"). Animate ({margintop: "-30px"}, 500, function () {$ (this) .css ({margintop: "0px"}). ("li: primeiro"). setInterval ('AUTOSCROLL ("#XST")', 2000); id = "vo"> <li style = "linha-altura: 30px; altura: 30px; preenchimento-esquerda: 5px; tapd-top: 2px; text-align: left;"> <a href = "{: u ('/index/platdetail', Array ('id' => ° Vo ['Último]))}} </volist> </ul> </div> <div style = "float: à direita; margem: 5px 0;"> anúncio mais recente </div> </div> <tabela id = "fone" onclick = "javascript: location.href = '/invest/investhp/biao_type/love'"> <tr> <t> <t> src = "/{: App_path} /public/img/pic/new.png"/> </td> <td> padrão do novato </td> <td> </span> 8-10%</pan> </span> </span> <rpa> <rpa> <span> Retornos anunciados esperados </span> </span> <tpan> </span> <pan> <td> <img src = "/{: App_Path} /public/img/pic/rightshow.png"/> </td> </tr> </table> <table onclick = "javascript: location.href = '/investimento/investimento/biao_type/yxlc'> src="/{:APP_PATH}/Public/img/pic/fast.png" /></td> <td>Fast Series</td> <td><span>8-10%</span><span>Expected annualized returns</span></td> <td><span>1<span>month</span></span><span>Investment period</span></td> <Td> <img src = "/{: App_Path} /public/img/pic/rightshow.png"/> </td> </tr> </table> <tabela onclick = "javascript: location.href = '/investimento/investlist/biao_type/gxd"> src = "/{: app_path} /public/img/pic/stable.png"/> </td> <td> Série estável </td> <td> </span> 12-14%</span> </span> span> Mês <td> <img src = "/{: app_path} /public/img/pic/rightshow.png"/> </td> </tr> </ tabela> <se condicionado = "$ globals ['userinfo'] ['org_code'] eq 'fc'"> <tabela OnClick = "Javascript: Location.href = '/Invest/Investlist/biao_type/fcb'"> <tr> <td> <img src = "/{: App_path} /public/img/pic/house.png"/</td> <t> Real Estate Threves Renda anualizada </span> </td> <td> <pan> 3-6 <span> mês </span> </span> <span> Período de investimento </span> </td> <td> <img src = "/{: App_path} /public/img/icshow.png"/</td> OnClick = "Javascript: Location.href = '/bens/index'"> <img src = "/{: App_path} /public/img/pic/logobean.png"/> </div> <div Id = "Sider"> <ul id = "usecond"> <i estilo = "lineft: href = "{: u ('index/platann')}" style = "color: #fff"> anúncio da plataforma </a> </li> <li style = "line-height: 36px"> <a href = "{: u ('index/helpCenter')}" style = "color: #ffffftffffffffffff </aa> href = "{: u ('index/platintro')}" style = "cor: #fff"> plataforma introdução </a> </li> <li style = "line-height: 36px"> <a href = "{: u ('index/platintro')}" = "color: #fff"> href = "{: u ('index/contact')}" style = "cor: #fff"> entre em contato </a> </li> </ul> </div> </div> <incluir file = "public: rodapé"/>O artigo acima é o método de ocultar divs em qualquer local na página de cliques. É todo o conteúdo que compartilho com você. Espero que você possa lhe dar uma referência e espero que você possa apoiar mais o wulin.com.