[eluser]John_Betong_002[/eluser]
'done it and quite chuffed:
comparison of output results
Code:
#=================================================
# Old code repeated a couple of thousand times
# filesize() = 582,317 bytes
#=================================================
<a
href='java-script:void(0);'
onclick="window.open('http://mysite.com/popup/url_001.html', '_blank',
'width=800,height=600,scrollbars=yes,status=no,resizable=yes,screenx=200,screeny=100');"
>
#=================================================
# New code repeated same number of times
# filesize() = 164,680 bytes
#=================================================
<a
href='#' on-click d(table->row->id)"
>
table->row->name
&;gt;/a>
#=================================================
# bytes saved = 417,637 bytes
# reduction = 28.28%
#=================================================
size matters
edit: deliberate misspelling of java-script and on-click and still some of the java stuff has been removed.