Forum > LCL
[SOLVED] Loading the file when starting the application
(1/1)
Pe3s:
Hello forum users, I have a question, is there a way to improve the efficiency of the loaded file when starting the application?
KodeZwerg:
Hard to say... line 27 looking strange and also line 88 could be improved.
I show you ...
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} --- and
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---
cdbc:
@KodeZwerg: I quite enjoyed that one :D ;) :P
Regards Benny
jamie:
maybe the DEBUG info is attached to the file?
Try building the app using an external debug file.
Pe3s:
Thank you for your feedback.
Regards, have a nice day :)
Navigation
[0] Message Index