here's a handy script! call it from an onLoad event in the body tag.
function calculate()
{
if (!document.fileSize)
{
alert('This script does not work in your browser.');
return;
}
var size = (document.fileSize)*1;
var y = document.images;
var imglength = 0;
for (i=0;i<y.length;i++)
{
imglength += (y[i].fileSize)*1;
}
var total = size + imglength;
var writestring = 'File size HTML: ' + size;
writestring += '\nFile size images: ' + imglength;
writestring += '\nTotal file size: ' + total;
alert(writestring);
}
> -----Original Message-----
> From: Allan Cliff [mailto:[EMAIL PROTECTED]
> Sent: 12 June 2003 08:00
> To: CF - List
> Subject: [ cf-dev ] Page Weight
>
>
> Anyone know a website or tool that measures the weight of a
> web page with all the images etc.
>
> Thanks
>
> Allan
>
--
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]