All right, it works very good. But one thing we should improve.
If I go to my index page the list need aprox. 2 seconds to collapse to the normal view:
In my opinion it looks unprofessional this bug...what is the solution? How we can accelerate this progress?
Actually I have been working on a version2 of this mod for awhile but could not get it to work correctly. The other ways were loading from static files which would not work for 4images because each list is different depending on your rights on the categories... what to do...
The problem with this mod is that the list is normal html list that is loaded when the page is first viewed, only after the html page is loaded, then the javascripts kick in by design and change it's looks. cannot not get past that.
then today, after your post, I googled "hide html list till page loads" and could it be this easy? YES IT WAS! my site is using the modified code now if you want to check it out. Your list is much larger then mine if you could test it out.
Will change my original post to include these modifications, the only downside is that the entire list is hidden and it moves what is below it as it loads, can not get around that.
OK,
in your
includes/functions.php file
look for
$category = "<ul id='left_quicklist_nav' class='filetree'>";
replace with
$category = "<ul id='left_quicklist_nav' class='filetree' style='display: none'>";
\\this hides the list when loading the page
in your
your template folder/header.html file
look for
</script>
<!-- END MOD Left Quicklist -->
insert
before onload=function() {
document.getElementById('left_quicklist_nav').style.display ='block';
}
\\this show the list after the page is loaded.
how cool and easy is that fix?
Or you can just replace the code in my original post. Will have it changed in a few minutes...