Required library edition:
Required library file: dhtmlxfolders.js
Draws pages and put them into the element specified with setPagerContainer. Inside it HTML is created and placed into container. Override this method to have your own style of paging
dhtmlxFolders.prototype.drawPager = function(){ if(this.pagerContainer==null){ return; } this.pagerContainer.style.display = ""; this.pagerContainer.innerHTML=""; this.pagerContainer.obj = this; for(var i=0;i<this.getNumberOfPages();i++){ var ins = ""; if(i+1==this.getCurrentPage()) var className = "dhxfolders_pagingCurrent" else var className = "dhxfolders_pagingInact" var tmpHTML = "<div style='float:left;' class='"+className+"' onclick='this.parentNode.obj.goToPage("+(i+1)+");'>"+(i+1)+"</div>" this.pagerContainer.innerHTML = this.pagerContainer.innerHTML+tmpHTML; } }