Mercurial > hg > vamp-website
annotate bits.js @ 128:817c3988afc7 website tip
Add a page about the Vamp Plugin Pack, including links to download mirrors
author | Chris Cannam |
---|---|
date | Tue, 11 Aug 2020 16:41:11 +0100 |
parents | 16bcb88b430a |
children |
rev | line source |
---|---|
Chris@94 | 1 |
Chris@94 | 2 function togglePlugin(id) { |
Chris@94 | 3 var e = document.getElementById('plugs-' + id); |
Chris@94 | 4 var b = document.getElementById('plugs-showhide-' + id); |
Chris@95 | 5 if (window.getComputedStyle(e).display != 'none') { |
Chris@94 | 6 e.style.display = 'none'; |
Chris@94 | 7 b.innerHTML = '▶ More'; |
Chris@94 | 8 } else { |
Chris@94 | 9 e.style.display = 'block'; |
Chris@94 | 10 b.innerHTML = '▼ Less'; |
Chris@94 | 11 } |
Chris@94 | 12 } |
Chris@94 | 13 |