Smoother opening and closing
Posted: Wed Jul 07, 2021 6:13 pm
SellerDeck now loads jQuery and we can use this to give a smooth animation to the menu's opening and closing.
Edit file collapso=-5.js (in your Site folder - I use notepad++ - back it up first).
Look for the line:
Replace it with:
Look for the line:
Replace it with:
The 200 is the number of milliseconds for the animation to complete. Change if required.
Edit file collapso=-5.js (in your Site folder - I use notepad++ - back it up first).
Look for the line:
Code: Select all
document.getElementById(levellist[level]).className = 'hOb';
Code: Select all
$( '#' + levellist[level] ).hide(200);
Code: Select all
document.getElementById(subid).className = 'sOb';
Code: Select all
$( '#' + subid ).show(200).addClass('sOb');