rejetto forum

Author Topic: The Throwback (retro) template. With large folder and mobile support.  (Read 153120 times)

Offline dj

  • Tireless poster
  • ****
  • Posts: 291
  • 👣 🐾
    • View Profile
    • PWAs
Re: file delete feature, and Throwback9
« on: July 12, 2018, 01:23:55 PM »
Remove the link from the span and add ;cursor:pointer to the style.

You can even hide the X (remove the textContent from the span):

Code: [Select]
<script>if('{.get|can delete.}') document.querySelectorAll('.del').forEach(function(userItem) {userItem.textContent=' \u2718'; userItem.addEventListener('click',function(){del(this.getAttribute("data-it"))})})</script>
Place the script before the first </body> tag


[upload]
remove frm.upbtn.disabled=true; and add  multiple to the input tag
« Last Edit: July 12, 2018, 05:21:15 PM by dj »

Follow members gave a thank to your post:


Thank-o-Matic 3.0 By Adk Team