Vai al contenuto

We hide everything under the button

Featured Replies

Inviato

57b2b9e74ff97_Dwm2016-08-1609-52-30-21_1_1..gif.47fb9fa03a44238d1e1114d39b7f5921.gif.1f66e52bdf49905ead2a527517f04d79.gif

1. Add the following code to the globalTemplate immediately after the <head> tag:

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
      <style type="text/css">
 .spoiler_body {display:none; cursor:pointer;}
</style>
<script type="text/javascript">
$(document).ready(function(){
 $('.spoiler_links').click(function(){
  $(this).parent().children('div.spoiler_body').toggle('normal');
  return false;
 });
});
</script>

2. Go to the postContainer template

After the line

{{if $comment->author()->member_id}}

add

<div>
         <a href="" class="spoiler_links ipsButton ipsButton_light ipsButton_verySmall ipsButton_narrow">Information</a>
         <div class="spoiler_body">

Before the lines

{{endif}}
   </ul>
</aside>

add

</div>
  </div>

 

Per favore accedi per lasciare un commento

Potrai lasciare un commento dopo aver effettuato l'accesso

Accedi Ora

Chi sta navigando 0

  • Nessun utente registrato visualizza questa pagina.

Informazioni importanti

Abbiamo inserito dei cookies nel tuo dispositivo per aiutarti a migliorare la tua esperienza su questo sito. Puoi modificare le impostazioni dei cookie, altrimenti puoi accettarli cliccando su continua. to insert a cookie message.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.