lib/l5m-tools/template/ttv2.jsp in l5m-tools-0.0.8 vs lib/l5m-tools/template/ttv2.jsp in l5m-tools-0.0.9

- old
+ new

@@ -358,9 +358,33 @@ incSelectedSet = "${paraBean.selectedDisplayBy}" incSingleSelected = "${paraBean.selectedSortBy}" /> </aa:zone> + <script type="text/javascript"> + <!-- + function loadjscssfile(filename,filetype){ + + if (filetype=="js"){ //if filename is a external JavaScript file + if($$('script[src="'+filename+'"]').length >= 1) return; + var fileref=document.createElement('script') + fileref.setAttribute("type","text/javascript") + fileref.setAttribute("src", filename) + } + else if (filetype=="css"){ //if filename is an external CSS file + if($$('link[href="'+filename+'"]').length >= 1) return; + var fileref=document.createElement("link") + fileref.setAttribute("rel", "stylesheet") + fileref.setAttribute("type", "text/css") + fileref.setAttribute("href", filename) + } + if (typeof fileref!="undefined"){ + document.getElementsByTagName("head")[0].appendChild(fileref) + } + } + //--> + </script> + <div id="topPanel" style="display:${paraBean.selectionPanelStatusOpen?'inline':'none'}" > <!--source panel begin--> <div id="accordionNavigationTab"> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr>